How To Install moc on Kali Linux

In this tutorial we learn how to install moc on Kali Linux. moc is ncurses based console audio player

Introduction

In this tutorial we learn how to install moc on Kali Linux.

What is moc

moc is:

moc (music on console) is a full-screen player designed to be powerful and easy to use.

Supported file formats are: MP3, OGG Vorbis, FLAC, OPUS, WAVE, SPEEX, Musepack (MPC), AIFF, AU (and other less popular formats supported by libsndfile). New formats support is under development.

Other features: simple mixer, colour themes, searching the menu (the playlist or a directory) like M-s in Midnight Commander, the way MOC creates titles from tags is configurable, optional character set conversion for file tags using iconv(), OSS or ALSA output.

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

Install moc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install moc

Install moc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install moc

Install moc Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install moc

How To Uninstall moc on Kali Linux

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

sudo apt-get remove moc

Uninstall moc And Its Dependencies

To uninstall moc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove moc

Remove moc Configurations and Data

To remove moc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge moc

Remove moc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge moc

Dependencies

moc have the following dependencies:

References

Summary

In this tutorial we learn how to install moc package on Kali Linux using different package management tools: apt, apt-get and aptitude.