Installing Oracle VM VirtualBox on Fedora 30/31

Oracle VM VirtualBox is a free, open source, cross-platform application for creating, managing and running virtual machines (VMs). Oracle VM VirtaulBox is a good free alternative to other type 2 virtualization softwares like VMware Workstation/Fusion or Mirosoft Hyper-V. VirtualBox may be installed on Windows, macOS, Linux, Solaris and OpenSolaris.

Oracle VirtualBox
Three Virtual Machines running on VirtualBox


While there is more than one method for installing VirtualBox, the easiest and most effective one is to download the binaries from VirtualBox website and install it on your host machine. This will ensure you’ll have the latest version at the time of installation.

This short post go through the steps to download Oracle VM VirtualBox and install it using the rpm command a Fedora 30 machine.

Check your OS version

Update your system

Download Oracle VM Virtual Box

Install Oracle VM VirtualBox

Once the package downloaded, you can install it using the rpm command

Using the rpm to install packages works perfectly fine. However, dnf is a much better method to keep your system packages up to date because dnf allows operations on remote repositories listed in configuration files (usually at /etc/yum.repo.d/ ).

dnf is basically a new and improved yum. it has forked from yum and will ultimately replace it. Some benefits of using dnf over rpm are:

  • Install an rpm x from any configured repository.
  • Update all local packages with newer copies found at any configured repository.
  • Search a certain repository for a package matching a certain criteria.

To install the Oracle Virtual Box package using dnf

Once the installation is finished, you will be able to launch Oracle VM VirtualBox from the GNOME desktop. Click on Activities and search for VirtualBox

You will now be able to run and use virtual machines on your Fedora machine..

Find this post interesting. Share it!

Leave a Comment

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