How To Install pykaraoke-bin on Ubuntu 18.04

In this tutorial we learn how to install pykaraoke-bin on Ubuntu 18.04. pykaraoke-bin is free CDG/MIDI/MPEG karaoke player

Introduction

In this tutorial we learn how to install pykaraoke-bin on Ubuntu 18.04.

What is pykaraoke-bin

pykaraoke-bin is:

PyKaraoke is a free karaoke player. You can use this program to play your collection of CDG, MIDI and MPEG karaoke songs.

This package includes the command-line programs to play CDG files, MIDI/KAR files and MPEG files.

pykaraoke-mini is a frontend for the pycdg and pympg karaoke players. It is similar to pykaraoke, but it is designed for use on small portable devices rather than PC’s. In particular, it could be useful on any device lacking a keyboard and mouse.

Features: * CDG (MP3+G, OGG+G) playback - Play standard CDG karaoke files * MIDI (.MID/.KAR) playback - Play MIDI format karaoke files * MPEG playback - Play karaoke songs and movies in MPEG format

MIDI/KAR support on Linux, requires the following: * Timidity++ * Sounds/patches for Timidity++ (e.g. freepats or eawpatches)

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

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

sudo apt-get update

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

sudo apt-get -y install pykaraoke-bin

Install pykaraoke-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pykaraoke-bin

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

sudo aptitude -y install pykaraoke-bin

How To Uninstall pykaraoke-bin on Ubuntu 18.04

To uninstall only the pykaraoke-bin package we can use the following command:

sudo apt-get remove pykaraoke-bin

Uninstall pykaraoke-bin And Its Dependencies

To uninstall pykaraoke-bin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove pykaraoke-bin

Remove pykaraoke-bin Configurations and Data

To remove pykaraoke-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pykaraoke-bin

Remove pykaraoke-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pykaraoke-bin

References

Summary

In this tutorial we learn how to install pykaraoke-bin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.