How To Install python3-gobject-base on Rocky Linux 8

In this tutorial we learn how to install python3-gobject-base on Rocky Linux 8. python3-gobject-base is Python 3 bindings for GObject Introspection base package

Introduction

In this tutorial we learn how to install python3-gobject-base on Rocky Linux 8.

What is python3-gobject-base

This package provides the non-cairo specific bits of the GObject Introspection library.

We can use yum or dnf to install python3-gobject-base on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-gobject-base.

Install python3-gobject-base on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-gobject-base using dnf by running the following command:

sudo dnf -y install python3-gobject-base

Install python3-gobject-base on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-gobject-base using yum by running the following command:

sudo yum -y install python3-gobject-base

How To Uninstall python3-gobject-base on Rocky Linux 8

To uninstall only the python3-gobject-base package we can use the following command:

sudo dnf remove python3-gobject-base

python3-gobject-base Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/f93943f6ecb3a3e138eda1b2e7a6b362d6c28b
/usr/lib/.build-id/7a/bda5687a2c1bf7fc2c8b806d329faa3c307f46
/usr/lib64/python3.6/site-packages/gi
/usr/lib64/python3.6/site-packages/gi/__init__.py
/usr/lib64/python3.6/site-packages/gi/__pycache__
/usr/lib64/python3.6/site-packages/gi/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_constants.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_constants.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_error.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_error.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_option.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_option.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_ossighelper.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_ossighelper.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_propertyhelper.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_propertyhelper.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_signalhelper.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/_signalhelper.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/docstring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/docstring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/importer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/importer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/module.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/module.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/pygtkcompat.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/pygtkcompat.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/types.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/__pycache__/types.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/_constants.py
/usr/lib64/python3.6/site-packages/gi/_error.py
/usr/lib64/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/gi/_option.py
/usr/lib64/python3.6/site-packages/gi/_ossighelper.py
/usr/lib64/python3.6/site-packages/gi/_propertyhelper.py
/usr/lib64/python3.6/site-packages/gi/_signalhelper.py
/usr/lib64/python3.6/site-packages/gi/docstring.py
/usr/lib64/python3.6/site-packages/gi/importer.py
/usr/lib64/python3.6/site-packages/gi/module.py
/usr/lib64/python3.6/site-packages/gi/overrides
/usr/lib64/python3.6/site-packages/gi/overrides/GIMarshallingTests.py
/usr/lib64/python3.6/site-packages/gi/overrides/GLib.py
/usr/lib64/python3.6/site-packages/gi/overrides/GObject.py
/usr/lib64/python3.6/site-packages/gi/overrides/Gdk.py
/usr/lib64/python3.6/site-packages/gi/overrides/Gio.py
/usr/lib64/python3.6/site-packages/gi/overrides/Gtk.py
/usr/lib64/python3.6/site-packages/gi/overrides/Pango.py
/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GLib.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GLib.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GObject.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/GObject.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gdk.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gdk.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gio.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gio.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gtk.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Gtk.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Pango.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/Pango.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/keysyms.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/__pycache__/keysyms.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/overrides/keysyms.py
/usr/lib64/python3.6/site-packages/gi/pygtkcompat.py
/usr/lib64/python3.6/site-packages/gi/repository
/usr/lib64/python3.6/site-packages/gi/repository/__init__.py
/usr/lib64/python3.6/site-packages/gi/repository/__pycache__
/usr/lib64/python3.6/site-packages/gi/repository/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/gi/repository/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/gi/types.py
/usr/lib64/python3.6/site-packages/pygobject-3.28.3-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pygtkcompat
/usr/lib64/python3.6/site-packages/pygtkcompat/__init__.py
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygtkcompat/generictreemodel.py
/usr/lib64/python3.6/site-packages/pygtkcompat/pygtkcompat.py
/usr/share/doc/python3-gobject-base
/usr/share/doc/python3-gobject-base/NEWS
/usr/share/licenses/python3-gobject-base
/usr/share/licenses/python3-gobject-base/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/8d65145fed540da1523b66247a0eaa3d825491
/usr/lib/.build-id/f7/500fdad510ca364e6f068ae5f6c5793eb5318e
/usr/lib/python3.6/site-packages/gi
/usr/lib/python3.6/site-packages/gi/__init__.py
/usr/lib/python3.6/site-packages/gi/__pycache__
/usr/lib/python3.6/site-packages/gi/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_error.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_option.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_option.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_ossighelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_ossighelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_propertyhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_propertyhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_signalhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/_signalhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/docstring.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/docstring.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/importer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/importer.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/module.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/module.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/pygtkcompat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/pygtkcompat.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/types.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/__pycache__/types.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/_constants.py
/usr/lib/python3.6/site-packages/gi/_error.py
/usr/lib/python3.6/site-packages/gi/_gi.cpython-36m-i386-linux-gnu.so
/usr/lib/python3.6/site-packages/gi/_option.py
/usr/lib/python3.6/site-packages/gi/_ossighelper.py
/usr/lib/python3.6/site-packages/gi/_propertyhelper.py
/usr/lib/python3.6/site-packages/gi/_signalhelper.py
/usr/lib/python3.6/site-packages/gi/docstring.py
/usr/lib/python3.6/site-packages/gi/importer.py
/usr/lib/python3.6/site-packages/gi/module.py
/usr/lib/python3.6/site-packages/gi/overrides
/usr/lib/python3.6/site-packages/gi/overrides/GIMarshallingTests.py
/usr/lib/python3.6/site-packages/gi/overrides/GLib.py
/usr/lib/python3.6/site-packages/gi/overrides/GObject.py
/usr/lib/python3.6/site-packages/gi/overrides/Gdk.py
/usr/lib/python3.6/site-packages/gi/overrides/Gio.py
/usr/lib/python3.6/site-packages/gi/overrides/Gtk.py
/usr/lib/python3.6/site-packages/gi/overrides/Pango.py
/usr/lib/python3.6/site-packages/gi/overrides/__init__.py
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GIMarshallingTests.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GLib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GLib.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GObject.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/GObject.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gdk.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gdk.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gio.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gio.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gtk.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Gtk.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Pango.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/Pango.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/keysyms.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/overrides/__pycache__/keysyms.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/overrides/keysyms.py
/usr/lib/python3.6/site-packages/gi/pygtkcompat.py
/usr/lib/python3.6/site-packages/gi/repository
/usr/lib/python3.6/site-packages/gi/repository/__init__.py
/usr/lib/python3.6/site-packages/gi/repository/__pycache__
/usr/lib/python3.6/site-packages/gi/repository/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gi/repository/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gi/types.py
/usr/lib/python3.6/site-packages/pygobject-3.28.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/pygtkcompat
/usr/lib/python3.6/site-packages/pygtkcompat/__init__.py
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/generictreemodel.cpython-36.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-36.pyc
/usr/lib/python3.6/site-packages/pygtkcompat/generictreemodel.py
/usr/lib/python3.6/site-packages/pygtkcompat/pygtkcompat.py
/usr/share/doc/python3-gobject-base
/usr/share/doc/python3-gobject-base/NEWS
/usr/share/licenses/python3-gobject-base
/usr/share/licenses/python3-gobject-base/COPYING

References

Summary

In this tutorial we learn how to install python3-gobject-base on Rocky Linux 8 using yum and dnf.