How To Install plait on Debian 9

In this tutorial we learn how to install plait on Debian 9. plait is command-line jukebox

Introduction

In this tutorial we learn how to install plait on Debian 9.

What is plait

plait is:

Plait (pronounced “play”) is a command-line jukebox and music player front end. It understands brief, easy to type queries that pick a single song, mix queries that combine works from multiple artists, stream queries that find Shoutcast radio streams, and everything in between.

A variety of filters are available to pick just the music you want to hear. In order to actually play the music it finds, Plait automatically hands off a play list to one of the supported music players (or you can use it manually with any player that supports .m3u playlists).

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

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

sudo apt-get update

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

sudo apt-get -y install plait

Install plait Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install plait

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

sudo aptitude -y install plait

How To Uninstall plait on Debian 9

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

sudo apt-get remove plait

Uninstall plait And Its Dependencies

To uninstall plait and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove plait

Remove plait Configurations and Data

To remove plait configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge plait

Remove plait configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge plait

Dependencies

plait have the following dependencies:

References

Summary

In this tutorial we learn how to install plait package on Debian 9 using different package management tools: apt, apt-get and aptitude.