How To Install draai on Kali Linux

In this tutorial we learn how to install draai on Kali Linux. draai is Command-line music player for MPD

Introduction

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

What is draai

draai is:

Draai is a wrapper around mpc, making playing music from the commandline more enjoyable. mpc is a client for MPD, the Music Player Daemon. Using draai, one can play an audiofile (ogg, mp3, whatever your MPD offers), play all files in a predefined playlist, view details on current, past and future playing songs, skip to the next song, etc.

The interface is purely command-line. No fancy gui’s whatsoever. Draai consists of one zsh shell script, calling mpc.

Main differences with mpc: draai supports smooth fadeouts, draai can be used as an alarmclock, draai supports rescheduling a track as the upcoming track, draai offers fancy status windows. When draai starts playing the next song it informs syslog about it, including all details about the song; a “tail -F” on syslog yields a nice playlist history. Like mpc, draai comes with full zsh tabcompletion support. The author uses draai for doing DJ sets in clubs. If you, like the author, are a Unix sysadmin who likes to play music, you’ll like draai.

Next to draai itself, the package installs some extra utilities for dealing with audio files.

There are three methods to install draai 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 draai Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install draai

Install draai Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install draai

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

sudo aptitude -y install draai

How To Uninstall draai on Kali Linux

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

sudo apt-get remove draai

Uninstall draai And Its Dependencies

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

sudo apt-get -y autoremove draai

Remove draai Configurations and Data

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

sudo apt-get -y purge draai

Remove draai configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge draai

Dependencies

draai have the following dependencies:

References

Summary

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