How To Install spice-glib-devel on CentOS 8

spice-glib-devel is Development files to build Glib2 applications with spice-glib-2.0 Development files to build Glib2 applications with spice-glib-2.0

Introduction

In this tutorial we learn how to install spice-glib-devel on CentOS 8.

What is spice-glib-devel

spice-client-glib-2.0 is a SPICE client library for GLib2. Libraries, includes, etc. to compile with the spice-glib-2.0 libraries spice-glib-devel 0.38 6.el8 x86_64 121 k spice-gtk-0.38-6.el8.src.rpm appstream Development files to build Glib2 applications with spice-glib-2.0 http LGPLv2+ spice-client-glib-2.0 is a SPICE client library for GLib2. Libraries, includes, etc. to compile with the spice-glib-2.0 libraries

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

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

sudo dnf -y install spice-glib-devel

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

sudo yum -y install spice-glib-devel

How To Uninstall spice-glib-devel on CentOS 8

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

sudo dnf remove spice-glib-devel

spice-glib-devel Package Contents on CentOS 8

/usr/include/spice-client-glib-2.0
/usr/include/spice-client-glib-2.0/channel-cursor.h
/usr/include/spice-client-glib-2.0/channel-display.h
/usr/include/spice-client-glib-2.0/channel-inputs.h
/usr/include/spice-client-glib-2.0/channel-main.h
/usr/include/spice-client-glib-2.0/channel-playback.h
/usr/include/spice-client-glib-2.0/channel-port.h
/usr/include/spice-client-glib-2.0/channel-record.h
/usr/include/spice-client-glib-2.0/channel-smartcard.h
/usr/include/spice-client-glib-2.0/channel-usbredir.h
/usr/include/spice-client-glib-2.0/channel-webdav.h
/usr/include/spice-client-glib-2.0/qmp-port.h
/usr/include/spice-client-glib-2.0/smartcard-manager.h
/usr/include/spice-client-glib-2.0/spice-audio.h
/usr/include/spice-client-glib-2.0/spice-channel.h
/usr/include/spice-client-glib-2.0/spice-client.h
/usr/include/spice-client-glib-2.0/spice-file-transfer-task.h
/usr/include/spice-client-glib-2.0/spice-glib-enums.h
/usr/include/spice-client-glib-2.0/spice-option.h
/usr/include/spice-client-glib-2.0/spice-session.h
/usr/include/spice-client-glib-2.0/spice-types.h
/usr/include/spice-client-glib-2.0/spice-uri.h
/usr/include/spice-client-glib-2.0/spice-util.h
/usr/include/spice-client-glib-2.0/spice-version.h
/usr/include/spice-client-glib-2.0/usb-device-manager.h
/usr/lib/libspice-client-glib-2.0.so
/usr/lib/pkgconfig/spice-client-glib-2.0.pc
/usr/share/gir-1.0/SpiceClientGLib-2.0.gir
/usr/share/gtk-doc/html/spice-gtk
/usr/share/gtk-doc/html/spice-gtk/SpiceAudio.html
/usr/share/gtk-doc/html/spice-gtk/SpiceChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceCursorChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceDisplay.html
/usr/share/gtk-doc/html/spice-gtk/SpiceDisplayChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceFileTransferTask.html
/usr/share/gtk-doc/html/spice-gtk/SpiceGtkSession.html
/usr/share/gtk-doc/html/spice-gtk/SpiceInputsChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceMainChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpicePlaybackChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpicePortChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceQmpPort.html
/usr/share/gtk-doc/html/spice-gtk/SpiceRecordChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSession.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardManager.html
/usr/share/gtk-doc/html/spice-gtk/SpiceURI.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceManager.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceWidget.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbredirChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceWebdavChannel.html
/usr/share/gtk-doc/html/spice-gtk/annotation-glossary.html
/usr/share/gtk-doc/html/spice-gtk/api-index-full.html
/usr/share/gtk-doc/html/spice-gtk/api-reference.html
/usr/share/gtk-doc/html/spice-gtk/application-support.html
/usr/share/gtk-doc/html/spice-gtk/ch01.html
/usr/share/gtk-doc/html/spice-gtk/ch02.html
/usr/share/gtk-doc/html/spice-gtk/ch03.html
/usr/share/gtk-doc/html/spice-gtk/home.png
/usr/share/gtk-doc/html/spice-gtk/index.html
/usr/share/gtk-doc/html/spice-gtk/left-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/left.png
/usr/share/gtk-doc/html/spice-gtk/object-tree.html
/usr/share/gtk-doc/html/spice-gtk/right-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/right.png
/usr/share/gtk-doc/html/spice-gtk/spice-gtk-Utilities.html
/usr/share/gtk-doc/html/spice-gtk/spice-gtk-spice-version.html
/usr/share/gtk-doc/html/spice-gtk/spice-gtk.devhelp2
/usr/share/gtk-doc/html/spice-gtk/style.css
/usr/share/gtk-doc/html/spice-gtk/up-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/up.png
/usr/include/spice-client-glib-2.0
/usr/include/spice-client-glib-2.0/channel-cursor.h
/usr/include/spice-client-glib-2.0/channel-display.h
/usr/include/spice-client-glib-2.0/channel-inputs.h
/usr/include/spice-client-glib-2.0/channel-main.h
/usr/include/spice-client-glib-2.0/channel-playback.h
/usr/include/spice-client-glib-2.0/channel-port.h
/usr/include/spice-client-glib-2.0/channel-record.h
/usr/include/spice-client-glib-2.0/channel-smartcard.h
/usr/include/spice-client-glib-2.0/channel-usbredir.h
/usr/include/spice-client-glib-2.0/channel-webdav.h
/usr/include/spice-client-glib-2.0/qmp-port.h
/usr/include/spice-client-glib-2.0/smartcard-manager.h
/usr/include/spice-client-glib-2.0/spice-audio.h
/usr/include/spice-client-glib-2.0/spice-channel.h
/usr/include/spice-client-glib-2.0/spice-client.h
/usr/include/spice-client-glib-2.0/spice-file-transfer-task.h
/usr/include/spice-client-glib-2.0/spice-glib-enums.h
/usr/include/spice-client-glib-2.0/spice-option.h
/usr/include/spice-client-glib-2.0/spice-session.h
/usr/include/spice-client-glib-2.0/spice-types.h
/usr/include/spice-client-glib-2.0/spice-uri.h
/usr/include/spice-client-glib-2.0/spice-util.h
/usr/include/spice-client-glib-2.0/spice-version.h
/usr/include/spice-client-glib-2.0/usb-device-manager.h
/usr/lib64/libspice-client-glib-2.0.so
/usr/lib64/pkgconfig/spice-client-glib-2.0.pc
/usr/share/gir-1.0/SpiceClientGLib-2.0.gir
/usr/share/gtk-doc/html/spice-gtk
/usr/share/gtk-doc/html/spice-gtk/SpiceAudio.html
/usr/share/gtk-doc/html/spice-gtk/SpiceChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceCursorChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceDisplay.html
/usr/share/gtk-doc/html/spice-gtk/SpiceDisplayChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceFileTransferTask.html
/usr/share/gtk-doc/html/spice-gtk/SpiceGtkSession.html
/usr/share/gtk-doc/html/spice-gtk/SpiceInputsChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceMainChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpicePlaybackChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpicePortChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceQmpPort.html
/usr/share/gtk-doc/html/spice-gtk/SpiceRecordChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSession.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceSmartcardManager.html
/usr/share/gtk-doc/html/spice-gtk/SpiceURI.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceManager.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbDeviceWidget.html
/usr/share/gtk-doc/html/spice-gtk/SpiceUsbredirChannel.html
/usr/share/gtk-doc/html/spice-gtk/SpiceWebdavChannel.html
/usr/share/gtk-doc/html/spice-gtk/annotation-glossary.html
/usr/share/gtk-doc/html/spice-gtk/api-index-full.html
/usr/share/gtk-doc/html/spice-gtk/api-reference.html
/usr/share/gtk-doc/html/spice-gtk/application-support.html
/usr/share/gtk-doc/html/spice-gtk/ch01.html
/usr/share/gtk-doc/html/spice-gtk/ch02.html
/usr/share/gtk-doc/html/spice-gtk/ch03.html
/usr/share/gtk-doc/html/spice-gtk/home.png
/usr/share/gtk-doc/html/spice-gtk/index.html
/usr/share/gtk-doc/html/spice-gtk/left-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/left.png
/usr/share/gtk-doc/html/spice-gtk/object-tree.html
/usr/share/gtk-doc/html/spice-gtk/right-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/right.png
/usr/share/gtk-doc/html/spice-gtk/spice-gtk-Utilities.html
/usr/share/gtk-doc/html/spice-gtk/spice-gtk-spice-version.html
/usr/share/gtk-doc/html/spice-gtk/spice-gtk.devhelp2
/usr/share/gtk-doc/html/spice-gtk/style.css
/usr/share/gtk-doc/html/spice-gtk/up-insensitive.png
/usr/share/gtk-doc/html/spice-gtk/up.png

References

Summary

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