How To Install libpango-perl on Ubuntu 20.04

In this tutorial we learn how to install libpango-perl on Ubuntu 20.04. libpango-perl is Perl module to layout and render international text

Introduction

In this tutorial we learn how to install libpango-perl on Ubuntu 20.04.

What is libpango-perl

libpango-perl is:

Pango is a library for laying out and rendering text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, but using Pango in conjunction with Cairo and/or Gtk2 provides a complete solution with high quality text handling and graphics rendering.

This package provides the Perl bindings for the Pango library. Task: ubuntu-mate-core, ubuntu-mate-desktop

There are three methods to install libpango-perl on Ubuntu 20.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 libpango-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 libpango-perl using apt-get by running the following command:

sudo apt-get -y install libpango-perl

Install libpango-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpango-perl

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

sudo aptitude -y install libpango-perl

How To Uninstall libpango-perl on Ubuntu 20.04

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

sudo apt-get remove libpango-perl

Uninstall libpango-perl And Its Dependencies

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

sudo apt-get -y autoremove libpango-perl

Remove libpango-perl Configurations and Data

To remove libpango-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libpango-perl

Remove libpango-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpango-perl

References

Summary

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