How To Install mod-musicindex-common on Ubuntu 18.04

In this tutorial we learn how to install mod-musicindex-common on Ubuntu 18.04. mod-musicindex-common is Common files for mod-musicindex

Introduction

In this tutorial we learn how to install mod-musicindex-common on Ubuntu 18.04.

What is mod-musicindex-common

mod-musicindex-common is:

mod_musicindex is aimed at being a C alternative to the Perl module Apache::MP3 (http://search.cpan.org/dist/Apache-MP3/). It allows nice displaying of directories containing MP3 or Ogg Vorbis and FLAC files, including sorting them on various fields, streaming/downloading them, constructing playlists and searching.

This package includes platform independent data for libapache2-mod-musicindex and is useless without it.

There are three methods to install mod-musicindex-common on Ubuntu 18.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 mod-musicindex-common Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mod-musicindex-common using apt-get by running the following command:

sudo apt-get -y install mod-musicindex-common

Install mod-musicindex-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mod-musicindex-common using apt by running the following command:

sudo apt -y install mod-musicindex-common

Install mod-musicindex-common 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 mod-musicindex-common using aptitude by running the following command:

sudo aptitude -y install mod-musicindex-common

How To Uninstall mod-musicindex-common on Ubuntu 18.04

To uninstall only the mod-musicindex-common package we can use the following command:

sudo apt-get remove mod-musicindex-common

Uninstall mod-musicindex-common And Its Dependencies

To uninstall mod-musicindex-common and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove mod-musicindex-common

Remove mod-musicindex-common Configurations and Data

To remove mod-musicindex-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mod-musicindex-common

Remove mod-musicindex-common configuration, data, and all of its dependencies

We can use the following command to remove mod-musicindex-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mod-musicindex-common

References

Summary

In this tutorial we learn how to install mod-musicindex-common package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.