How To Install libmapbox-variant-dev on Kali Linux
Introduction
In this tutorial we learn how to install libmapbox-variant-dev on Kali Linux.
What is libmapbox-variant-dev
libmapbox-variant-dev is:
Mapbox variant has the same speedy performance of boost::variant but is faster to compile, results in smaller binaries, and has no dependencies.
Mapbox variant has been a very valuable, lightweight alternative for apps that can use c++11 or c++14 but that do not want a Boost dependency. Mapbox variant has also been useful in apps that do depend on Boost, like Mapnik, to help (slightly) with compile times and to majorly lessen dependence on Boost in core headers.
There are three methods to install libmapbox-variant-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 libmapbox-variant-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmapbox-variant-dev using apt-get by running the following command:
sudo apt-get -y install libmapbox-variant-devInstall libmapbox-variant-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmapbox-variant-dev using apt by running the following command:
sudo apt -y install libmapbox-variant-devInstall libmapbox-variant-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 libmapbox-variant-dev using aptitude by running the following command:
sudo aptitude -y install libmapbox-variant-devHow To Uninstall libmapbox-variant-dev on Kali Linux
To uninstall only the libmapbox-variant-dev package we can use the following command:
sudo apt-get remove libmapbox-variant-devUninstall libmapbox-variant-dev And Its Dependencies
To uninstall libmapbox-variant-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmapbox-variant-devRemove libmapbox-variant-dev Configurations and Data
To remove libmapbox-variant-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmapbox-variant-devRemove libmapbox-variant-dev configuration, data, and all of its dependencies
We can use the following command to remove libmapbox-variant-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmapbox-variant-devDependencies
libmapbox-variant-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libmapbox-variant-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.