How To Install libghc-xcb-types-dev on Kali Linux
Introduction
In this tutorial we learn how to install libghc-xcb-types-dev on Kali Linux.
What is libghc-xcb-types-dev
libghc-xcb-types-dev is:
This package provides types which mirror the structures used in the XCB code generation XML files.
See project http://xcb.freedesktop.org/ for more information about the XCB project.
The XML files describe the data-types, events and requests used by the X Protocol, and are used to auto-generate large parts of the XCB project.
This package parses these XML files into Haskell data structures.
If you want to do something with these XML descriptions but don’t want to learn XSLT, this package should help.
This version of xcb-types is intended to fully parse the X Protocol description version 1.4.
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-xcb-types-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-xcb-types-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libghc-xcb-types-dev using apt-get by running the following command:
sudo apt-get -y install libghc-xcb-types-devInstall libghc-xcb-types-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libghc-xcb-types-dev using apt by running the following command:
sudo apt -y install libghc-xcb-types-devInstall libghc-xcb-types-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 updateAfter updating apt database, We can install libghc-xcb-types-dev using aptitude by running the following command:
sudo aptitude -y install libghc-xcb-types-devHow To Uninstall libghc-xcb-types-dev on Kali Linux
To uninstall only the libghc-xcb-types-dev package we can use the following command:
sudo apt-get remove libghc-xcb-types-devUninstall libghc-xcb-types-dev And Its Dependencies
To uninstall libghc-xcb-types-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-xcb-types-devRemove libghc-xcb-types-dev Configurations and Data
To remove libghc-xcb-types-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-xcb-types-devRemove libghc-xcb-types-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-xcb-types-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-xcb-types-devDependencies
libghc-xcb-types-dev have the following dependencies:
- libghc-base-dev-4.13.0.0-2f220
- libghc-containers-dev-0.6.2.1-ab1cf
- libghc-mtl-dev-2.2.2-7208c
- libghc-pretty-dev-1.1.3.6-33019
- libghc-xml-dev-1.3.14-6ab42
- libc6
- libgmp10
References
Summary
In this tutorial we learn how to install libghc-xcb-types-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.