How To Install lib4store-dev on Ubuntu 18.04

In this tutorial we learn how to install lib4store-dev on Ubuntu 18.04. lib4store-dev is RDF database storage and query engine – development files

Introduction

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

What is lib4store-dev

lib4store-dev is:

4store is a database storage and query engine that holds RDF data.

4store’s main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist.

This package contains the development headers and static library.

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

sudo apt-get -y install lib4store-dev

Install lib4store-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lib4store-dev

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

sudo aptitude -y install lib4store-dev

How To Uninstall lib4store-dev on Ubuntu 18.04

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

sudo apt-get remove lib4store-dev

Uninstall lib4store-dev And Its Dependencies

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

sudo apt-get -y autoremove lib4store-dev

Remove lib4store-dev Configurations and Data

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

sudo apt-get -y purge lib4store-dev

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

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

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

References

Summary

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