How To Install libghc-x11-dev on Kali Linux
Introduction
In this tutorial we learn how to install libghc-x11-dev
on Kali Linux.
What is libghc-x11-dev
libghc-x11-dev is:
This library is a binding to the X11 graphics library. The binding is a direct translation of the C binding; for documentation of these calls, refer to “The Xlib Programming Manual”, available online at http://tronche.com/gui/x/xlib/.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-x11-dev
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libghc-x11-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libghc-x11-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-x11-dev
Install libghc-x11-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-x11-dev
using apt
by running the following command:
sudo apt -y install libghc-x11-dev
Install libghc-x11-dev Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libghc-x11-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-x11-dev
How To Uninstall libghc-x11-dev on Kali Linux
To uninstall only the libghc-x11-dev
package we can use the following command:
sudo apt-get remove libghc-x11-dev
Uninstall libghc-x11-dev And Its Dependencies
To uninstall libghc-x11-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-x11-dev
Remove libghc-x11-dev Configurations and Data
To remove libghc-x11-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-x11-dev
Remove libghc-x11-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-x11-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-x11-dev
Dependencies
libghc-x11-dev have the following dependencies:
- libx11-dev
- libxinerama-dev
- libxrandr-dev
- libxt-dev
- libxss-dev
- libghc-base-dev-4.13.0.0-2f220
- libghc-data-default-dev-0.7.1.1-958e3
- libc6
- libgmp10
- libx11-6
- libxext6
- libxinerama1
- libxrandr2
References
Summary
In this tutorial we learn how to install libghc-x11-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.