How To Install lv2-dev on Ubuntu 18.04

In this tutorial we learn how to install lv2-dev on Ubuntu 18.04. lv2-dev is LV2 audio plugin specification

Introduction

In this tutorial we learn how to install lv2-dev on Ubuntu 18.04.

What is lv2-dev

lv2-dev is:

LV2 is a simple but extensible successor of LADSPA plugins, intended to address the limitations of LADSPA which many applications have outgrown.

This package contains the LV2 audio plugin specification, with all the official extension packages, as well as example plugins, lv2specgen, and additional data.

Implementations are encouraged to abandon the “copy paste headers” practice and depend on this package instead.

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

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

sudo apt-get update

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

sudo apt-get -y install lv2-dev

Install lv2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lv2-dev

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

sudo aptitude -y install lv2-dev

How To Uninstall lv2-dev on Ubuntu 18.04

To uninstall only the lv2-dev package we can use the following command:

sudo apt-get remove lv2-dev

Uninstall lv2-dev And Its Dependencies

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

sudo apt-get -y autoremove lv2-dev

Remove lv2-dev Configurations and Data

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

sudo apt-get -y purge lv2-dev

Remove lv2-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lv2-dev

References

Summary

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