How To Install python-mpltoolkits.basemap-doc on Kali Linux
Introduction
In this tutorial we learn how to install python-mpltoolkits.basemap-doc on Kali Linux.
What is python-mpltoolkits.basemap-doc
python-mpltoolkits.basemap-doc is:
The matplotlib basemap toolkit is a library for plotting 2D data on maps in Python. It is similar in functionality to the matlab mapping toolbox, the IDL mapping facilities, GrADS, or the Generic Mapping Tools. PyNGL and CDAT are other libraries that provide similar capabilities in Python.
Basemap does not do any plotting on its own, but provides the facilities to transform coordinates to one of 23 different map projections (using the PROJ.4 C library). Matplotlib is then used to plot contours, images, vectors, lines or points in the transformed coordinates. Shoreline, river and political boundary datasets (from Generic Mapping Tools) are provided, along with methods for plotting them. The GEOS library is used internally to clip the coastline and political boundary features to the desired map projection region.
Basemap provides facilities for reading data in netCDF and Shapefile formats, as well as directly over http using OPeNDAP. This functionality is provided through the PyDAP client, and a Python interface to the Shapefile C library.
Basemap is geared toward the needs of earth scientists, particular oceanographers and meteorologists. The author originally wrote Basemap to help in his research (climate and weather forecasting), since at the time CDAT was the only other tool in Python for plotting data on map projections. Over the years, the capabilities of Basemap have evolved as scientists in other disciplines (such as biology, geology and geophysics) requested and contributed new features.
This package contains documentation and examples for python-mpltoolkits.basemap
There are three methods to install python-mpltoolkits.basemap-doc 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 python-mpltoolkits.basemap-doc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install python-mpltoolkits.basemap-doc using apt-get by running the following command:
sudo apt-get -y install python-mpltoolkits.basemap-docInstall python-mpltoolkits.basemap-doc Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install python-mpltoolkits.basemap-doc using apt by running the following command:
sudo apt -y install python-mpltoolkits.basemap-docInstall python-mpltoolkits.basemap-doc 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 python-mpltoolkits.basemap-doc using aptitude by running the following command:
sudo aptitude -y install python-mpltoolkits.basemap-docHow To Uninstall python-mpltoolkits.basemap-doc on Kali Linux
To uninstall only the python-mpltoolkits.basemap-doc package we can use the following command:
sudo apt-get remove python-mpltoolkits.basemap-docUninstall python-mpltoolkits.basemap-doc And Its Dependencies
To uninstall python-mpltoolkits.basemap-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python-mpltoolkits.basemap-docRemove python-mpltoolkits.basemap-doc Configurations and Data
To remove python-mpltoolkits.basemap-doc configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python-mpltoolkits.basemap-docRemove python-mpltoolkits.basemap-doc configuration, data, and all of its dependencies
We can use the following command to remove python-mpltoolkits.basemap-doc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-mpltoolkits.basemap-docDependencies
python-mpltoolkits.basemap-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install python-mpltoolkits.basemap-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.