How To Install libsratom-doc on Debian 9

In this tutorial we learn how to install libsratom-doc on Debian 9. libsratom-doc is library for serialising LV2 atoms to/from Turtle - documentation

Introduction

In this tutorial we learn how to install libsratom-doc on Debian 9.

What is libsratom-doc

libsratom-doc 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 developer’s reference for sratom.

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

sudo apt-get -y install libsratom-doc

Install libsratom-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsratom-doc

Install libsratom-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libsratom-doc

How To Uninstall libsratom-doc on Debian 9

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

sudo apt-get remove libsratom-doc

Uninstall libsratom-doc And Its Dependencies

To uninstall libsratom-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libsratom-doc

Remove libsratom-doc Configurations and Data

To remove libsratom-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libsratom-doc

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

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

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

Dependencies

libsratom-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libsratom-doc package on Debian 9 using different package management tools: apt, apt-get and aptitude.