How To Install cplay on Debian 10

Learn how to install cplay on Debian 10 with this tutorial. cplay is Front-end for various audio players

Introduction

In this tutorial we learn how to install cplay on Debian 10.

What is cplay

cplay is:

cplay provides a user-friendly interface to play various types of sound files. It offers a simple file list with which you can navigate around looking for audio files and a playlist to which you can add the files you want to play. cplay can play the songs in your playlist in repeat or random mode, and offers the option to store the playlist.

Currently, the following audio formats are supported: MP3 (through madplay, mpg321 or splay), Ogg Vorbis (through ogg123), MOD and other module formats (through mikmod or xmp), WAV (through sox) and Speex (through speex).

There are three methods to install cplay on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cplay Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cplay

Install cplay Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cplay

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

sudo aptitude -y install cplay

How To Uninstall cplay on Debian 10

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

sudo apt-get remove cplay

Uninstall cplay And Its Dependencies

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

sudo apt-get -y autoremove cplay

Remove cplay Configurations and Data

To remove cplay configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge cplay

Remove cplay configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cplay

Dependencies

cplay have the following dependencies:

References

Summary

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