How To Install libsratom-dev on Ubuntu 18.04

In this tutorial we learn how to install libsratom-dev on Ubuntu 18.04. libsratom-dev is library for serialising LV2 atoms to/from Turtle - development files

Introduction

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

What is libsratom-dev

libsratom-dev is:

Sratom is a new C library for serialising LV2 atoms to/from Turtle. It is intended to be a full serialisation solution for LV2 atoms, allowing implementations to serialise binary atoms to strings and read them back again. This is particularly useful for saving plugin state, or implementing plugin control with network transparency. Sratom uses Serd and Sord to do the work, it is a small library implemented in a single source file, suitable for direct inclusion in projects if avoiding a dependency is desired.

This package provides the development files for Sratom.

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

sudo apt-get -y install libsratom-dev

Install libsratom-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsratom-dev

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

sudo aptitude -y install libsratom-dev

How To Uninstall libsratom-dev on Ubuntu 18.04

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

sudo apt-get remove libsratom-dev

Uninstall libsratom-dev And Its Dependencies

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

sudo apt-get -y autoremove libsratom-dev

Remove libsratom-dev Configurations and Data

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

sudo apt-get -y purge libsratom-dev

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

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

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

References

Summary

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