How To Install libsoprano-dev on Ubuntu 18.04

In this tutorial we learn how to install libsoprano-dev on Ubuntu 18.04. libsoprano-dev is development files for the Soprano RDF framework

Introduction

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

What is libsoprano-dev

libsoprano-dev is:

Soprano is a pluggable RDF storage, parsing, and serialization framework based on Qt 4. Soprano is targeted at desktop applications that need to store RDF data. Its API has been optimized for simplicity and ease of use, while its modular structure allows it to use various different RDF storage implementations as its backend.

This package contains development files for building software that uses the Soprano libraries.

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

sudo apt-get -y install libsoprano-dev

Install libsoprano-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsoprano-dev

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

sudo aptitude -y install libsoprano-dev

How To Uninstall libsoprano-dev on Ubuntu 18.04

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

sudo apt-get remove libsoprano-dev

Uninstall libsoprano-dev And Its Dependencies

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

sudo apt-get -y autoremove libsoprano-dev

Remove libsoprano-dev Configurations and Data

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

sudo apt-get -y purge libsoprano-dev

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

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

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

References

Summary

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