How To Install pygobject3-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pygobject3-devel.x86_64 in Amazon Linux 2. pygobject3-devel.x86_64 is Development files for embedding PyGObject introspection support

Introduction

In this tutorial we learn how to install pygobject3-devel.x86_64 on Amazon Linux 2.

What is pygobject3-devel.x86_64

This package contains files required to embed PyGObject

We can use yum to install pygobject3-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pygobject3-devel.x86_64.

Install pygobject3-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pygobject3-devel.x86_64 using yum by running the following command:

sudo yum -y install pygobject3-devel.x86_64

How To Uninstall pygobject3-devel.x86_64 on Amazon Linux 2

To uninstall only the pygobject3-devel.x86_64 package we can use the following command:

sudo yum remove pygobject3-devel.x86_64

pygobject3-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/pygobject-3.0
/usr/include/pygobject-3.0/pygobject.h
/usr/lib64/pkgconfig/pygobject-3.0.pc
/usr/share/doc/pygobject3-devel-3.22.0
/usr/share/doc/pygobject3-devel-3.22.0/examples
/usr/share/doc/pygobject3-devel-3.22.0/examples/cairo-demo.py
/usr/share/doc/pygobject3-devel-3.22.0/examples/option.py
/usr/share/doc/pygobject3-devel-3.22.0/examples/properties.py
/usr/share/doc/pygobject3-devel-3.22.0/examples/signal.py

References

Summary

In this tutorial we learn how to install pygobject3-devel.x86_64 on Amazon Linux 2 using yum.