How To Install spice-glib on Rocky Linux 8

In this tutorial we learn how to install spice-glib on Rocky Linux 8. spice-glib is A GObject for communicating with Spice servers

Introduction

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

What is spice-glib

spice-client-glib-2.0 is a SPICE client library for GLib2.

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

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

sudo dnf -y install spice-glib

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

sudo yum -y install spice-glib

How To Uninstall spice-glib on Rocky Linux 8

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

sudo dnf remove spice-glib

spice-glib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/e7a1bcd92737d426fca00ff1e959912efa8ab4
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/2172fbbcd3c05b5847a5bc9d3cd040bb44c425
/usr/lib64/girepository-1.0/SpiceClientGLib-2.0.typelib
/usr/lib64/libspice-client-glib-2.0.so.8
/usr/lib64/libspice-client-glib-2.0.so.8.6.0
/usr/libexec/spice-gtk-x86_64
/usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper
/usr/share/locale/cs/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/de/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/fr/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/it/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/ru/LC_MESSAGES/spice-gtk.mo
/usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/27715358c9152d61c77ec4c8e9f38cbd216d52
/usr/lib/.build-id/86
/usr/lib/.build-id/86/e50fec1fe956d2c0530dedf755d5cdca6f4e2d
/usr/lib/girepository-1.0/SpiceClientGLib-2.0.typelib
/usr/lib/libspice-client-glib-2.0.so.8
/usr/lib/libspice-client-glib-2.0.so.8.6.0
/usr/libexec/spice-gtk-i386
/usr/libexec/spice-gtk-i386/spice-client-glib-usb-acl-helper
/usr/share/locale/cs/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/de/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/fr/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/it/LC_MESSAGES/spice-gtk.mo
/usr/share/locale/ru/LC_MESSAGES/spice-gtk.mo
/usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy

References

Summary

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