How To Install libs2-geometry-library-java on Kali Linux
Introduction
In this tutorial we learn how to install libs2-geometry-library-java on Kali Linux.
What is libs2-geometry-library-java
libs2-geometry-library-java is:
The S2 Geometry Library is a spherical geometry library, very useful for manipulating regions on the sphere (commonly on Earth) and indexing geographic data.
This the a fork from the original s2-geometry-library-java library by google.
There are three methods to install libs2-geometry-library-java 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 libs2-geometry-library-java Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libs2-geometry-library-java using apt-get by running the following command:
sudo apt-get -y install libs2-geometry-library-javaInstall libs2-geometry-library-java Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libs2-geometry-library-java using apt by running the following command:
sudo apt -y install libs2-geometry-library-javaInstall libs2-geometry-library-java 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 libs2-geometry-library-java using aptitude by running the following command:
sudo aptitude -y install libs2-geometry-library-javaHow To Uninstall libs2-geometry-library-java on Kali Linux
To uninstall only the libs2-geometry-library-java package we can use the following command:
sudo apt-get remove libs2-geometry-library-javaUninstall libs2-geometry-library-java And Its Dependencies
To uninstall libs2-geometry-library-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libs2-geometry-library-javaRemove libs2-geometry-library-java Configurations and Data
To remove libs2-geometry-library-java configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libs2-geometry-library-javaRemove libs2-geometry-library-java configuration, data, and all of its dependencies
We can use the following command to remove libs2-geometry-library-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libs2-geometry-library-javaDependencies
libs2-geometry-library-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libs2-geometry-library-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.