How To Install libappstream-glib on Rocky Linux 8

In this tutorial we learn how to install libappstream-glib on Rocky Linux 8. libappstream-glib is Library for AppStream metadata

Introduction

In this tutorial we learn how to install libappstream-glib on Rocky Linux 8.

What is libappstream-glib

This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation.

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

Install libappstream-glib 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 libappstream-glib using dnf by running the following command:

sudo dnf -y install libappstream-glib

Install libappstream-glib 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 libappstream-glib using yum by running the following command:

sudo yum -y install libappstream-glib

How To Uninstall libappstream-glib on Rocky Linux 8

To uninstall only the libappstream-glib package we can use the following command:

sudo dnf remove libappstream-glib

libappstream-glib Package Contents on Rocky Linux 8

/usr/bin/appstream-compose
/usr/bin/appstream-util
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/f982c69d99de4d5996107c26b1bdb1c37633fb
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/9bb73a98037e8510bfae031bbf336833d2a3a4
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/f233da2ab6aa2edeb7084c6dcb3009a02a0bfc
/usr/lib64/girepository-1.0/AppStreamBuilder-1.0.typelib
/usr/lib64/girepository-1.0/AppStreamGlib-1.0.typelib
/usr/lib64/libappstream-glib.so.8
/usr/lib64/libappstream-glib.so.8.0.10
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/appstream-util
/usr/share/doc/libappstream-glib
/usr/share/doc/libappstream-glib/AUTHORS
/usr/share/doc/libappstream-glib/NEWS
/usr/share/doc/libappstream-glib/README.md
/usr/share/licenses/libappstream-glib
/usr/share/licenses/libappstream-glib/COPYING
/usr/share/locale/ca/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/cs/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/da/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/de/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/en_GB/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/es/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fi/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fur/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/gl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/hu/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/id/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/it/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/ko/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/lt/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/oc/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pt/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pt_BR/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/ru/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sk/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sr@latin/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sv/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/tr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/uk/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/zh_CN/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/zh_TW/LC_MESSAGES/appstream-glib.mo
/usr/share/man/man1/appstream-compose.1.gz
/usr/share/man/man1/appstream-util.1.gz
/usr/bin/appstream-compose
/usr/bin/appstream-util
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/11eb56a05796d2ee9e75fbb8c62d001fa48887
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/3f4403b73803cf1215076f38782607745fbd7f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/ed51ab92432550ddbf23aa71a5b9aa5e8776fb
/usr/lib/girepository-1.0/AppStreamBuilder-1.0.typelib
/usr/lib/girepository-1.0/AppStreamGlib-1.0.typelib
/usr/lib/libappstream-glib.so.8
/usr/lib/libappstream-glib.so.8.0.10
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/appstream-util
/usr/share/doc/libappstream-glib
/usr/share/doc/libappstream-glib/AUTHORS
/usr/share/doc/libappstream-glib/NEWS
/usr/share/doc/libappstream-glib/README.md
/usr/share/licenses/libappstream-glib
/usr/share/licenses/libappstream-glib/COPYING
/usr/share/locale/ca/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/cs/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/da/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/de/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/en_GB/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/es/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fi/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/fur/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/gl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/hu/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/id/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/it/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/ko/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/lt/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/oc/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pt/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/pt_BR/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/ru/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sk/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sl/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sr@latin/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/sv/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/tr/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/uk/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/zh_CN/LC_MESSAGES/appstream-glib.mo
/usr/share/locale/zh_TW/LC_MESSAGES/appstream-glib.mo
/usr/share/man/man1/appstream-compose.1.gz
/usr/share/man/man1/appstream-util.1.gz

References

Summary

In this tutorial we learn how to install libappstream-glib on Rocky Linux 8 using yum and dnf.