How To Install python-pil-doc on Ubuntu 20.04
Introduction
In this tutorial we learn how to install python-pil-doc
on Ubuntu 20.04.
What is python-pil-doc
python-pil-doc is:
The Python Imaging Library (PIL) adds an image object to your Python interpreter. You can load image objects from a variety of file formats, and apply a rich set of image operations to them.
This package contains PIL API documentation and some example scripts. You may also want to look at the python-pil-doc-html or python-pil-doc-pdf packages for the PIL handbook documentation.
Package: python-pil-doc Architecture: all Version: 7.0.0-4build1 Multi-Arch: foreign Priority: optional Section: doc Source: pillow Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6018 Depends: libjs-sphinxdoc (>= 1.0), sphinx-rtd-theme-common (>= 0.4.3+dfsg) Suggests: python3-doc, python3-pil, python3-pil.imagetk Filename: pool/main/p/pillow/python-pil-doc_7.0.0-4build1_all.deb Size: 408484 MD5sum: 3e2b5a2329cbd455fe7cf9372c3d5a52 SHA1: 9cd9af8ef0e2f956228acdb93e16150c2542f18a SHA256: e6c33790ff9b0eb4abfc7e11d5b4ed62581bf5d9df1569f56e08238b765691af Homepage: http://python-pillow.github.io/ Description-en: Examples for the Python Imaging Library The Python Imaging Library (PIL) adds an image object to your Python interpreter. You can load image objects from a variety of file formats, and apply a rich set of image operations to them.
This package contains PIL API documentation and some example scripts. You may also want to look at the python-pil-doc-html or python-pil-doc-pdf packages for the PIL handbook documentation.
There are three methods to install python-pil-doc
on Ubuntu 20.04. 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-pil-doc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-pil-doc
using apt-get
by running the following command:
sudo apt-get -y install python-pil-doc
Install python-pil-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-pil-doc
using apt
by running the following command:
sudo apt -y install python-pil-doc
Install python-pil-doc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-pil-doc
using aptitude
by running the following command:
sudo aptitude -y install python-pil-doc
How To Uninstall python-pil-doc on Ubuntu 20.04
To uninstall only the python-pil-doc
package we can use the following command:
sudo apt-get remove python-pil-doc
Uninstall python-pil-doc And Its Dependencies
To uninstall python-pil-doc
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove python-pil-doc
Remove python-pil-doc Configurations and Data
To remove python-pil-doc
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge python-pil-doc
Remove python-pil-doc configuration, data, and all of its dependencies
We can use the following command to remove python-pil-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-pil-doc
References
Summary
In this tutorial we learn how to install python-pil-doc
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.