How to Install SMPlayer on Rocky Linux 9

SMPlayer is free, open-source software that can be used on any operating system. It has been localized in more than 30 languages, making it easy to enjoy your favorite videos no matter what language(s) are spoken around them! A front end called SMplayer offers graphics tools from Mpv (a forks version), along with its interface widgets provided by qt. This player also falls under the terms given out through GPL v2 or later versions which ensures freedom while providing access via financial means if desired so long as copyright restrictions aren’t violated during use. The best media players are also portable, so you can carry them around on a USB drive and use them without leaving traces behind. SMPlayer is worth trying for this reason alone!

The following tutorial will teach you how to install SMPlayer Rocky Linux 9 using one of the two third-party repositories RPM Fusion Free or Flatpak package manager, with the command line terminal.

Update Rocky Linux

First, update your system to ensure all existing packages are up to date to avoid conflicts.

sudo dnf upgrade --refresh

Install SMPlayer – RPM Fusion Method

The first installation option is to use RPM Fusion to install the media player. Desktop users with RHEL clones would know this repository well, along with Fedora users, for containing packages that distributions cannot ship by default.

First, enable the CRB repository required for both EPEL and RPM Fusion.

sudo dnf config-manager --set-enabled crb

Next, install EPEL using the following (dnf) terminal command.

sudo dnf install \ \

Next, install the following repositories.

Install/Enable the Free Repository (Required)

sudo dnf install$(rpm -E %rhel).noarch.rpm -y

Install/Enable the Non-Free Repository (Optional – Not Required)

sudo dnf install$(rpm -E %rhel).noarch.rpm -y

Now, install the application.

sudo dnf install smplayer smplayer-themes

For users that encounter issues, you likely forgot to import EPEL or possibly did not enable the CRB repository.

Install SMPlayer – Flatpak Method

The second option is to use the Flatpak package manager. Flatpak is installed natively on Rocky Linux, so the installation should be straightforward.

First, re-install the Flatpak manager if it was removed previously.

sudo dnf install flatpak -y

For users re-installing Flatpak, it is often recommended to reboot your system. Failure to do this can occur with odd issues, such as paths not being generated for icons.



Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub

Now install the software using the following flatpak command.

flatpak install flathub info.smplayer.SMPlayer -y

How to Launch SMPlayer

Launching can be done in a few ways now that you have the software installed.

First, the software can be launched using the following command.


Alternatively, Flatpak users will need to launch using the command below from a terminal instance.

flatpak run info.smplayer.SMPlayer

Most desktop users may elect to use the application icon to open the software, which can be achieved using the following path.

Activities > Show Applications > SMPlayer.


How to Install SMPlayer on Rocky Linux 9

Once open, you can begin using the multimedia player. First-time users, I suggest visiting SMPlayers first steps for those who want to explore in-depth about the player or learn additional information you may not know.


How to Install SMPlayer on Rocky Linux 9

How to Update/Upgrade SMPlayer

The best method to ensure your installation of SMPlayer is up-to-date is to open the command line terminal and run the following command.

sudo dnf update --refresh

The command will also ensure all other packages that use the DNF package manager, including your system packages, are up-to-date. I suggest that users new to Linux run this command frequently to ensure your system works as intended, even if you have automatic GUI updates or notifications.

How to Remove (Uninstall) SMPlayer

Use one of the following commands to suit the original installation method for users who no longer require the application.

sudo dnf remove smplayer smplayer-themes

Comments and Conclusion

If you’re looking for a great, free media player that is available on any operating system and has been localized in dozens of languages, SMPlayer is an excellent option. SMplayer offers additional features and graphics tools, and it’s portable, so you can take it wherever you go. Give it a try today!

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment