From Fedora Project Wiki

Máquinas Virtuais para Iniciantes Fedora | Virtual Machine for beginners Fedora

For english tutorial roll to English section.

Você pode acabar com seu sofrimento agora caso use opções alternativas!""

Opções Alternativas

1. Virtual Machine Manager :

Ele é muit bom e fácil de usar e é recomendado pelo próprio time de Q.A. do fedora a utiliza-lo. Você pode instalá-lo digitando no terminal o seguinte :

sudo dnf install virt-manager
  • Digite no terminal para abrir
     virt-manager 

ou

  • Aperte tecla "Windows" ou a tecla "Command" ou arraste o mouse no canto superior esquerdo.
  • Você verá um box de pesquisa no centro superior.
  • digite "Virtual Machine Manager" ou "Virtual" sem as aspas.
  • De enter ou clique no icone do mesmo.

2. Boxes :

Caso você tenha o desktop gnome saiba que você ja tém na sua máquina um criador de máquinas virtuais.

  • Aperte a tecla "Windows" ou "Command" ou arraste o mouse no canto superior esquerdo.
  • Você verá um box de pesquisa no centro superior.
  • digite "Boxes" sem as aspas.
  • De enter ou clique no icone do mesmo.

ou

  • Digite no terminal para abrir
     gnome-boxes 
Caso goste de sofrer segue o tutorial para vbox 

Como instalar Virtual Box no Fedora

1. Acesse Vbox Linux Download

2. Clique em Fedora 26/27 i386 (Para arquitetura 32bits) ou AMD64 (Para arquitetura de 64bits)

3. Abra seu terminal

4. Vá até a pasta onde foi baixado o pacote

 cd Downloads/

5. Instale o pacote

sudo dnf install nome_do_pacote.rpm

Caso pergunte digite S ou Y depedento da linguagem que seu Fedora está.

6. Instale as bibliotecas básicas

sudo dnf install libelf-dev
ou
sudo dnf install libelf-devel
ou
sudo dnf install elfutils-libelf-devel (no meu caso essa instalou e funcionou perfeitamente)

7. Configure seu Virtual Box

No terminal digite

sudo /sbin/vboxconfig

Pronto seu vbox está pronto para uso!

English Version

You can end your suffering now by using the alternative options!""

Alternative Options

1. Virtual Machine Manager :

It is very good and easy to use and is recommended by the Fedora Q.A Team. You can install it by typing in the following :

sudo dnf install virt-manager
  • Type on the terminal to open it
     virt-manager 

Or

  • Press "Windows" key or "Command" key or drag the mouse in the upper left corner.
  • You will see a search box in the top center.
  • Type "Virtual Machine Manager" and you will see the icon.
  • Enter or click on the icon.

2. Boxes :

If you have the gnome desktop, you already know that you already have a virtual machine builder on your machine.

  • Press "Windows" key or "Command" key or drag the mouse in the upper left corner.
  • You will see a search box in the top center.
  • Type "Boxes" without the quotation marks.
  • Enter or click on the icon.

OR

  • On the terminal type
     gnome-boxes 
If you like suffering, follow the tutorial for vbox 

How to install Virtual Box in Fedora

1. Go to Vbox Linux Download

2. Click in Fedora 26/27 i386 (For 32bits Architecture ) or AMD64 (For 64bits Architecture)

3. Open your Terminal

4. Go to the folder where the package was downloaded

 cd Downloads/

5. Install the package

sudo dnf install package_name.rpm

If so, press "y" and press enter to continue

6. Install the libraries

sudo dnf install libelf-dev
ou
sudo dnf install libelf-devel
ou
sudo dnf install elfutils-libelf-devel (in my case it installed and worked perfectly)

7. Configure your Virtual Box

At the terminal, type

sudo /sbin/vboxconfig

Ready your vbox is ready for use!