How To Install mp3fs on CentOS 8

mp3fs is FUSE filesystem to transcode FLAC to MP3 on the fly

Introduction

In this tutorial we learn how to install mp3fs on CentOS 8.

What is mp3fs

MP3FS is A read-only FUSE file-system which trans-codes audio formats (currently FLAC) to MP3 on the fly when opened and read. This was written to enable me to use my FLAC collection with software and/or hardware which only understands MP3. e.g. “GMediaServer” to a Netgear MP101 mp3 player. It is also a novel alternative to traditional mp3 encoder applications. Just use your favorite file browser to select the files you want encoded and copy them somewhere!

We can use yum or dnf to install mp3fs on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install mp3fs.

Install mp3fs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install mp3fs using dnf by running the following command:

sudo dnf -y install mp3fs

Install mp3fs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install mp3fs using yum by running the following command:

sudo yum -y install mp3fs

How To Uninstall mp3fs on CentOS 8

To uninstall only the mp3fs package we can use the following command:

sudo dnf remove mp3fs

mp3fs Package Contents on CentOS 8

/usr/bin/mp3fs
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/5c8f21cb189a7278e76a493b2b4c35e7b742bb
/usr/share/doc/mp3fs
/usr/share/doc/mp3fs/INSTALL.md
/usr/share/doc/mp3fs/NEWS.md
/usr/share/doc/mp3fs/README.md
/usr/share/licenses/mp3fs
/usr/share/licenses/mp3fs/COPYING
/usr/share/licenses/mp3fs/COPYING.DOC
/usr/share/man/man1/mp3fs.1.gz

References

Summary

In this tutorial we learn how to install mp3fs on CentOS 8 using yum and dnf.