How To Install dist on Debian 10
Introduction
In this tutorial we learn how to install dist
on Debian 10.
What is dist
dist is:
The dist package is a set of tools meant to ease the construction and maintenance of portable software.
The first component is the Configure script generator, metaconfig, which automatically builds the Configure script from your sources. Ideally, the end-user receiving your source code will simply have to read your README file, run the Configure script (which is self-documented), and then run make.
The second component is the Makefile.SH generator, which is a generic configured Makefile, reusing some of the information figured out by Configure, and a generic Jmakefile description.
The third component is the RCS aware package generator, which is used when it’s time to build up the shell archives used to distribute your program.
The fourth and latest component is the patch generator, used to make updates of your sources, which can later be applied on the original distribution by using the patch program.
There are three methods to install dist
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install dist Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dist
using apt-get
by running the following command:
sudo apt-get -y install dist
Install dist Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dist
using apt
by running the following command:
sudo apt -y install dist
Install dist 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 dist
using aptitude
by running the following command:
sudo aptitude -y install dist
How To Uninstall dist on Debian 10
To uninstall only the dist
package we can use the following command:
sudo apt-get remove dist
Uninstall dist And Its Dependencies
To uninstall dist
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove dist
Remove dist Configurations and Data
To remove dist
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge dist
Remove dist configuration, data, and all of its dependencies
We can use the following command to remove dist
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dist
Dependencies
dist have the following dependencies:
References
Summary
In this tutorial we learn how to install dist
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.