How to Install and Uninstall python-matplotlib Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 02,2024

1. Install "python-matplotlib" package

In this section, we are going to explain the necessary steps to install python-matplotlib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-matplotlib

2. Uninstall "python-matplotlib" package

Learn how to uninstall python-matplotlib on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-matplotlib package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-matplotlib
Priority: optional
Section: universe/python
Installed-Size: 12845
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Architecture: amd64
Source: matplotlib
Version: 1.5.1-1ubuntu1
Depends: python-dateutil, python-matplotlib-data (>= 1.5.1-1ubuntu1), python-pyparsing (>= 1.5.6), python-tz, libjs-jquery, libjs-jquery-ui, python-numpy (>= 1:1.10.0~b1), python-numpy-abi9, python (<< 2.8), python (>= 2.7~), python-cycler, python:any (>= 2.7.5-5~), libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 5.2), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0)
Recommends: python-glade2, python-imaging, 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-gtk2, 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
Filename: pool/universe/m/matplotlib/python-matplotlib_1.5.1-1ubuntu1_amd64.deb
Size: 3888412
MD5sum: 64c3dc5dcf75119e44f477076aed5131
SHA1: aa8e7ebbb098e72f98fe5af766f56367b9639c0d
SHA256: fafc914358d7515274ee08913fa7d11b9f398ca3aa3cf2a05a76ea3e51982b30
Description-en: Python based plotting system in a style similar to Matlab
Matplotlib is a pure Python plotting library designed to bring
publication quality plotting to Python with a syntax familiar to
Matlab users. All of the plotting commands in the pylab interface can
be accessed either via a functional interface familiar to Matlab
users or an object oriented interface familiar to Python users.
Description-md5: 2fece2cb7cd156344f82cc6d7070bac0
Enhances: ipython
Homepage: http://matplotlib.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu