How To Install liblscp-dev on Ubuntu 18.04

In this tutorial we learn how to install liblscp-dev on Ubuntu 18.04. liblscp-dev is Development files for LinuxSampler Control Protocol library

Introduction

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

What is liblscp-dev

liblscp-dev is:

This package is for use with the LinuxSampler audio sampling engine / library and packages. Wraps the LinuxSampler network protocol and offers a convenient API in form of a C library.

This package contains the header files needed for development with liblscp. You will need this only if you intend to compile programs that use this library.

There are three methods to install liblscp-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 liblscp-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 liblscp-dev using apt-get by running the following command:

sudo apt-get -y install liblscp-dev

Install liblscp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblscp-dev

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

sudo aptitude -y install liblscp-dev

How To Uninstall liblscp-dev on Ubuntu 18.04

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

sudo apt-get remove liblscp-dev

Uninstall liblscp-dev And Its Dependencies

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

sudo apt-get -y autoremove liblscp-dev

Remove liblscp-dev Configurations and Data

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

sudo apt-get -y purge liblscp-dev

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

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

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

References

Summary

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