extrepo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
extrepo: command not found
or when using sudo you get the following error message
sudo: extrepo: command not found
Solutions to extrepo: command not found
How To Fix extrepo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu extrepo is provided by extrepo package.
extrepo is:
External repositories are additional software package repositories that are not maintained by Debian. Before extrepo, maintainers of such repositories would suggest that you download and execute an (unsigned) shell script as root, or that you download and install their (unsigned) package, which is not ideal for security.
The extrepo package tries to remedy this, by providing a curated list of external repositories that can be enabled by a simple command, allowing unsigned scripts to be replaced by a simple “extrepo enable example.com_repo”.
Note, however, that while the repositories are curated, and that any repositories with malicious content will be removed and/or disabled when detected, no warranty is made by the Debian project as to the security or quality of the software in these third-party repositories.
To fix this problem, we can install more using the command below.
sudo apt-get -y install extrepo
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install extrepo.
sudo apt -y install extrepo
Or if you have aptitude installed you can use the following command.
sudo aptitude install extrepo
Summary
In this tutorial we learn how to fix extrepo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.