How to Install and Uninstall python-matplotlib Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: April 28,2024

1. Install "python-matplotlib" package

Please follow the guidelines below to install python-matplotlib on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-matplotlib

2. Uninstall "python-matplotlib" package

This tutorial shows how to uninstall python-matplotlib on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-matplotlib $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-matplotlib package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-matplotlib
Architecture: amd64
Version: 2.1.1-2ubuntu3
Priority: optional
Section: universe/python
Source: matplotlib
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12145
Depends: python-backports.functools-lru-cache, python-dateutil, python-matplotlib-data (>= 2.1.1-2ubuntu3), python-pyparsing (>= 1.5.6), python-tz, libjs-jquery, libjs-jquery-ui, python-numpy (>= 1:1.13.1), python-numpy-abi9, python (<< 2.8), python (>= 2.7~), python-cycler, python-six (>= 1.10), python-subprocess32, python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 5.2)
Recommends: python-pil, python-tk (>= 2.5.2-1.1)
Suggests: dvipng, ffmpeg, gir1.2-gtk-3.0, ghostscript, inkscape, ipython (>= 0.6.3), librsvg2-common, python-cairocffi, python-configobj, python-excelerator, python-gobject, python-matplotlib-doc, python-nose, python-qt4, python-scipy, python-sip, python-tornado, python-traits (>= 2.0), python-wxgtk3.0, texlive-extra-utils, texlive-latex-extra, ttf-staypuft
Enhances: ipython
Filename: pool/universe/m/matplotlib/python-matplotlib_2.1.1-2ubuntu3_amd64.deb
Size: 3901036
MD5sum: 42cc918b55d110db828d5f6c37b7b2ee
SHA1: 302d8e155e2cf31ca3fe2f68f57721e57c7afd7f
SHA256: 0ce218b6de3338c2af4e75b53db7c0851b5869306d14071300ecc6cb2bb7d767
Homepage: http://matplotlib.org/
Description: Python based plotting system in a style similar to Matlab
Description-md5: 2fece2cb7cd156344f82cc6d7070bac0