ngetty-argv command not found

In this troubleshooting guide we learn how to fix ngetty-argv command not found error message

Introduction

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

ngetty-argv: command not found

or when using sudo you get the following error message

sudo: ngetty-argv: command not found

Solutions to ngetty-argv: command not found

How To Fix ngetty-argv: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ngetty-argv is provided by ngetty package.

ngetty is:

Ngetty is a daemon that starts login sessions on virtual console terminals, on demand. It is a good replacement for all those getty processes started from init that, most of the time, are only taking up memory. Since it is compiled statically with dietlibc, the ngetty binary size is only about 2k and uses considerably less memory than a usual getty implementations.

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

sudo apt-get -y install ngetty

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

You can also use apt command to install ngetty.

sudo apt -y install ngetty

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

sudo aptitude install ngetty

Summary

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