VirtualBox is a free and open-source hosted hypervisor for x86 virtualization, developed by Oracle Corporation. This article will discuss the installation procedure of VirtualBox on CentOS 8.

In this tutorial you will learn:
  • How to add VirtualBox Repository
  • How to import VirtualBox signing keys
  • How to Install VirtualBox
VirtualBox on CentOS 8 Linux
VirtualBox on CentOS 8 Linux

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System CentOS 8
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to install VirtualBox on CentOS 8 Linux step by step instructions

  1. Add VirtualBox repository:
    # dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
    
  2. Import VirtualBox signing keys:
    # rpm --import https://www.virtualbox.org/download/oracle_vbox.asc
    

  3. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  4. Install package VirtualBox by using dnf command. First, check what versions of Virtualbox is available:
    # dnf search virtualbox
    VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
    
    Pick version and perform the installation:
    # dnf install VirtualBox-6.0
    
    All done
  5. Start VirtualBox by search the menu or by execution the following command:
    $ virtualbox
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.