How To Install python3-mpltoolkits.basemap on Kali Linux
Introduction
In this tutorial we learn how to install python3-mpltoolkits.basemap
on Kali Linux.
What is python3-mpltoolkits.basemap
python3-mpltoolkits.basemap 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 the Python 3 version of python-mpltoolkits.basemap.
WARNING: this package is deprecated in favour of cartopy.
There are three methods to install python3-mpltoolkits.basemap
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-mpltoolkits.basemap Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-mpltoolkits.basemap
using apt-get
by running the following command:
sudo apt-get -y install python3-mpltoolkits.basemap
Install python3-mpltoolkits.basemap Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-mpltoolkits.basemap
using apt
by running the following command:
sudo apt -y install python3-mpltoolkits.basemap
Install python3-mpltoolkits.basemap 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 update
After updating apt database, We can install python3-mpltoolkits.basemap
using aptitude
by running the following command:
sudo aptitude -y install python3-mpltoolkits.basemap
How To Uninstall python3-mpltoolkits.basemap on Kali Linux
To uninstall only the python3-mpltoolkits.basemap
package we can use the following command:
sudo apt-get remove python3-mpltoolkits.basemap
Uninstall python3-mpltoolkits.basemap And Its Dependencies
To uninstall python3-mpltoolkits.basemap
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-mpltoolkits.basemap
Remove python3-mpltoolkits.basemap Configurations and Data
To remove python3-mpltoolkits.basemap
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-mpltoolkits.basemap
Remove python3-mpltoolkits.basemap configuration, data, and all of its dependencies
We can use the following command to remove python3-mpltoolkits.basemap
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-mpltoolkits.basemap
Dependencies
python3-mpltoolkits.basemap have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-mpltoolkits.basemap
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.