How To Install haskell-debian-utils on Debian 9
Introduction
In this tutorial we learn how to install haskell-debian-utils
on Debian 9.
What is haskell-debian-utils
haskell-debian-utils is:
This package contains tools shipped with the Haskell library ??debian??:
fakechanges: Sometimes you have the .debs, .dsc, .tar.gz, .diff.gz, etc from a package build, but not the .changes file. This package lets you create a fake .changes file in case you need one.
debian-report: Analyze Debian repositories and generate reports about their contents and relations. For example, a list of all packages in a distribution that are trumped by another distribution.
apt-get-build-depends: Tool which will parse the Build-Depends{-Indep} lines from debian/control and apt-get install the required packages
There are three methods to install haskell-debian-utils
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 haskell-debian-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install haskell-debian-utils
using apt-get
by running the following command:
sudo apt-get -y install haskell-debian-utils
Install haskell-debian-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install haskell-debian-utils
using apt
by running the following command:
sudo apt -y install haskell-debian-utils
Install haskell-debian-utils 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 haskell-debian-utils
using aptitude
by running the following command:
sudo aptitude -y install haskell-debian-utils
How To Uninstall haskell-debian-utils on Debian 9
To uninstall only the haskell-debian-utils
package we can use the following command:
sudo apt-get remove haskell-debian-utils
Uninstall haskell-debian-utils And Its Dependencies
To uninstall haskell-debian-utils
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove haskell-debian-utils
Remove haskell-debian-utils Configurations and Data
To remove haskell-debian-utils
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge haskell-debian-utils
Remove haskell-debian-utils configuration, data, and all of its dependencies
We can use the following command to remove haskell-debian-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge haskell-debian-utils
Dependencies
haskell-debian-utils have the following dependencies:
References
Summary
In this tutorial we learn how to install haskell-debian-utils
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.