How To Install mp3fs on Ubuntu 18.04
Introduction
In this tutorial we learn how to install mp3fs on Ubuntu 18.04.
What is mp3fs
mp3fs is:
MP3FS is a read-only FUSE filesystem which transcodes audio formats (currently FLAC) to MP3 on the fly when opened and read.
It is also a novel alternative to traditional mp3 encoder applications. Users can use their favorite file browser to select the files they want encoded and copy them somewhere.
There are three methods to install mp3fs 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 mp3fs Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install mp3fs using apt-get by running the following command:
sudo apt-get -y install mp3fs
Install mp3fs Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install mp3fs using apt by running the following command:
sudo apt -y install mp3fs
Install mp3fs 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 mp3fs using aptitude by running the following command:
sudo aptitude -y install mp3fs
How To Uninstall mp3fs on Ubuntu 18.04
To uninstall only the mp3fs package we can use the following command:
sudo apt-get remove mp3fs
Uninstall mp3fs And Its Dependencies
To uninstall mp3fs and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove mp3fs
Remove mp3fs Configurations and Data
To remove mp3fs configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge mp3fs
Remove mp3fs configuration, data, and all of its dependencies
We can use the following command to remove mp3fs configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mp3fs
References
Summary
In this tutorial we learn how to install mp3fs package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.