How To Install randomplay on Kali Linux
Introduction
In this tutorial we learn how to install randomplay on Kali Linux.
What is randomplay
randomplay is:
Randomplay plays your music collection (or execute any arbitrary commands on any arbitrary filetypes) in random order, remembering songs played across sessions. It also has many features to make command-line music playing more convenient, including recursive regexp searching for tracks and the ability to specify a certain number of tracks, bytes, or minutes to play. Randomplay will also generate a list of music files to be loaded onto a portable music player device. It includes a ‘random weighting’ feature, so your favorite songs are more likely to come up in the random shuffle.
Randomplay is a convenient tool for the user who does everything in an xterm window or console and is constantly devising complex find/grep/sed command lines to play just the right set of songs.
There are three methods to install randomplay 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 randomplay Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install randomplay using apt-get by running the following command:
sudo apt-get -y install randomplayInstall randomplay Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install randomplay using apt by running the following command:
sudo apt -y install randomplayInstall randomplay 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 randomplay using aptitude by running the following command:
sudo aptitude -y install randomplayHow To Uninstall randomplay on Kali Linux
To uninstall only the randomplay package we can use the following command:
sudo apt-get remove randomplayUninstall randomplay And Its Dependencies
To uninstall randomplay and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove randomplayRemove randomplay Configurations and Data
To remove randomplay configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge randomplayRemove randomplay configuration, data, and all of its dependencies
We can use the following command to remove randomplay configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge randomplayDependencies
randomplay have the following dependencies:
- libdate-calc-perl
- libdate-manip-perl
- libmp3-info-perl
- libogg-vorbis-header-pureperl-perl
- libterm-readkey-perl
- perl
References
Summary
In this tutorial we learn how to install randomplay package on Kali Linux using different package management tools: apt, apt-get and aptitude.