How To Install debian-goodies on Ubuntu 18.04
Introduction
In this tutorial we learn how to install debian-goodies
on Ubuntu 18.04.
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.
dglob - Generate a list of package names which match a pattern [dctrl-tools, apt*, apt-file*, perl*] dgrep - Search all files in specified packages for a regex [dctrl-tools, apt-file (both via dglob)]
These are also included, because they are useful and don’t justify their own packages:
check-enhancements - find packages which enhance installed packages [apt, dctrl-tools] checkrestart - Help to find and restart processes which are using old versions of upgraded files (such as libraries) [python3, procps, lsof*] debget - Fetch a .deb for a package in APT’s database [apt] debman - Easily view man pages from a binary .deb without extracting [man, apt* (via debget)] debmany - Select manpages of installed or uninstalled packages [man | sensible-utils, whiptail | dialog | zenity, apt*, konqueror*, libgnome2-bin*, xdg-utils*] dhomepage - Open homepage of a package in a web browser [dctrl-tools, sensible-utils*, www-browser* | x-www-browser*] dman - Fetch manpages from online manpages.debian.org service [curl, man, lsb-release*] dpigs - Show which installed packages occupy the most space [dctrl-tools] find-dbgsym-packages - Get list of dbgsym packages from core dump or PID [dctrl-tools, elfutils, libipc-system-simple-perl] popbugs - Display a customized release-critical bug list based on packages you use (using popularity-contest data) [python3, popularity-contest] which-pkg-broke - find which package might have broken another [python3, apt] which-pkg-broke-build - find which package might have broken the build of another [python3 (via which-pkg-broke), apt]
Package name in brackets denote (non-essential) dependencies of the scripts. Packages names with an asterisk ("*") denote optional dependencies, all other are hard dependencies.
There are three methods to install debian-goodies
on Ubuntu 18.04. 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 Ubuntu. 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 Ubuntu 18.04
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 Ubuntu 18.04, 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 Ubuntu 18.04 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
References
Summary
In this tutorial we learn how to install debian-goodies
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.