deborphan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
deborphan: command not found
or when using sudo you get the following error message
sudo: deborphan: command not found
Solutions to deborphan: command not found
How To Fix deborphan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu deborphan is provided by deborphan package.
deborphan is:
deborphan finds “orphaned” packages on your system. It determines which packages have no other packages depending on their installation and shows you a list of these packages. It is most useful when finding libraries, but it can be used on packages in all sections.
To fix this problem, we can install more using the command below.
sudo apt-get -y install deborphan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install deborphan.
sudo apt -y install deborphan
Or if you have aptitude installed you can use the following command.
sudo aptitude install deborphan
Summary
In this tutorial we learn how to fix deborphan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.