How To Install lxmusic on Ubuntu 18.04

In this tutorial we learn how to install lxmusic on Ubuntu 18.04. lxmusic is LXDE music player

Introduction

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

What is lxmusic

lxmusic is:

LXMusic is a GUI application for the Lightweight X11 Desktop Environment (LXDE).

It is a minimalist music player based on xmms2 and has server/client design. The user interface is quite simple, clean, and intuitive. At first glance, it looks similar to one of the famous players on Windows - foobar 2000.

There are three methods to install lxmusic 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 lxmusic Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lxmusic

Install lxmusic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lxmusic

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

sudo aptitude -y install lxmusic

How To Uninstall lxmusic on Ubuntu 18.04

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

sudo apt-get remove lxmusic

Uninstall lxmusic And Its Dependencies

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

sudo apt-get -y autoremove lxmusic

Remove lxmusic Configurations and Data

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

sudo apt-get -y purge lxmusic

Remove lxmusic configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lxmusic

References

Summary

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