SMPlayer is a free and open-source media player with built-in codecs, allowing you to play virtually any audio or video format without needing external codec packs. It provides an intuitive interface, advanced playback options, and features such as support for YouTube videos, subtitle synchronization, and a comprehensive set of audio and video filters. SMPlayer also includes a powerful media library, playlist management, and the ability to remember settings for each file, making it an ideal choice for users seeking a versatile and feature-rich media player.
To install SMPlayer on Fedora 40 or 39, you have two primary methods: using RPM Fusion or Flatpak with Flathub. These methods ensure you get a reliable and up-to-date version of SMPlayer with all its advanced features.
Method 1: Install SMPlayer via RPM Fusion
Enable RPM Fusion Repositories
RPM Fusion offers a free and non-free repository for Fedora users. The free repository includes open-source software, while the non-free repository includes proprietary software.
To enable both RPM Fusion repositories, run the following command:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
This command downloads and installs your Fedora RPM Fusion repository configuration files.
Install SMPlayer via DNF Command
With the RPM Fusion repositories enabled, install SMPlayer by running:
sudo dnf install smplayer
This command installs SMPlayer and its dependencies from the RPM Fusion repository.
Method 2: Install SMPlayer via Flatpak and Flathub
Add Flathub Repository For SMPlayer Installation
To add the Flathub repository, which hosts the SMPlayer Flatpak package, run the following:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
This command ensures the Flathub repository is only added if it hasn’t been added.
Install SMPlayer via Flatpak Command
Install SMPlayer using Flatpak by executing:
flatpak install flathub io.smplayer.SMPlayer
This command installs the SMPlayer Flatpak package from the Flathub repository.
Note: If you have issues due to Flathub not being activated, run the following command to fix it:
flatpak remote-modify --enable flathub
Launching SMPlayer UI
CLI Commands to Launch SMPlayer
You can launch SMPlayer from the application menu or by running the following command in the terminal:
smplayer
For the Flatpak installation, use this command instead:
flatpak run io.smplayer.SMPlayer
GUI Methods to Launch SMPlayer
To open SMPlayer using the graphical user interface on Fedora Linux, follow these steps:
- Click on the ‘Activities’ in your desktop’s top left corner.
- In the search bar that appears, type “SMPlayer” to locate the application.
- Once the SMPlayer icon is displayed, click on it to launch the application.
Additional SMPlayer Commands
Update SMPlayer
RPM Fusion Update Method for SMPlayer
To update SMPlayer installed via RPM Fusion, run:
sudo dnf update smplayer
Or run a blanket check on all packages:
sudo dnf upgrade --refresh
Flatpak Update Method for SMPlayer
To update SMPlayer installed via Flatpak, run:
flatpak update io.smplayer.SMPlayer
Remove SMPlayer
RPM Fusion Remove Method for SMPlayer
To remove SMPlayer installed via RPM Fusion, execute the following command:
sudo dnf remove smplayer
Flatpak Remove Method for SMPlayer
To remove SMPlayer installed via Flatpak, run:
flatpak uninstall io.smplayer.SMPlayer
Conclusion
With SMPlayer successfully installed on your Fedora system, you can enjoy a comprehensive media playback experience with support for a wide range of formats and features. Whether you choose the RPM Fusion repository for a straightforward setup or Flatpak with Flathub for a more flexible installation, both methods provide access to SMPlayer’s robust capabilities. Regularly check for updates to keep your software current and enjoy the full range of features that SMPlayer offers for your audio and video needs.