Home >System Tutorial >LINUX >How To Install Oracle VirtualBox 7.1 In Fedora Linux 41
This guide explains how to install Oracle VirtualBox on Fedora Linux. Whether you're using Fedora 40 or older, or the Fedora 41 Beta, this comprehensive tutorial will walk you through the process.
Table of Contents
vboxusers
GroupInstalling Oracle VirtualBox on Fedora 40 and Older Versions
These steps are for Fedora 40 and earlier versions.
System Update: Before starting, update your system:
sudo dnf -y upgrade sudo reboot
Dependency Installation: Install required packages:
sudo dnf -y install @development-tools kernel-headers kernel-devel dkms elfutils-libelf-devel qt5-qtx11extras
Import GPG Key: Verify the authenticity of the VirtualBox software:
sudo rpm --import https://www.virtualbox.org/download/oracle_vbox_2016.asc
Add VirtualBox Repository: Add the official repository for updates:
sudo wget -P /etc/yum.repos.d/ https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
Install VirtualBox: Install the latest version (adjust version number if needed):
sudo dnf install VirtualBox-7.1
Add User to vboxusers
Group: Grant your user access to VirtualBox:
sudo usermod -aG vboxusers $USER
Reboot: Restart your system for changes to take effect:
sudo reboot
Launch VirtualBox and Select Mode: Start VirtualBox (from your applications menu or using virtualbox
in the terminal). Choose between Basic and Expert mode based on your experience level.
Install Extension Pack: Download and install the extension pack for added features (like USB support):
wget https://download.virtualbox.org/virtualbox/7.1.0/Oracle_VirtualBox_Extension_Pack-7.1.0.vbox-extpack sudo VBoxManage extpack install Oracle_VirtualBox_Extension_Pack-7.1.0.vbox-extpack
(Accept the license agreement.) Verify installation using sudo VBoxManage list extpacks
.
Manually Installing Oracle VirtualBox on Fedora 41 Beta
For Fedora 41 Beta, repository installation might fail. Follow these steps instead:
Complete steps 1-3 from the previous section (System Update, Dependency Installation, Import GPG Key).
Download VirtualBox RPM: Download the RPM file directly from the Oracle VirtualBox Downloads page. (Remember to use the correct file name for your architecture.) Example:
sudo dnf -y upgrade sudo reboot
Install RPM: Install the downloaded file:
sudo dnf -y install @development-tools kernel-headers kernel-devel dkms elfutils-libelf-devel qt5-qtx11extras
Complete steps 6-9 from the previous section (Add User to vboxusers
Group, Reboot, Launch VirtualBox, Install Extension Pack).
Conclusion
This guide provides a clear, step-by-step process for installing VirtualBox on various Fedora versions. Remember to replace version numbers with the latest available versions when needed. Enjoy your virtual machines!
The above is the detailed content of How To Install Oracle VirtualBox 7.1 In Fedora Linux 41. For more information, please follow other related articles on the PHP Chinese website!