How to Install the QEMU Guest Agent on Popular Linux Distributions
To learn more about its benefits and how it works, check out our article:
What is the QEMU Guest Agent and Why is It Important for Your VPS?
1. Ubuntu
- Update the package list:
sudo apt update
- Install the QEMU Guest Agent:
sudo apt install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
2. Debian
- Update the package list:
sudo apt update
- Install the QEMU Guest Agent:
sudo apt install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
3. CentOS (7/8/Stream)
- Install the QEMU Guest Agent:
sudo yum install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
4. Fedora
- Install the QEMU Guest Agent:
sudo dnf install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
5. openSUSE
- Install the QEMU Guest Agent:
sudo zypper install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
6. Arch Linux
- Install the QEMU Guest Agent:
sudo pacman -S qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
7. Red Hat Enterprise Linux (RHEL)
- Install the QEMU Guest Agent:
sudo yum install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
8. AlmaLinux / Rocky Linux
- Install the QEMU Guest Agent:
sudo yum install -y qemu-guest-agent
- Start the service:
sudo systemctl start qemu-guest-agent
- Enable the service to start on boot:
sudo systemctl enable qemu-guest-agent
- Check the service status:
sudo systemctl status qemu-guest-agent
