How To Install libgtk2-gladexml-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libgtk2-gladexml-perl
on Ubuntu 18.04.
What is libgtk2-gladexml-perl
libgtk2-gladexml-perl is:
libgtk2-gladexml-perl allows a Perl developer to use the gladexml part of the libglade library.
Glade is a free user interface builder for Gtk+ and GNOME. After designing a user interface with glade-2 the layout and configuration are saved in an XML file. libglade is a library which knows how to build and hook up the user interface described in the Glade XML file at application run time.
This module even allows developers to load a interface definition into a scalar to customize them just before loading the application itself.
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/libglade/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 libgtk2-gladexml-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 libgtk2-gladexml-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 libgtk2-gladexml-perl
using apt-get
by running the following command:
sudo apt-get -y install libgtk2-gladexml-perl
Install libgtk2-gladexml-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgtk2-gladexml-perl
using apt
by running the following command:
sudo apt -y install libgtk2-gladexml-perl
Install libgtk2-gladexml-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 libgtk2-gladexml-perl
using aptitude
by running the following command:
sudo aptitude -y install libgtk2-gladexml-perl
How To Uninstall libgtk2-gladexml-perl on Ubuntu 18.04
To uninstall only the libgtk2-gladexml-perl
package we can use the following command:
sudo apt-get remove libgtk2-gladexml-perl
Uninstall libgtk2-gladexml-perl And Its Dependencies
To uninstall libgtk2-gladexml-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libgtk2-gladexml-perl
Remove libgtk2-gladexml-perl Configurations and Data
To remove libgtk2-gladexml-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libgtk2-gladexml-perl
Remove libgtk2-gladexml-perl configuration, data, and all of its dependencies
We can use the following command to remove libgtk2-gladexml-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgtk2-gladexml-perl
References
Summary
In this tutorial we learn how to install libgtk2-gladexml-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.