How To Install xmms2tray on Debian 9
Introduction
In this tutorial we learn how to install xmms2tray on Debian 9.
What is xmms2tray
xmms2tray is:
XMMS2tray is a small XMMS 2 client that displays an icon in a X11 system tray with a customizable popup menu and notification bubbles.
It is not (yet) a complete client by itself but provides an unobtrusive and simple way of controlling current playlist.
There are three methods to install xmms2tray on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install xmms2tray Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install xmms2tray using apt-get by running the following command:
sudo apt-get -y install xmms2tray
Install xmms2tray Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install xmms2tray using apt by running the following command:
sudo apt -y install xmms2tray
Install xmms2tray 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install xmms2tray using aptitude by running the following command:
sudo aptitude -y install xmms2tray
How To Uninstall xmms2tray on Debian 9
To uninstall only the xmms2tray package we can use the following command:
sudo apt-get remove xmms2tray
Uninstall xmms2tray And Its Dependencies
To uninstall xmms2tray and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove xmms2tray
Remove xmms2tray Configurations and Data
To remove xmms2tray configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge xmms2tray
Remove xmms2tray configuration, data, and all of its dependencies
We can use the following command to remove xmms2tray configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xmms2tray
Dependencies
xmms2tray have the following dependencies:
References
Summary
In this tutorial we learn how to install xmms2tray package on Debian 9 using different package management tools: apt, apt-get and aptitude.