How To Install spice-server on CentOS 8

spice-server is Implements the server side of the SPICE protocol Implements the server side of the SPICE protocol

Introduction

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

What is spice-server

The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows you to view a computing ‘desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. This package contains the run-time libraries for any application that wishes to be a SPICE server. spice-server 0.14.3 4.el8 x86_64 409 k spice-0.14.3-4.el8.src.rpm appstream Implements the server side of the SPICE protocol https LGPLv2+ The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows you to view a computing ‘desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. This package contains the run-time libraries for any application that wishes to be a SPICE server.

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

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

sudo dnf -y install spice-server

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

sudo yum -y install spice-server

How To Uninstall spice-server on CentOS 8

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

sudo dnf remove spice-server

spice-server Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/337eafe53c612eccf4afb3f27e4f9b85fd2c97
/usr/lib64/libspice-server.so.1
/usr/lib64/libspice-server.so.1.14.0
/usr/share/doc/spice-server
/usr/share/doc/spice-server/CHANGELOG.md
/usr/share/doc/spice-server/README
/usr/share/licenses/spice-server
/usr/share/licenses/spice-server/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e45cda950ac4a072d2a972e126be857c333bf9
/usr/lib/libspice-server.so.1
/usr/lib/libspice-server.so.1.14.0
/usr/share/doc/spice-server
/usr/share/doc/spice-server/CHANGELOG.md
/usr/share/doc/spice-server/README
/usr/share/licenses/spice-server
/usr/share/licenses/spice-server/COPYING

References

Summary

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