Install Oracle Virtualbox 6.1.8 in CentOS 8 / RHEL 8 / Fedora

Virtualbox_logo

Virtualbox an open-source application for running operating systems virtually in our base system and this application available for multiple operating systems (ie) Windows, Linux, and MacOSX.

This tutorial will be helpful for beginners to install VirtualBox 6.1.8 in CentOS 8 / Redhat 8 and Fedora

This version is a maintenance release and the below items are fixed on it

Related:  How to Install Virtualbox 6.1.6 in Ubuntu / LinuxMint

Virtualbox 6.1.8 Changelog

  • Fixed crash on last VM removed
  • Various stability improvements
  • Support for longer command lines
  • Fixed several layout and mouse position handling bugs
  • Allow renaming VM’s which are in saved state

How to Install Virtualbox 6.1.8 in CentOS 8 / Redhat 8 and Fedora?

Method 1: Via RPM package.

.rpm packages are available for CentOS 6, CentOS 7, CentOS 8, Redhat 8, Redhat 7, Redhat 6 and Fedora versions

Download it directly from the download section based on your os version and install it using the DNF or rpm command.

Method 2: Via YUM repository.

Step 1: Add the repository to your system

For Centos & RHEL add the below repo under /etc/yum.repos.d

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch – VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

For Fedora add the below repo under /etc/yum.repos.d

[virtualbox]
name=Fedora-$releasever – $basearch – VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

Step 2: Download and install the Virtualbox key

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | rpm –import –

Step 3: Update the repository

dnf repolist && dnf update

Step 4: Install Virtualbox 6.1.8

dnf install VirtualBox-6.1

Install Virtualbox 6.1.8 in centos / rhel

Leave a Reply

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

Secured By miniOrange