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 Linux Mint 21 LTS release series using a LaunchPAD APT PPA with the command line terminal.
Table of Contents
Update Linux Mint
First, update your system to ensure all existing packages are up to date to avoid conflicts.
sudo apt update && sudo apt upgrade -y
Install SMPlayer – APT PPA Method
The best APT package manager method is to import and install the PPA by Alexander Pozdnyakov.
The first task is to import the GPG key needed for all the repositories.
If you have issues importing the GPG key, please see the end section on GPG troubleshooting at the end of the article.
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/alex-p.gpg --keyserver keyserver.ubuntu.com --recv-keys 8529B1E0F8BF7F65C12FABB0A4BCBD87CEF9E52D
With the GPG key imported, proceed to import the PPA with the following command.
echo 'deb [signed-by=/usr/share/keyrings/alex-p.gpg] https://ppa.launchpadcontent.net/alex-p/smplayer/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list.d/smplayer-alex-p.list
Before you continue, run an APT update to reflect the newly imported PPA.
sudo apt update
Now install the application.
sudo apt-get install smplayer smplayer-themes -y
Install SMPlayer – Flatpak Method
The second option is to use the Flatpak package manager. Flatpak should be installed already; the only requirement is to enable Flathub unless you previously removed the third-party package manager.
First, for users that have removed Flatpak, re-install the Flatpak manager.
sudo apt install flatpak -y
For users installing Flatpak for the first time, 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.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal.
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install SMPlayer 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.
Taskbar > Sound & Video > SMPlayer.
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 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.
Depending on the method of installation used, the following commands can be used to update.
APT Update Method
sudo apt upgrade && sudo apt upgrade
Flatpak Update Method
The command will also ensure all other packages that use the APT 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.
APT Remove Method
sudo apt autoremove smplayer smplayer-themes -y
Next, you should remove the PPA for users who will not use the software again.
sudo rm /usr/share/keyrings/alex-p.gpg /etc/apt/sources.list.d/smplayer-alex-p.list
Flatpak Remove Method
flatpak uninstall --delete-data info.smplayer.SMPlayer
Next, run the following command for any leftover clean-up.
flatpak remove --unused
How to Fix Broken GPG Import
Users that have installed Linux Mint for the first time or have not imported a GPG key before using the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs due to the directories not being created. This is an easy fix. Use the following command that will, in turn, generate the directories.
sudo gpg --list-keys
As above, the necessary directories have been created. This can be skipped, and use the following GPG import command below. If you have any issues with directories missing for this and any other PPA GPG key in the future, just run the above command.
Comments and Conclusion
SMPlayer is a great video player 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! For users who love free, open-source software, I recommend checking SMPlayer out.