How To Install spice-glib on CentOS 8
Introduction
In this tutorial we learn how to install spice-glib
on CentOS 8.
What is spice-glib
spice-client-glib-2.0 is a SPICE client library for GLib2. spice-glib 0.38 6.el8 x86_64 385 k spice-gtk-0.38-6.el8.src.rpm appstream A GObject for communicating with Spice servers http LGPLv2+ spice-client-glib-2.0 is a SPICE client library for GLib2.
We can use yum
or dnf
to install spice-glib
on CentOS 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 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 spice-glib
using dnf
by running the following command:
sudo dnf -y install spice-glib
Install spice-glib 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 spice-glib
using yum
by running the following command:
sudo yum -y install spice-glib
How To Uninstall spice-glib on CentOS 8
To uninstall only the spice-glib
package we can use the following command:
sudo dnf remove spice-glib
spice-glib Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/38c61d2876ed9b87e12790d43abacffcdab25b
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f0df7c2f9447b2fc4218f5e4ce583c0555075a
/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/90
/usr/lib/.build-id/90/606a6f959dc7894db5c4a7a1a0383cc4a8df4f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/8409c058de8ffebf0af8b40e7137a80be0e97d
/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
- [spice-glib website](http://spice-space.org/page/Spice-Gtk http://spice-space.org/page/Spice-Gtk)
Summary
In this tutorial we learn how to install spice-glib
on CentOS 8 using yum and dnf.