autolog command not found

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

Introduction

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

autolog: command not found

or when using sudo you get the following error message

sudo: autolog: command not found

Solutions to autolog: command not found

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

In Ubuntu autolog is provided by autolog package.

autolog is:

The program reads the utmp file, entry by entry. The username for each ‘user process’ is compared to the entries in the configuration file. The first entry to match both the name, the group, and the tty line of the process will be used to conduct the automatic logout.

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

sudo apt-get -y install autolog

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

You can also use apt command to install autolog.

sudo apt -y install autolog

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

sudo aptitude install autolog

Summary

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