autorevision command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
autorevision: command not found
or when using sudo you get the following error message
sudo: autorevision: command not found
Solutions to autorevision: command not found
How To Fix autorevision: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu autorevision is provided by autorevision package.
autorevision is:
Extracts metadata about the current revision from your repository. This program is meant to be used by project build systems to extract properties that can be used in software version strings. Repository types supported include git, hg, bzr, and svn. It can create files containing variable and macro definitions suitable for a variety of programming languages and other info formats. Emitted information includes the ID of the most recent commit, its branch, its date, and several other useful pieces of meta-information. There is support for reading and writing a cache file so autorevision will remain useful during a build from an unpacked distribution tarball.
To fix this problem, we can install more using the command below.
sudo apt-get -y install autorevision
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install autorevision.
sudo apt -y install autorevision
Or if you have aptitude installed you can use the following command.
sudo aptitude install autorevision
Summary
In this tutorial we learn how to fix autorevision command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.