How To Install randomplay on Ubuntu 18.04
Introduction
In this tutorial we learn how to install randomplay
on Ubuntu 18.04.
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 Ubuntu 18.04. 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 update
After updating apt database, We can install randomplay
using apt-get
by running the following command:
sudo apt-get -y install randomplay
Install randomplay Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install randomplay
using apt
by running the following command:
sudo apt -y install randomplay
Install randomplay 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install randomplay
using aptitude
by running the following command:
sudo aptitude -y install randomplay
How To Uninstall randomplay on Ubuntu 18.04
To uninstall only the randomplay
package we can use the following command:
sudo apt-get remove randomplay
Uninstall randomplay And Its Dependencies
To uninstall randomplay
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove randomplay
Remove randomplay Configurations and Data
To remove randomplay
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge randomplay
Remove 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 randomplay
References
Summary
In this tutorial we learn how to install randomplay
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.