How To Install libgtk2-ex-entry-pango-perl on Ubuntu 18.04

In this tutorial we learn how to install libgtk2-ex-entry-pango-perl on Ubuntu 18.04. libgtk2-ex-entry-pango-perl is Gtk2

Introduction

In this tutorial we learn how to install libgtk2-ex-entry-pango-perl on Ubuntu 18.04.

What is libgtk2-ex-entry-pango-perl

libgtk2-ex-entry-pango-perl is:

Gtk2::Ex::Entry::Pango is a Gtk2::Entry that can accept Pango markup for various purposes (for more information about Pango text markup language see http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html).

The widget allows Pango markup to be used for input as an alternative to set_text or for setting a default value when the widget is empty. The default value when empty is ideal for standalone text entries that have no accompanying label (such as a text field for a search).

This widget allows for the text data to be entered either through the normal methods provided by Gtk2::Entry or to use the method /set_markup. It’s possible to switch between two methods for applying the text. The standard Gtk2::Entry methods will always apply a text without styles while set_markup() will use a style.

There are three methods to install libgtk2-ex-entry-pango-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-ex-entry-pango-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-ex-entry-pango-perl using apt-get by running the following command:

sudo apt-get -y install libgtk2-ex-entry-pango-perl

Install libgtk2-ex-entry-pango-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgtk2-ex-entry-pango-perl using apt by running the following command:

sudo apt -y install libgtk2-ex-entry-pango-perl

Install libgtk2-ex-entry-pango-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-ex-entry-pango-perl using aptitude by running the following command:

sudo aptitude -y install libgtk2-ex-entry-pango-perl

How To Uninstall libgtk2-ex-entry-pango-perl on Ubuntu 18.04

To uninstall only the libgtk2-ex-entry-pango-perl package we can use the following command:

sudo apt-get remove libgtk2-ex-entry-pango-perl

Uninstall libgtk2-ex-entry-pango-perl And Its Dependencies

To uninstall libgtk2-ex-entry-pango-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-ex-entry-pango-perl

Remove libgtk2-ex-entry-pango-perl Configurations and Data

To remove libgtk2-ex-entry-pango-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgtk2-ex-entry-pango-perl

Remove libgtk2-ex-entry-pango-perl configuration, data, and all of its dependencies

We can use the following command to remove libgtk2-ex-entry-pango-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgtk2-ex-entry-pango-perl

References

Summary

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