QEMU

2 respostas [Última entrada]
GNUbahn
Desconectado
Joined: 02/19/2016

Which is a better way to install and use QEMU? The answer probably depends on the use case, In my case I just want to use QEMU for two things: 1) trying/testing OS, and 2) isolating browser usage (e.g. for necessary services I don't trust).

I have come accross these two advice for installation:
sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin(https://www.unixmen.com/how-to-install-and-configure-qemu-in-ubuntu/)

sudo apt install qemu(https://www.poftut.com/qemu-tutorial/)

The latter seems of course much simpler, but why the difference in number of packages to install? Are the extra packages only necessary for special purposes or what?

advice will be appreciated

Magic Banana

I am a member!

Desconectado
Joined: 07/24/2010

As far as I understand, the first command would give you a "desktop application for managing virtual machines" (description of the virt-manager package). The second command would not (terminal-only usage).

Gnu-Bro
Desconectado
Joined: 12/12/2020

Hi dear GNUbahn

There are two ways :

1. Install virt-manager through the Trisquel repository

with the command you wrote :

sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin

You will have virt-manager --version 1.5.1

Some links

https://ostechnix.com/how-to-manage-kvm-virtual-machines-with-virt-manager/

https://www.tecmint.com/install-kvm-on-ubuntu/

2. Install the new version

Sudo git clone https://github.com/virt-manager/virt-manager.git

Minimum version requirements of major components:

gettext >= 0.19.6
python >= 3.4
gtk3 >= 3.22
libvirt-python >= 0.6.0
pygobject3 >= 3.22
libosinfo >= 0.2.10
gtksourceview >= 3

You will have virt-manager --version 3.2.0

More information here https://github.com/virt-manager/virt-manager/blob/master/INSTALL.md

You can also find the answers to your bugs here

1. https://askubuntu.com/

2. https://stackoverflow.com/

Hope I helped you.)

I see that mr. Magic Banana always help many users of this forum with answers! Thanks Bro ! That's how Trisquel users should be !))