How To Install spice-server on CentOS 7

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

Introduction

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

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 CentOS 7. 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 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install spice-server using yum by running the following command:

sudo yum -y install spice-server

Install spice-server on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install spice-server using dnf by running the following command:

sudo dnf -y install spice-server

How To Uninstall spice-server on CentOS 7

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

sudo dnf remove spice-server

References

Summary

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