termplay command not found

In this troubleshooting guide we learn how to fix termplay command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

termplay: command not found

or when using sudo you get the following error message

sudo: termplay: command not found

Solutions to termplay: command not found

How To Fix termplay: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu termplay is provided by termrec package.

termrec is:

This package contains “termrec”, a program which can record a terminal session and “termplay” to play it back. They can handle both line-based programs and full-screen things that use curses or curses-like methods. Unlike “ttyrec” or “asciinema”, termrec can go back, use .gz/.bz2/.xz/.zst transparently, and read/write/convert several formats.

To fix this problem, we can install more using the command below.

sudo apt-get -y install termrec

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install termrec.

sudo apt -y install termrec

Or if you have aptitude installed you can use the following command.

sudo aptitude install termrec

Summary

In this tutorial we learn how to fix termplay command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.