How To Install python3-ncls on Kali Linux
Introduction
In this tutorial we learn how to install python3-ncls on Kali Linux.
What is python3-ncls
python3-ncls is:
The Nested Containment List is a datastructure for interval overlap queries, like the interval tree. It is usually an order of magnitude faster than the interval tree both for building and query lookups.
The implementation here is a revived version of the one used in the now defunct PyGr library, which died of bitrot. It was now made less memory-consuming and wrapper functions allow batch-querying the NCLS for further speed gains.
This package was implemented to be the cornerstone of the PyRanges project, but was made available to the Python community as a stand-alone library.
There are three methods to install python3-ncls 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 python3-ncls Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install python3-ncls using apt-get by running the following command:
sudo apt-get -y install python3-nclsInstall python3-ncls Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install python3-ncls using apt by running the following command:
sudo apt -y install python3-nclsInstall python3-ncls 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 python3-ncls using aptitude by running the following command:
sudo aptitude -y install python3-nclsHow To Uninstall python3-ncls on Kali Linux
To uninstall only the python3-ncls package we can use the following command:
sudo apt-get remove python3-nclsUninstall python3-ncls And Its Dependencies
To uninstall python3-ncls and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-nclsRemove python3-ncls Configurations and Data
To remove python3-ncls configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-nclsRemove python3-ncls configuration, data, and all of its dependencies
We can use the following command to remove python3-ncls configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-nclsDependencies
python3-ncls have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-ncls package on Kali Linux using different package management tools: apt, apt-get and aptitude.