Installing proprietary codecs on Rocky Linux is pretty easy. Install the RPM Fusion repository first. This requires the Extras repo enabled first, then this will work.
[root@localhost john]# dnf install rpmfusion-free-release |
Then install all other required packages.
[root@localhost john]# dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm [root@localhost john]# dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm [root@localhost john]# dnf groupupdate core # Then install all required packages. [root@localhost john]# dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin |
This enabled all non-free multimedia repositories on Rocky Linux 9.
Below are all of my currently enabled RPM repositories on Rocky Linux 9. The instructions seem to have changed a little bit in Rocky Linux 9 vs 8.
[root@localhost john]# dnf repolist repo id repo name appstream Rocky Linux 9 - AppStream baseos Rocky Linux 9 - BaseOS elrepo ELRepo.org Community Enterprise Linux Repository - el9 epel Extra Packages for Enterprise Linux 9 - x86_64 extras Rocky Linux 9 - Extras rpmfusion-free-updates RPM Fusion for EL 9 - Free - Updates rpmfusion-nonfree-updates RPM Fusion for EL 9 - Nonfree - Updates |
Then install a nice audio player to listen to music.
[root@localhost john]# dnf install audacious |
This works very well. Now I can listen to music using a nice media player and I do not need to worry about codecs.
To fix the issue of NTFS drives reporting an “unknown filesystem” error on Rocky Linux 9, install this package to fix this issue.
[root@localhost john]# dnf install ntfs-3g |
After this, the file manager was able to mount an NTFS drive straight away. This is a very easy fix. This requires the EPEL repository enabled, this is easily installed this way.
[root@localhost john]# dnf install epel-release |