DebianDebian Based

How To Install SMPlayer on Debian 12

Install SMPlayer Debian 12

In this tutorial, we will show you how to install SMPlayer on Debian 12. In today’s digital age, multimedia content surrounds us, from movies and music to online tutorials and presentations. To fully appreciate this rich array of media, having a powerful and versatile media player is essential. SMPlayer, an open-source media player, stands out as an exceptional choice for Debian 12 users seeking seamless playback, customization, and ease of use.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of SMPlayer on a Debian 12 (Bookworm).

Prerequisites

  • A server running one of the following operating systems: Debian 12 (Bookworm).
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for SMPlayer.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install SMPlayer Debian 12 Bookworm

Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt commands in the terminal:

sudo apt update
sudo apt install apt-transport-https curl gnupg

This command will refresh the repository, allowing you to install the latest versions of software packages.

Step 2. Installing Erlang on Debian 12.

  • Method 1: Using the package manager (apt)

Now, it’s time to install SMPlayer. Execute the following command in your terminal:

sudo apt install smplayer

Sit back as your system takes care of downloading and installing SMPlayer and its necessary dependencies. Confirm the installation by responding with ‘Y’ and pressing Enter.

Confirm that SMPlayer is successfully installed by checking its version. In the terminal, run:

smplayer --version

When executed, this command displays the version number of the installed SMPlayer.

  • Method 2: Compiling from the source

If you prefer to compile SMPlayer from the source, you can follow these steps. First, install the required build tools and libraries by running the following command:

sudo apt install build-essential git cmake qtbase5-dev libqt5svg5-dev libx11-dev libxext-dev libxinerama-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libkf5config-dev libkf5configwidgets-dev libkf5xmlgui-dev libkf5iconthemes-dev libkf5notifications-dev libkf5kio-dev libkf5parts-dev libkf5texteditor-dev libvlc-dev libvlccore-dev libmpv-dev

Clone the SMPlayer source code from the official repository by running the following command:

git clone https://github.com/smplayer-dev/smplayer.git

Change to the SMPlayer source code directory by running the following command:

cd smplayer

Create a build directory by running the following command:

mkdir build

Change to the build directory by running the following command:

cd build

Configure the build by running the following command:

cmake ..

Build SMPlayer by running the following command:

make

Install SMPlayer by running the following command:

sudo make install

Wait for the installation to complete.

Step 3. Launching SMPlayer on Debian.

Once the installation is complete, you can launch SMPlayer from the applications menu.

smplayer

Install SMPlayer Debian 12 Bookworm

Step 4. Troubleshooting Tips.

While SMPlayer generally offers a seamless experience, occasional hiccups can occur. Here are a few troubleshooting steps:

  1. Audio/Video Sync Issues: If you encounter synchronization problems between audio and video, adjust the audio delay. Right-click the playing video, navigate to “Audio” > “Audio delay,” and fine-tune it.
  2. Subtitle Problems: Subtitles out of sync? Right-click the video, navigate to “Subtitles” > “Subtitle delay,” and make the necessary adjustments.
  3. Codec Errors: If you encounter codec-related issues, ensure you have the necessary codecs installed. You can install additional codecs using the package manager, e.g., sudo apt install ubuntu-restricted-extras.

Congratulations! You have successfully installed SMPlayer. Thanks for using this tutorial for installing the latest version of SMPlayer on Debian 12 Bookworm. For additional help or useful information, we recommend you check the official SMPlayer website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button