How To Install lv2-c++-tools on Ubuntu 18.04
Introduction
In this tutorial we learn how to install lv2-c++-tools
on Ubuntu 18.04.
What is lv2-c++-tools
lv2-c++-tools is:
These are some tools and libraries that may come in handy when writing LV2 plugins in C++.
The following static libraries are provided:
- liblv2-plugin is a C++ library that you can use to write LV2 plugins by inheriting from a plugin base class and overriding a small number of functions.
- liblv2-gui is a C++ library that you can use to write LV2 plugin GUIs.
This package also contains the binaries lv2peg and lv2soname:
- lv2peg is a program that generates C header files from Turtle files containing LV2 plugin data.
- lv2soname is a program that generate the RDF triples needed to tell hosts that the library with that soname must never be unloaded even after your plugin GUI library has been unloaded.
This package provides runtime objects and development files.
There are three methods to install lv2-c++-tools
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-c++-tools 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-c++-tools
using apt-get
by running the following command:
sudo apt-get -y install lv2-c++-tools
Install lv2-c++-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lv2-c++-tools
using apt
by running the following command:
sudo apt -y install lv2-c++-tools
Install lv2-c++-tools 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-c++-tools
using aptitude
by running the following command:
sudo aptitude -y install lv2-c++-tools
How To Uninstall lv2-c++-tools on Ubuntu 18.04
To uninstall only the lv2-c++-tools
package we can use the following command:
sudo apt-get remove lv2-c++-tools
Uninstall lv2-c++-tools And Its Dependencies
To uninstall lv2-c++-tools
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove lv2-c++-tools
Remove lv2-c++-tools Configurations and Data
To remove lv2-c++-tools
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge lv2-c++-tools
Remove lv2-c++-tools configuration, data, and all of its dependencies
We can use the following command to remove lv2-c++-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lv2-c++-tools
References
Summary
In this tutorial we learn how to install lv2-c++-tools
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.