How To Install spice-server on Rocky Linux 8

In this tutorial we learn how to install spice-server on Rocky Linux 8. spice-server is Implements the server side of the SPICE protocol

Introduction

In this tutorial we learn how to install spice-server on Rocky Linux 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.

We can use yum or dnf to install spice-server on Rocky Linux 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 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-server using dnf by running the following command:

sudo dnf -y install spice-server

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

sudo yum -y install spice-server

How To Uninstall spice-server on Rocky Linux 8

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

sudo dnf remove spice-server

spice-server Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/4bf5352c81ffc6402dac23f3f816edd6e6f60c
/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
/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/2d4fc097fc2292c5e70845dbaeae3f78e9ecf2
/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

References

Summary

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