How To Install libinstpatch-doc on Ubuntu 18.04

In this tutorial we learn how to install libinstpatch-doc on Ubuntu 18.04. libinstpatch-doc is MIDI instrument editing library documentation

Introduction

In this tutorial we learn how to install libinstpatch-doc on Ubuntu 18.04.

What is libinstpatch-doc

libinstpatch-doc is:

libInstPatch stands for lib-Instrument-Patch and is a library for processing digital sample based MIDI instrument “patch” files. The types of files libInstPatch supports are used for creating instrument sounds for wavetable synthesis. This library provides an object framework (based on GObject) to load patch files into, which can then be edited, converted, compressed and saved.

More information can be found on the Project Swami website http://swami.sourceforge.net.

This package contains the documentation for libinstpatch1 in /usr/share/gtk-doc/html/libinstpatch.

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

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

sudo apt-get update

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

sudo apt-get -y install libinstpatch-doc

Install libinstpatch-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libinstpatch-doc

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

sudo aptitude -y install libinstpatch-doc

How To Uninstall libinstpatch-doc on Ubuntu 18.04

To uninstall only the libinstpatch-doc package we can use the following command:

sudo apt-get remove libinstpatch-doc

Uninstall libinstpatch-doc And Its Dependencies

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

sudo apt-get -y autoremove libinstpatch-doc

Remove libinstpatch-doc Configurations and Data

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

sudo apt-get -y purge libinstpatch-doc

Remove libinstpatch-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libinstpatch-doc

References

Summary

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