How To Install moc on Kali Linux
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 updateAfter updating apt database, We can install moc using apt-get by running the following command:
sudo apt-get -y install mocInstall moc Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install moc using apt by running the following command:
sudo apt -y install mocInstall 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 updateAfter updating apt database, We can install moc using aptitude by running the following command:
sudo aptitude -y install mocHow To Uninstall moc on Kali Linux
To uninstall only the moc package we can use the following command:
sudo apt-get remove mocUninstall 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 mocRemove moc Configurations and Data
To remove moc configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mocRemove 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 mocDependencies
moc have the following dependencies:
- libasound2
- libc6
- libcurl3-gnutls
- libdb5.3
- libfaad2
- libflac8
- libgcc-s1
- libid3tag0
- libjack-jackd2-0
- libltdl7
- libmad0
- libmagic1
- libmodplug1
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.