How To Install python3-pil.imagetk on Ubuntu 20.04

In this tutorial we learn how to install python3-pil.imagetk on Ubuntu 20.04. python3-pil.imagetk is Python Imaging Library - ImageTk Module (Python3) Python Imaging Library - ImageTk Module (Python3)

Introduction

In this tutorial we learn how to install python3-pil.imagetk on Ubuntu 20.04.

What is python3-pil.imagetk

python3-pil.imagetk is:

Tk dependent python-pil module. Task: ubuntustudio-photography

Package: python3-pil.imagetk Architecture: amd64 Version: 7.0.0-4build1 Multi-Arch: same Priority: optional Section: python Source: pillow Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 98 Depends: python3-pil (= 7.0.0-4build1), python3-tk (>= 3.4.1-2), python3 (« 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.4) Suggests: python-pil-doc, python3-pil.imagetk-dbg Breaks: python3-imaging-tk (« 1.1.7+2.0.0-1.1) Replaces: python3-imaging-tk (« 1.1.7+2.0.0-1.1) Filename: pool/main/p/pillow/python3-pil.imagetk_7.0.0-4build1_amd64.deb Size: 8696 MD5sum: b3e696a828d6dd5ae7b654cf3a1d8cba SHA1: f069bc1c48718975e57f6acdb436d17d733c59b0 SHA256: d1aac43678801dd3a90a3349d05a24afdf7c38eb377a677281a0a0f927b4afba Homepage: http://python-pillow.github.io/ Description-en: Python Imaging Library - ImageTk Module (Python3) Tk dependent python-pil module. Task: ubuntustudio-photography

There are three methods to install python3-pil.imagetk 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 python3-pil.imagetk 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-pil.imagetk using apt-get by running the following command:

sudo apt-get -y install python3-pil.imagetk

Install python3-pil.imagetk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-pil.imagetk using apt by running the following command:

sudo apt -y install python3-pil.imagetk

Install python3-pil.imagetk 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 python3-pil.imagetk using aptitude by running the following command:

sudo aptitude -y install python3-pil.imagetk

How To Uninstall python3-pil.imagetk on Ubuntu 20.04

To uninstall only the python3-pil.imagetk package we can use the following command:

sudo apt-get remove python3-pil.imagetk

Uninstall python3-pil.imagetk And Its Dependencies

To uninstall python3-pil.imagetk and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python3-pil.imagetk

Remove python3-pil.imagetk Configurations and Data

To remove python3-pil.imagetk configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-pil.imagetk

Remove python3-pil.imagetk configuration, data, and all of its dependencies

We can use the following command to remove python3-pil.imagetk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-pil.imagetk

References

Summary

In this tutorial we learn how to install python3-pil.imagetk package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.