Friday, July 10, 2026

installing qemu in Ubuntu & Linux Mint

 --https://share.google/aimode/j0AQ0HzQEQKQo2Yr5

To install QEMU with KVM acceleration and a graphical user interface (GUI) on Ubuntu, open your terminal (Ctrl + Alt + T) and run the following command: [1]
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager [1]
Complete Setup and Usage Guide
Once the packages are installed, complete these essential post-installation steps to set up your environment:
1. Enable Virtualization Services
Ensure the virtualization daemon is running and set to launch automatically upon boot: [1]
bash
sudo systemctl enable --now libvirtd
குறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
2. Add Your User to the Virtualization Groups
To manage and create virtual machines without needing sudo (root) privileges, add your current user to the libvirt and kvm groups: [1]
bash
sudo usermod -aG libvirt $USER
sudo usermod -aG kvm $USER
குறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
3. Log Out and Log Back In
For the user group changes to take effect, you must log out of your current desktop session and log back in (or simply restart your computer). [1]
4. Open the GUI (Virtual Machine Manager)
After restarting, you can launch the graphical interface. Open your application menu, search for Virtual Machine Manager, or launch it via terminal: [1, 2]
bash
virt-manager
குறியீட்டைக் கவனமாகப் பயன்படுத்துங்கள்.
Creating a New Virtual Machine
Inside the Virtual Machine Manager, creating a VM is simple: [1, 2]
  1. Click the Create a new virtual machine button (the monitor icon with a plus sign) in the top-left corner.
  2. Select Local install media (ISO image) and click Forward.
  3. Click Browse, locate the ISO file of the operating system you want to install, and select it.
  4. Allocate the desired amount of Memory (RAM) and CPU cores, then assign virtual disk space.
  5. Give your VM a name and click Finish. The VM will power on and launch the OS installer. [1, 2, 3, 4, 5]

For advanced command-line usage and booting directly from ISOs without a GUI, refer to the Ubuntu QEMU Documentation.

No comments: