How to Uninstall or Install smpeg-plaympeg on Ubuntu 22.04

Updated: October 8, 2022

SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound support. Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2. Audio is played through a slightly modified mpegsound library, part of splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams. In this guide, I will show you how to install smpeg-plaympeg on Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install smpeg-plaympeg on Ubuntu 22.04

Install smpeg-plaympeg Ubuntu 22.04

smpeg-plaympeg is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install smpeg-plaympeg using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get smpeg-plaympeg on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install smpeg-plaympeg Ubuntu by executing this command in the terminal.

sudo apt-get -y install smpeg-plaympeg

Install smpeg-plaympeg using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

Then, you can now install smpeg-plaympeg, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install smpeg-plaympeg Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install smpeg-plaympeg

Uninstall smpeg-plaympeg on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed smpeg-plaympeg using APT or Aptitude, you could uninstall smpeg-plaympeg on Ubuntu by running this command

sudo apt remove --auto-remove smpeg-plaympeg

To uninstall smpeg-plaympeg and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge smpeg-plaympeg

Ending

In this guide, I showed you ways to install smpeg-plaympeg on Ubuntu 22.04 and some ways to uninstall smpeg-plaympeg too. Please contact me if you require any assistance. I’d be delighted to respond.