How To Install pango on CentOS 8

pango is System for layout and rendering of internationalized text System for layout and rendering of internationalized text

Introduction

In this tutorial we learn how to install pango on CentOS 8.

What is pango

Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+. Pango is designed to be modular; the core Pango layout engine can be used with different font backends. The integration of Pango with Cairo provides a complete solution with high quality text handling and graphics rendering. pango 1.42.4 6.el8 x86_64 298 k pango-1.42.4-6.el8.src.rpm appstream System for layout and rendering of internationalized text http LGPLv2+ Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+. Pango is designed to be modular; the core Pango layout engine can be used with different font backends. The integration of Pango with Cairo provides a complete solution with high quality text handling and graphics rendering.

We can use yum or dnf to install pango on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pango.

Install pango on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install pango using dnf by running the following command:

sudo dnf -y install pango

Install pango on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install pango using yum by running the following command:

sudo yum -y install pango

How To Uninstall pango on CentOS 8

To uninstall only the pango package we can use the following command:

sudo dnf remove pango

pango Package Contents on CentOS 8

/usr/bin/pango-list
/usr/bin/pango-view
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/c9b78d154ee9638985d710295dcc6b558144b6
/usr/lib/.build-id/36
/usr/lib/.build-id/36/dcc9bb3744bcaa46e722c30b1075dcfd20a51d
/usr/lib/.build-id/43
/usr/lib/.build-id/43/ac19ed279266dc085132221ace6a805f5e3427
/usr/lib/.build-id/68
/usr/lib/.build-id/68/12089853099a340138ca62a49e4b07ab964282
/usr/lib/.build-id/87
/usr/lib/.build-id/87/d6360d8b5883ee0f0508e40d62809b24d19462
/usr/lib/.build-id/df
/usr/lib/.build-id/df/9418752e69957f643238457896260dfe7786a0
/usr/lib/girepository-1.0/Pango-1.0.typelib
/usr/lib/girepository-1.0/PangoCairo-1.0.typelib
/usr/lib/girepository-1.0/PangoFT2-1.0.typelib
/usr/lib/girepository-1.0/PangoXft-1.0.typelib
/usr/lib/libpango-1.0.so.0
/usr/lib/libpango-1.0.so.0.4200.3
/usr/lib/libpangocairo-1.0.so.0
/usr/lib/libpangocairo-1.0.so.0.4200.3
/usr/lib/libpangoft2-1.0.so.0
/usr/lib/libpangoft2-1.0.so.0.4200.3
/usr/lib/libpangoxft-1.0.so.0
/usr/lib/libpangoxft-1.0.so.0.4200.3
/usr/share/doc/pango
/usr/share/doc/pango/AUTHORS
/usr/share/doc/pango/NEWS
/usr/share/doc/pango/README
/usr/share/licenses/pango
/usr/share/licenses/pango/COPYING
/usr/share/man/man1/pango-view.1.gz
/usr/bin/pango-list
/usr/bin/pango-view
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/846ed0c5b6ae40a5a8e572fe27448fcd15e35e
/usr/lib/.build-id/62
/usr/lib/.build-id/62/1809d7a567841644daef7297ae48f27dbb2450
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/1e3dc899e0b52fa0cdece1a6c9a8541dad40c7
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/9214cb0b16eb9571e757ae61d29b7382dda6b9
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/53c5cf068a9bbf7d9f97a90bdfa5ad37dc0cb9
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/8b9433c421d570f07571036c81462bd56c8e2d
/usr/lib64/girepository-1.0/Pango-1.0.typelib
/usr/lib64/girepository-1.0/PangoCairo-1.0.typelib
/usr/lib64/girepository-1.0/PangoFT2-1.0.typelib
/usr/lib64/girepository-1.0/PangoXft-1.0.typelib
/usr/lib64/libpango-1.0.so.0
/usr/lib64/libpango-1.0.so.0.4200.3
/usr/lib64/libpangocairo-1.0.so.0
/usr/lib64/libpangocairo-1.0.so.0.4200.3
/usr/lib64/libpangoft2-1.0.so.0
/usr/lib64/libpangoft2-1.0.so.0.4200.3
/usr/lib64/libpangoxft-1.0.so.0
/usr/lib64/libpangoxft-1.0.so.0.4200.3
/usr/share/doc/pango
/usr/share/doc/pango/AUTHORS
/usr/share/doc/pango/NEWS
/usr/share/doc/pango/README
/usr/share/licenses/pango
/usr/share/licenses/pango/COPYING
/usr/share/man/man1/pango-view.1.gz

References

Summary

In this tutorial we learn how to install pango on CentOS 8 using yum and dnf.