ttyplay command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ttyplay: command not found
or when using sudo you get the following error message
sudo: ttyplay: command not found
Solutions to ttyplay: command not found
How To Fix ttyplay: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ttyplay is provided by ttyrec package.
ttyrec is:
This package includes “ttyrec”, a tty recorder which records terminal interaction, and “ttyplay”, the player to see that intereaction.
Ttyrec records your terminal input and output, like the “script” command, but additionally records timing information to allow playback at the original speed. It can record any console program, including screen-oriented programs such as those using curses.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ttyrec
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ttyrec.
sudo apt -y install ttyrec
Or if you have aptitude installed you can use the following command.
sudo aptitude install ttyrec
Summary
In this tutorial we learn how to fix ttyplay command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.