How To Install giblib-dev on Ubuntu 18.04

In this tutorial we learn how to install giblib-dev on Ubuntu 18.04. giblib-dev is headers for giblib

Introduction

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

What is giblib-dev

giblib-dev is:

headers and static libraries for giblib, a library of handy stuff.

giblib contains an imlib2 wrapper to avoid the context stuff, doubly-linked lists and font styles.

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

sudo apt-get -y install giblib-dev

Install giblib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install giblib-dev

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

sudo aptitude -y install giblib-dev

How To Uninstall giblib-dev on Ubuntu 18.04

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

sudo apt-get remove giblib-dev

Uninstall giblib-dev And Its Dependencies

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

sudo apt-get -y autoremove giblib-dev

Remove giblib-dev Configurations and Data

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

sudo apt-get -y purge giblib-dev

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

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

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

References

Summary

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