How To Install spice-vdagent on CentOS 7
Introduction
In this tutorial we learn how to install spice-vdagent
on CentOS 7.
What is spice-vdagent
Spice agent for Linux guests offering the following features Features * Client mouse mode (no need to grab mouse by client, no mouse lag) this is handled by the daemon by feeding mouse events into the kernel via uinput. This will only work if the active X-session is running a spice-vdagent process so that its resolution can be determined. * Automatic adjustment of the X-session resolution to the client resolution * Support of copy and paste (text and images) between the active X-session and the client
We can use yum
or dnf
to install spice-vdagent
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install spice-vdagent.
Install spice-vdagent on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install spice-vdagent
using yum
by running the following command:
Install spice-vdagent 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.
After updating yum database, We can install spice-vdagent
using dnf
by running the following command:
How To Uninstall spice-vdagent on CentOS 7
To uninstall only the spice-vdagent
package we can use the following command:
References
Summary
In this tutorial we learn how to install spice-vdagent
on CentOS 7 using yum
and dnf
.