How To Install musica on Ubuntu 18.04
Introduction
In this tutorial we learn how to install musica on Ubuntu 18.04.
What is musica
musica is:
Musica is a web application for browsing and listening to your music. Songs are organized hierarchically in folders of Artists, and sub-folders of Albums. The PHP script presents an interface for navigating among artists and albums. It dynamically generates playlists, allows for downloading single songs, entire albums, and links to Wikipedia articles on artists and albums.
There are three methods to install musica 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 musica Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install musica using apt-get by running the following command:
sudo apt-get -y install musica
Install musica Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install musica using apt by running the following command:
sudo apt -y install musica
Install musica 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 musica using aptitude by running the following command:
sudo aptitude -y install musica
How To Uninstall musica on Ubuntu 18.04
To uninstall only the musica package we can use the following command:
sudo apt-get remove musica
Uninstall musica And Its Dependencies
To uninstall musica and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove musica
Remove musica Configurations and Data
To remove musica configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge musica
Remove musica configuration, data, and all of its dependencies
We can use the following command to remove musica configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge musica
References
Summary
In this tutorial we learn how to install musica package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.