How To Install timidity-el on Ubuntu 18.04

In this tutorial we learn how to install timidity-el on Ubuntu 18.04. timidity-el is Emacs front end to Timidity++

Introduction

In this tutorial we learn how to install timidity-el on Ubuntu 18.04.

What is timidity-el

timidity-el is:

The timidity.el Emacs-Lisp program is a front-end to the TiMidity++ software- only MIDI sequencer and MOD player. You can play MIDI amd MOD files directly from Emacs with this package.

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

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

sudo apt-get update

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

sudo apt-get -y install timidity-el

Install timidity-el Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install timidity-el

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

sudo aptitude -y install timidity-el

How To Uninstall timidity-el on Ubuntu 18.04

To uninstall only the timidity-el package we can use the following command:

sudo apt-get remove timidity-el

Uninstall timidity-el And Its Dependencies

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

sudo apt-get -y autoremove timidity-el

Remove timidity-el Configurations and Data

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

sudo apt-get -y purge timidity-el

Remove timidity-el configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge timidity-el

References

Summary

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