How To Install libsord-dev on Debian 11

In this tutorial we learn how to install libsord-dev on Debian 11. libsord-dev is library for storing RDF data in memory (development files)

Introduction

In this tutorial we learn how to install libsord-dev on Debian 11.

What is libsord-dev

libsord-dev is:

Sord is a lightweight C library for storing Resource Description Framework (RDF) data in memory.

This package provides the development headers.

There are three methods to install libsord-dev on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsord-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 libsord-dev using apt-get by running the following command:

sudo apt-get -y install libsord-dev

Install libsord-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsord-dev

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

sudo aptitude update

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

sudo aptitude -y install libsord-dev

How To Uninstall libsord-dev on Debian 11

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

sudo apt-get remove libsord-dev

Uninstall libsord-dev And Its Dependencies

To uninstall libsord-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libsord-dev

Remove libsord-dev Configurations and Data

To remove libsord-dev configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libsord-dev

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

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

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

Dependencies

libsord-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libsord-dev package on Debian 11 using different package management tools: apt, apt-get and aptitude.