How To Install libgnome2-gconf-perl on Ubuntu 18.04

In this tutorial we learn how to install libgnome2-gconf-perl on Ubuntu 18.04. libgnome2-gconf-perl is Perl interface to the GNOME GConf library

Introduction

In this tutorial we learn how to install libgnome2-gconf-perl on Ubuntu 18.04.

What is libgnome2-gconf-perl

libgnome2-gconf-perl is:

Gnome2::GConf allows a perl developer to use the GConf configuration system to store/retrieve the configuration of an application.

The GConf system is a powerful configuration manager based on a user daemon that handles a set of key and value pairs, and notifies any changes of the value to every program that monitors those keys. GConf is used by GNOME 2.x.

Find out more about GNOME at http://www.gnome.org.

The perl bindings follow the C API very closely, and the C reference documentation should be considered the canonical source: http://developer.gnome.org/doc/API/2.0/gconf/index.html

This module is part of gtk2-perl.

To discuss gtk2-perl, ask questions and flame/praise the authors, join [email protected] at lists.gnome.org.

Also have a look at the gtk2-perl website and sourceforge project page, http://gtk2-perl.sourceforge.net

There are three methods to install libgnome2-gconf-perl 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 libgnome2-gconf-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libgnome2-gconf-perl using apt-get by running the following command:

sudo apt-get -y install libgnome2-gconf-perl

Install libgnome2-gconf-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgnome2-gconf-perl using apt by running the following command:

sudo apt -y install libgnome2-gconf-perl

Install libgnome2-gconf-perl 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 libgnome2-gconf-perl using aptitude by running the following command:

sudo aptitude -y install libgnome2-gconf-perl

How To Uninstall libgnome2-gconf-perl on Ubuntu 18.04

To uninstall only the libgnome2-gconf-perl package we can use the following command:

sudo apt-get remove libgnome2-gconf-perl

Uninstall libgnome2-gconf-perl And Its Dependencies

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

sudo apt-get -y autoremove libgnome2-gconf-perl

Remove libgnome2-gconf-perl Configurations and Data

To remove libgnome2-gconf-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgnome2-gconf-perl

Remove libgnome2-gconf-perl configuration, data, and all of its dependencies

We can use the following command to remove libgnome2-gconf-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgnome2-gconf-perl

References

Summary

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