How To Install python-pykaraoke on Ubuntu 18.04

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

Introduction

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

What is python-pykaraoke

python-pykaraoke 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 Python modules needed to play CDG files, MIDI/KAR files and MPEG files.

This package also includes the arch-dependent modules that gives a major performance boost to the CDG player.

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 python-pykaraoke 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 python-pykaraoke Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-pykaraoke

Install python-pykaraoke Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pykaraoke

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

sudo aptitude -y install python-pykaraoke

How To Uninstall python-pykaraoke on Ubuntu 18.04

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

sudo apt-get remove python-pykaraoke

Uninstall python-pykaraoke And Its Dependencies

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

sudo apt-get -y autoremove python-pykaraoke

Remove python-pykaraoke Configurations and Data

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

sudo apt-get -y purge python-pykaraoke

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

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

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

References

Summary

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