How To Install libghc-psqueue-dev on Kali Linux
Introduction
In this tutorial we learn how to install libghc-psqueue-dev on Kali Linux.
What is libghc-psqueue-dev
libghc-psqueue-dev is:
A /priority search queue/ efficiently supports the opperations of both a search tree and a priority queue. A ‘Binding’ is a product of a key and a priority. Bindings can be inserted, deleted, modified and queried in logarithmic time, and the binding with the least priority can be retrieved in constant time. A queue can be built from a list of bindings, sorted by keys, in linear time.
This package contains the normal library files.
There are three methods to install libghc-psqueue-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-psqueue-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-psqueue-dev using apt-get by running the following command:
sudo apt-get -y install libghc-psqueue-devInstall libghc-psqueue-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libghc-psqueue-dev using apt by running the following command:
sudo apt -y install libghc-psqueue-devInstall libghc-psqueue-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-psqueue-dev using aptitude by running the following command:
sudo aptitude -y install libghc-psqueue-devHow To Uninstall libghc-psqueue-dev on Kali Linux
To uninstall only the libghc-psqueue-dev package we can use the following command:
sudo apt-get remove libghc-psqueue-devUninstall libghc-psqueue-dev And Its Dependencies
To uninstall libghc-psqueue-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-psqueue-devRemove libghc-psqueue-dev Configurations and Data
To remove libghc-psqueue-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-psqueue-devRemove libghc-psqueue-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-psqueue-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-psqueue-devDependencies
libghc-psqueue-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libghc-psqueue-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.