How To Install smplayer on Ubuntu 18.04

In this tutorial we learn how to install smplayer on Ubuntu 18.04. smplayer is Complete front-end for MPlayer and mpv

Introduction

In this tutorial we learn how to install smplayer on Ubuntu 18.04.

What is smplayer

smplayer is:

Qt5 front-end for mplayer and forks, with basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave… don’t worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume…

There are three methods to install smplayer on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install smplayer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install smplayer using apt-get by running the following command:

sudo apt-get -y install smplayer

Install smplayer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install smplayer using apt by running the following command:

sudo apt -y install smplayer

Install smplayer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install smplayer using aptitude by running the following command:

sudo aptitude -y install smplayer

How To Uninstall smplayer on Ubuntu 18.04

To uninstall only the smplayer package we can use the following command:

sudo apt-get remove smplayer

Uninstall smplayer And Its Dependencies

To uninstall smplayer and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove smplayer

Remove smplayer Configurations and Data

To remove smplayer configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge smplayer

Remove smplayer configuration, data, and all of its dependencies

We can use the following command to remove smplayer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge smplayer

References

Summary

In this tutorial we learn how to install smplayer package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.