termrec command not found

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

Introduction

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

termrec: command not found

or when using sudo you get the following error message

sudo: termrec: command not found

Solutions to termrec: command not found

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

In Ubuntu termrec 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 termrec command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.