fgetty command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fgetty: command not found
or when using sudo you get the following error message
sudo: fgetty: command not found
Solutions to fgetty: command not found
How To Fix fgetty: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fgetty is provided by fgetty package.
fgetty is:
fgetty is a small, efficient, console-only getty for Linux. It is derived from mingetty but hacked until it would link against diet libc to produce the smallest memory footprint possible for a simple yet complete getty.
fgetty includes a login program that supports the checkpassword authentication interface, and also a checkpassword program that uses the standard C library interface to passwd and shadow.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fgetty
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fgetty.
sudo apt -y install fgetty
Or if you have aptitude installed you can use the following command.
sudo aptitude install fgetty
Summary
In this tutorial we learn how to fix fgetty command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.