How To Install debian-xcontrol on Debian 9
Introduction
In this tutorial we learn how to install debian-xcontrol
on Debian 9.
What is debian-xcontrol
debian-xcontrol is:
This tool generates a policy-compliant debian/control file from a similar file with a richer syntax, debian/xcontrol.
This allows the package maintainer to add additional hints useful e.g. when cross-compiling without adding the burden to maintain multiple files consistently.
There are three methods to install debian-xcontrol
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-xcontrol 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-xcontrol
using apt-get
by running the following command:
sudo apt-get -y install debian-xcontrol
Install debian-xcontrol Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install debian-xcontrol
using apt
by running the following command:
sudo apt -y install debian-xcontrol
Install debian-xcontrol 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-xcontrol
using aptitude
by running the following command:
sudo aptitude -y install debian-xcontrol
How To Uninstall debian-xcontrol on Debian 9
To uninstall only the debian-xcontrol
package we can use the following command:
sudo apt-get remove debian-xcontrol
Uninstall debian-xcontrol And Its Dependencies
To uninstall debian-xcontrol
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove debian-xcontrol
Remove debian-xcontrol Configurations and Data
To remove debian-xcontrol
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge debian-xcontrol
Remove debian-xcontrol configuration, data, and all of its dependencies
We can use the following command to remove debian-xcontrol
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge debian-xcontrol
Dependencies
debian-xcontrol have the following dependencies:
References
Summary
In this tutorial we learn how to install debian-xcontrol
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.