How To Install spice-vdagent on Debian 9
Introduction
In this tutorial we learn how to install spice-vdagent
on Debian 9.
What is spice-vdagent
spice-vdagent is:
spice-vdagent is the spice agent for Linux, it is used in conjunction with spice-compitable hypervisor, its feature includs: * 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
There are three methods to install spice-vdagent
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install spice-vdagent Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install spice-vdagent
using apt-get
by running the following command:
sudo apt-get -y install spice-vdagent
Install spice-vdagent Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install spice-vdagent
using apt
by running the following command:
sudo apt -y install spice-vdagent
Install spice-vdagent Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install spice-vdagent
using aptitude
by running the following command:
sudo aptitude -y install spice-vdagent
How To Uninstall spice-vdagent on Debian 9
To uninstall only the spice-vdagent
package we can use the following command:
sudo apt-get remove spice-vdagent
Uninstall spice-vdagent And Its Dependencies
To uninstall spice-vdagent
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove spice-vdagent
Remove spice-vdagent Configurations and Data
To remove spice-vdagent
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge spice-vdagent
Remove spice-vdagent configuration, data, and all of its dependencies
We can use the following command to remove spice-vdagent
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge spice-vdagent
Dependencies
spice-vdagent have the following dependencies:
- libasound2
- libc6
- libdbus-1-3
- libglib2.0-0
- libpciaccess0
- libsystemd0
- libx11-6
- libxfixes3
- libxinerama1
- libxrandr2
References
Summary
In this tutorial we learn how to install spice-vdagent
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.