How To Install libgkeyfile-cil-dev on Ubuntu 18.04

In this tutorial we learn how to install libgkeyfile-cil-dev on Ubuntu 18.04. libgkeyfile-cil-dev is GObject-based wrapper library for GKeyFile – CLI development files

Introduction

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

What is libgkeyfile-cil-dev

libgkeyfile-cil-dev is:

gkeyfile-sharp is a set of CLI bindings for the GKeyFile GObject class found in GLib. GKeyFile is a class that is used for parsing, editing, and creating key files, which are .ini like configuration files.

This package contains the development files needed to compile CLI applications which use this library.

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

sudo apt-get -y install libgkeyfile-cil-dev

Install libgkeyfile-cil-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgkeyfile-cil-dev

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

sudo aptitude -y install libgkeyfile-cil-dev

How To Uninstall libgkeyfile-cil-dev on Ubuntu 18.04

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

sudo apt-get remove libgkeyfile-cil-dev

Uninstall libgkeyfile-cil-dev And Its Dependencies

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

sudo apt-get -y autoremove libgkeyfile-cil-dev

Remove libgkeyfile-cil-dev Configurations and Data

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

sudo apt-get -y purge libgkeyfile-cil-dev

Remove libgkeyfile-cil-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgkeyfile-cil-dev

References

Summary

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