How to install QEMU virtualization software on Ubuntu?

qemu in Ubuntu

QEMU is a free and open source application licensed in part with the LGPL and the GNU GPL which the function is the emulation of processors based on dynamic translation of binaries.

QEMU also has virtualization capabilities within an operating system, either GNU / Linux, Windows, or any of the operating systems supported by it. This virtual machine can run on any type of Microprocessor or architecture (x86, x86-64, PowerPC, MIPS, SPARC, etc.)

The main objective of QEMU is to emulate an operating system inside another without having to partition the hard drive, using any directory within it for its location.

The program It does not have a GUI, but there is another program called QEMU manager that you can do as a graphical interface if you use QEMU from Windows.

There is also a version for GNU / Linux called qemu-launcher. When used as a machine emulator, QEMU can run systems and programs made by one machine (for example, an ARM board on a different machine.

When used as a virtualizer, QEMU achieves close to native performances, running guest code directly on the host CPU.

QEMU supports virtualization when running under the Xen hypervisor or using the KVM kernel module on Linux.

How to install QEMU on Ubuntu and derivatives?

If you want to install this application on your system we must type the following commands.

We must also install some additional packages to be able to work are problems with QEMU in our system.

We must open a terminal Ctrl + Alt + T and we are going to type the following:

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

We just have to wait for the necessary packages and their installation to be downloaded. Once this process has been completed, we can start using this application in our system.

To open QEMU, just look for it in our applications menu and run it.

If after the installation, when trying to open the Virt Manager the error occurs

"Can't connect to libtid"

A simple solution to solve this problem is to restart the PC and try to open the program again.

How to use QEMU in Ubuntu?

To create a new virtual machine, click the icon with the monitor, Here the wizard will open virtual machine creation. Write a name for the machine, select the installation option, and then click the next button.

whoa

On the next screen, select the medium you want to use and choose the type of operating system and version. Then click the next button.

qem 3

The next screen will allow you to select the amount of RAM and the number of CPU cores that you want to be available to the new virtual machine.

The amount to allocate to these resources is entirely up to you, but be sure to select enough for the applications you plan to run on it.

If you want to use a disk in that machine, check the option and they must indicate its size. We also have the option to choose to allocate the entire disk at the moment or only later.

If you wish, you can use a previously created disc. After choosing the options that are most convenient, click the next button.

qem 4

The last screen that will be shown will allow you to double-check the configuration that you previously entered and give the virtual machine a name.

As well they will have a drop-down menu that will allow them to select the network interface. By default, you should have selected the bridge that you configured earlier.

If not, select it from the application menu, when you are sure that everything is the way you want it, click finish.

And ready! With all this, they can now begin to install the system of their choice on the new machine.

Without more, it only remains for you to start using this great application to be able to test your favorite operating systems on your computer without the need to compromise your data.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   wero said

    Why doesn't it give me the option to virtualize the installer, anarchy Linux, of the Arch linux OS? In fact, it does not contemplate this OS to virtualize it. The same is my ignorance, please help me.
    wero

  2.   SAMUEL COLQUE FLORES said

    Thanks for this content.