How To Install lxmms2 on Ubuntu 22.04

In this tutorial we learn how to install lxmms2 on Ubuntu 22.04. lxmms2 is control XMMS2 with a LIRC compatible remote control

Introduction

In this tutorial we learn how to install lxmms2 on Ubuntu 22.04.

What is lxmms2

lxmms2 is:

lxmms2 is a tiny XMMS2 client to control XMMS2 with a LIRC compatible remote control. Following actions are supported:

  • play (starts playback)
  • pause (pauses playback)
  • toggle_play_pause (toggles pause and starts playback if XMMS2 is not playing at all)
  • toggle_pause (toggles pause)
  • stop (stops playback)
  • next (advances to the next track)
  • prev (goes back to the previous track)
  • volume_up (increases the volume)
  • volume_down (decreases the volume)

There are three methods to install lxmms2 on Ubuntu 22.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 lxmms2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lxmms2

Install lxmms2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lxmms2

Install lxmms2 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 lxmms2 using aptitude by running the following command:

sudo aptitude -y install lxmms2

How To Uninstall lxmms2 on Ubuntu 22.04

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

sudo apt-get remove lxmms2

Uninstall lxmms2 And Its Dependencies

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

sudo apt-get -y autoremove lxmms2

Remove lxmms2 Configurations and Data

To remove lxmms2 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge lxmms2

Remove lxmms2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lxmms2

References

Summary

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