How To Install VirtualBox on Fedora 35

Install VirtualBox on Fedora 35

In this tutorial, we will show you how to install VirtualBox on Fedora 35. For those of you who didn’t know, VirtualBox is a free, open-source, and cross-platform software that lets you create, run, and manage virtual machines on your system. VirtualBox brings feature-rich, high-performance products for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL).

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the VirtualBox 6.1 open-source virtualization on a Fedora 35.


  • A server running one of the following operating systems: Fedora 35.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install VirtualBox on Fedora 35

Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:

sudo dnf upgrade
sudo dnf update
sudo dnf install kernel-devel-$(uname -r) kernel-headers

Step 2. Installing VirtualBox on Fedora 35.

By default, VirtualBox is not available on Fedora 35 base repository. Now run the following command to add the official package VirtualBox repository to your system:

cat << EOF > /etc/yum.repos.d/virtualbox.repo
name=Fedora $releasever - $basearch - VirtualBox

Next, add Oracle public key:

rpm --import https://www.virtualbox.org/download/oracle_vbox.asc

After that, install VirtualBox using the dnf command:

sudo dnf update
sudo dnf install VirtualBox-6.1

During the VirtualBox package installation, the installer created a group called vboxusers, all system users who are going to use USB devices from Oracle VM VirtualBox guests must be a member of that group. Now we add your user account to the vboxuser group:

usermod -aG vboxusers godet

Step 3. Accessing VirtualBox on Fedora.

Once successfully installed, open with the path: Activities -> Show Applications -> VirtualBox or use the following command from the terminal:


Install VirtualBox on Fedora 35

Congratulations! You have successfully installed VirtualBox. Thanks for using this tutorial for installing the VirtualBox 6.1  open-source virtualization on your Fedora 35 system. For additional help or useful information, we recommend you check the official VirtualBox website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button