comptty command not found

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

Introduction

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

comptty: command not found

or when using sudo you get the following error message

sudo: comptty: command not found

Solutions to comptty: command not found

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

In Ubuntu comptty is provided by comptty package.

comptty is:

Comptty is used to compare two RTTY streams. It’s comparison function uses a linear-programming technique. It computes total number of errors, the character error rate (CER) and the bit error rate (BER). Special attention is given to SHIFT and UNSHIFT to account for an error occurring in that character.

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

sudo apt-get -y install comptty

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

You can also use apt command to install comptty.

sudo apt -y install comptty

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

sudo aptitude install comptty

Summary

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