How to Install VirtualBox 6.0 on CentOS 8 / RHEL 8
======
**VirtualBox** is a free and open source **virtualization tool** which allows techies to run multiple virtual machines of different flavor at the same time. It is generally used at desktop level (Linux and Windows), it becomes very handy when someone try to explore the features of new Linux distribution or want to install software like **OpenStack**, **Ansible** and **Puppet** in one VM, so in such scenarios one can launch a VM using VirtualBox.
VirtualBox is categorized as **type 2 hypervisor** which means it requires an existing operating system, on top of which VirtualBox software will be installed. VirtualBox provides features to create our own custom host only network and NAT network. In this article we will demonstrate how to install latest version of VirtualBox 6.0 on CentOS 8 and RHEL 8 System and will also demonstrate on how to install VirtualBox Extensions.
### Installation steps of VirtualBox 6.0 on CentOS 8 / RHEL 8
#### Step:1) Enable VirtualBox and EPEL Repository
Login to your CentOS 8 or RHEL 8 system and open terminal and execute the following commands to enable VirtualBox and EPEL package repository.
If any local user want to attach usb device to VirtualBox VMs then he/she should be part “**vboxuser**s ” group, use the beneath usermod command to add local user to “vboxusers” group.
```
[root@linuxtechi ~]# usermod -aG vboxusers pkumar
```
#### Step:4) Access VirtualBox on CentOS 8 / RHEL 8
There are two ways to access VirtualBox, from the command line type “**virtualbox**” then hit enter
```
[root@linuxtechi ~]# virtualbox
```
From Desktop environment, Search “VirtualBox” from Search Dash.
[![Access-VirtualBox-CentOS8][2]][3]
Click on VirtualBox icon,
[![VirtualBox-CentOS8][2]][4]
This confirms that VirtualBox 6.0 has been installed successfully, let’s install its extension pack.
Once it is downloaded, access VirtualBox and navigate **File**–>**Preferences** –>**Extension** then click on + icon to add downloaded extension pack,
That’s all from this article, I hope these steps help you install VirtualBox 6.0 on your CentOS 8 and RHEL 8 system. Please do share your valuable feedback and comments.
**Also Read**: **[How to Manage Oracle VirtualBox Virtual Machines from Command Line][8]**