How To Install python-id3 on Debian 9

In this tutorial we learn how to install python-id3 on Debian 9. python-id3 is Python module for id3-tags manipulation

Introduction

In this tutorial we learn how to install python-id3 on Debian 9.

What is python-id3

python-id3 is:

python-id3 is a simple Python module for retrieving and setting so-called ID3 tags on MP3 compressed audio files through an object-oriented interface. MP3 players generally use this simple information for display track title, artist name, and album title while playing the sound file.

ID3.py supports ID3 version 1.1, including the track number field.

There are three methods to install python-id3 on Debian 9. 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-id3 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-id3 using apt-get by running the following command:

sudo apt-get -y install python-id3

Install python-id3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-id3 using apt by running the following command:

sudo apt -y install python-id3

Install python-id3 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-id3 using aptitude by running the following command:

sudo aptitude -y install python-id3

How To Uninstall python-id3 on Debian 9

To uninstall only the python-id3 package we can use the following command:

sudo apt-get remove python-id3

Uninstall python-id3 And Its Dependencies

To uninstall python-id3 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-id3

Remove python-id3 Configurations and Data

To remove python-id3 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-id3

Remove python-id3 configuration, data, and all of its dependencies

We can use the following command to remove python-id3 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-id3

Dependencies

python-id3 have the following dependencies:

References

Summary

In this tutorial we learn how to install python-id3 package on Debian 9 using different package management tools: apt, apt-get and aptitude.