How To Install debian-goodies on Debian 9
Introduction
In this tutorial we learn how to install debian-goodies
on Debian 9.
What is debian-goodies
debian-goodies is:
These programs are designed to integrate with standard shell tools, extending them to operate on the Debian packaging system.
dgrep - Search all files in specified packages for a regex dglob - Generate a list of package names which match a pattern
These are also included, because they are useful and don’t justify their own packages:
debget - Fetch a .deb for a package in APT’s database dpigs - Show which installed packages occupy the most space debman - Easily view man pages from a binary .deb without extracting debmany - Select manpages of installed or uninstalled packages checkrestart - Help to find and restart processes which are using old versions of upgraded files (such as libraries) popbugs - Display a customized release-critical bug list based on packages you use (using popularity-contest data) which-pkg-broke - find which package might have broken another check-enhancements - find packages which enhance installed packages
There are three methods to install debian-goodies
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install debian-goodies Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install debian-goodies
using apt-get
by running the following command:
sudo apt-get -y install debian-goodies
Install debian-goodies Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install debian-goodies
using apt
by running the following command:
sudo apt -y install debian-goodies
Install debian-goodies Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install debian-goodies
using aptitude
by running the following command:
sudo aptitude -y install debian-goodies
How To Uninstall debian-goodies on Debian 9
To uninstall only the debian-goodies
package we can use the following command:
sudo apt-get remove debian-goodies
Uninstall debian-goodies And Its Dependencies
To uninstall debian-goodies
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove debian-goodies
Remove debian-goodies Configurations and Data
To remove debian-goodies
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge debian-goodies
Remove debian-goodies configuration, data, and all of its dependencies
We can use the following command to remove debian-goodies
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge debian-goodies
Dependencies
debian-goodies have the following dependencies:
References
Summary
In this tutorial we learn how to install debian-goodies
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.