How To Install libglademm-2.4-dev on Ubuntu 18.04

In this tutorial we learn how to install libglademm-2.4-dev on Ubuntu 18.04. libglademm-2.4-dev is C++ wrappers for libglade2 (development files)

Introduction

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

What is libglademm-2.4-dev

libglademm-2.4-dev is:

Libglade is a library which enables an application to build its graphical interface from an XML file (generated by Glade) at runtime. libglademm is the C++ wrapper for libglade.

libglade and libglademm have been deprecated since 2009. New code should use GtkBuilder (part of Gtk 3), or its C++ wrapper in gtkmm.

This package contains development files.

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

sudo apt-get -y install libglademm-2.4-dev

Install libglademm-2.4-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libglademm-2.4-dev

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

sudo aptitude -y install libglademm-2.4-dev

How To Uninstall libglademm-2.4-dev on Ubuntu 18.04

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

sudo apt-get remove libglademm-2.4-dev

Uninstall libglademm-2.4-dev And Its Dependencies

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

sudo apt-get -y autoremove libglademm-2.4-dev

Remove libglademm-2.4-dev Configurations and Data

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

sudo apt-get -y purge libglademm-2.4-dev

Remove libglademm-2.4-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libglademm-2.4-dev

References

Summary

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