How To Install spice-streaming-agent on CentOS 8

spice-streaming-agent is SPICE streaming agent

Introduction

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

What is spice-streaming-agent

An agent, running on a guest, sending video streams of the X display to a remote client (over SPICE).

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

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

sudo dnf -y install spice-streaming-agent

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

sudo yum -y install spice-streaming-agent

How To Uninstall spice-streaming-agent on CentOS 8

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

sudo dnf remove spice-streaming-agent

spice-streaming-agent Package Contents on CentOS 8

/etc/xdg/autostart/spice-streaming.desktop
/usr/bin/spice-streaming-agent
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/60d5b56e3031d7906b181f65e97a09575ca0e2
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/97a9caa50de8a953c3de80efb1ccb7c67fddae
/usr/lib/udev/rules.d/90-spice-guest-streaming.rules
/usr/lib64/spice-streaming-agent/plugins/gst-plugin.so
/usr/share/doc/spice-streaming-agent
/usr/share/doc/spice-streaming-agent/COPYING
/usr/share/doc/spice-streaming-agent/NEWS
/usr/share/doc/spice-streaming-agent/README
/usr/share/gdm/greeter/autostart/spice-streaming.desktop
/usr/share/man/man1/spice-streaming-agent.1.gz

References

Summary

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