How one can set up VirtualBox 6 on Fedora Linux 29


Get real time updates directly on you device, subscribe now.

I am a brand new Fedora Linux person. How can I obtain and set up Oracle VirtualBox 6 on my Fedora Linux 29 workstations?

Introduction – Oracle VirtualBox is an open supply and free hypervisor/digital machine monitor for x86 primarily based computer systems. VirtualBox 6 helps Linux, Home windows, *BSD and different varieties of visitor VMs. This web page exhibits learn how to set up Oracle VirtualBox 6 on Fedora Linux 29.

Process to put in VirtualBox on Fedora Linux 29

Set up virtualbox.repo on Fedora Linux 29 utilizing wget commandImport VirtualBox 6 public key in Fedora Linux 29, run: sudo dnf replaceSeek for VirtualBox 6 packages on Fedora, run: sudo dnf search virtualboxTo put in Oracle VirtualBox 6 on Fedora, run: sudo dnf set up virtualboxImprove Oracle VirtualBox 6 in Fedora Linux, run: sudo dnf improve virtualbox

Allow us to see all examples and utilization in particulars.

Obtain VirtualBox for Fedora Linux

Create a brand new RPM repo, run the next cd command:
$ cd /and many others/yum.repos.d
Use the wget command to obtain virtualbox.repo file:
$ sudo wget
How to download VirtualBox for Fedora Linux hosts

Refresh and import public key

Run the next dnf command:
$ sudo dnf replace
How to import Oracle VirtualBox public key

Seek for virtualbox bundle

Now we are able to seek for Oracle VM VirtualBox
$ yum search virtualbox
How to search for VirtualBox packages using dnf on Fedora Linux

Fedora Linux set up VirtualBox 6

Oracle VirtualBox 6 will construct Linux kernel modules on Fedora Linux 29. So, make sure that the next packages put in in your system:
$ sudo dnf set up @development-tools
$ sudo dnf set up kernel-devel kernel-headers dkms elfutils-libelf-devel qt5-qtx11extras
Now you might be prepared to put in VirtualBox 6, run the next dnf command:
$ sudo dnf set up
Install VirtualBox 6 on Fedora Linux using dnf command

Add VirtualBox person to vboxusers group

The installer gave you trace:

Creating group ‘vboxusers’. VM customers have to be member of that group!

Therefore, you could add Linux person to the vboxusers group, run:
$ sudo usermod -a -G vboxusers userNameHere
$ sudo usermod -a -G vboxusers vivek
Confirm it with the assistance of the id command:
$ id vivek
Reload or refresh a Linux person group permission for the present shell session by operating the next newgrp command:
$ newgrp vboxusers
$ id
How to add VirtualBox user to vboxusers group on Fedora Linux

How one can begin VirtualBox on Fedora Linux 29

Sort the next command:
$ virtualbox
How to start VirtualBox on Fedora Linux

Putting in OpenSUSE Linux as a VirtualBox visitor

As soon as VirtualBox put in, it’s time to set up a digital machine. I’m going to put in OpenSUSE Tumbleweed. You’ll be able to set up Home windows, OpenBSD/FreeBSD, CentOS, Debian, Ubuntu or another supported visitor working methods as per your wants.

Obtain the OpenSUSE ISO

With a purpose to set up OpenSUSE Linux, you want the set up DVD media. You’ll be able to obtain OpenSUSE from I’m going to make use of wget command to obtain the ISO:

How one can create a brand new digital machine

The VirutalBox GUI is straightforward to make use of, and it’ll assist you via the VM creation. Click on on the New icon:
Click on the New iconClick on on the “New” icon
Arrange visitor VM title, OS and reminiscence measurement as follows:
Create Virtual MachineCreate Digital Machine
Arrange visitor VM laborious disk file measurement:
Create Virtual Hard DiskCreate Digital Onerous Disk
The empty VM is now prepared. You want click on on the Settings possibility:
Oracle VM OpenSUSE settingsAllow us to change VM choices by clicking the Settings possibility
Select digital optical discs (DVD) for booting VM as follows:
Storage settingsStorage settings to decide on the ISO file beforehand downloaded utilizing wget
Select Empty within the IDE controller, then the CD icon. Choose the ISO picture downloaded earlier and press OK:
OpenSUSE Boot DVDOpenSUSE Boot DVD ISO for my VM

Begin up the OpenSUSE VM and set up OpenSUSE Linux

Allow us to begin set up of OpenSUSE Linux:
Install OpenSUSE VMSelect OpenSUSE VM in left aspect panel and click on on the inexperienced begin arrow.
The OpenSUSE Linux boot course of begins. Now you can proceed with the traditional set up course of. Simply comply with on-screen directions:
Starting installation of VMGo forward set up OpenSUSE Linux
Performing installationPerforming set up

Putting in the Visitor Additions for OpenSUSE VM

I’m going to put in the newest Model of the Visitor Additions. Begin OpenSUSE VM. Log in and open the terminal utility. Run the next zypper command:
sudo zypper ref
sudo zypper up
sudo zypper in kernel-devel gcc make dkms
As soon as put in, click on on the VM > Units >
Insert guest additions CD imageOpenSUSE VM: Insert visitor additions CD picture
Click on on Run to put in the Visitor Additions:
Run VirtualBox guest additions scriptRun VirtualBox visitor additions script
Look ahead to a while:
VirtualBox guest additions installation completedVirtualBox visitor additions set up accomplished
Reboot the Linux VM by typing the next reboot command:
$ sudo reboot


That’s all for now. Subsequent time we’ll see learn how to migrate VirtualBox VM to KVM. For additional info see the next assets:

Oracle VirtualBox website hereOpenSUSE VirtualBox wiki web page right here

Posted by: Vivek Gite

The writer is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a coach for the Linux working system/Unix shell scripting. Get the newest tutorials on SysAdmin, Linux/Unix and open supply subjects through RSS/XML feed or weekly e-mail publication.

Source link

Leave A Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More