How To Install mp3fs on CentOS 7

In this tutorial we learn how to install mp3fs on CentOS 7. mp3fs is FUSE filesystem to transcode FLAC to MP3 on the fly

Introduction

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

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 7. In this tutorial we discuss both methods but you only need to choose one of method to install mp3fs.

Install mp3fs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mp3fs

Install mp3fs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install mp3fs

How To Uninstall mp3fs on CentOS 7

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

sudo dnf remove mp3fs

References

Summary

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