Open In App

How to Install Mutagen for Python on Linux?

Mutagen is a Python module or package. It is used to handle audio metadata. This can be used in GUI applications like Game Development, etc. It supports MP4, FLAC, Ogg Theora, True Audio, AIFF audio files, etc. It supports Python 3.5 and above versions and is available for Linux, Windows, macOS, etc. It does not have any dependencies outside the Python standard library. In this article, we will learn how to install the Mutagen package on the Linux operating system.

Requirements:



Installing Mutagen package on Linux using PIP

To install the Mutagen package in Linux we have to follow the following steps:

Step 1: Install Python3 on the Linux system using the following command in the terminal:



sudo apt-get install python3

Step 2: Now, install the pip module which is required to install and manage the packages in Python3 using the following command:

sudo apt install python3-pip

Step 3: Now, install the Mutagen package using the following command:

sudo pip3 install mutagen

Verifying Mutagen package installation on Linux using PIP

To verify if the Mutagen package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show mutagen

You’ll get the following message if the installation is completed successfully without any error.

Article Tags :