This guide will take you through how to install VirtualBox 7 on OpenSUSE. VirtualBox is a type-2 hypervisor for x86 virtualization that was developed by Oracle Corporation. It can be used in both commercial and private settings.
How to Install VirtualBox 7 on OpenSUSE
- Navigate to the VirtualBox download page and click on Linux distribution as shown below.

- Then click on OpenSUSE as shown below.

- On the popup menu that will appear, select save then OK. VirtualBox 7 will start downloading.

- Next, update your system using the command below.
sudo zypper refresh
- Install kernel packages using the following command.
sudo zypper install gcc make kernel-devel
Sample output
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following recommended package was automatically selected:
make-lang
The following 25 NEW packages are going to be installed:
dwarves gcc gcc7 glibc-devel kernel-default-devel kernel-devel
kernel-macros libasan4 libatomic1 libbpf0 libcilkrts5 libdwarves1
libelf-devel libitm1 liblsan0 libmpx2 libmpxwrappers2 libtsan0
libubsan0 libxcrypt-devel linux-glibc-devel make make-lang site-config
zlib-devel
25 new packages to install.
Overall download size: 62.8 MiB. Already cached: 0 B. After the
operation, additional 150.8 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libasan4-7.5.0+r278197-4.30.1.x86_64
(1/25), 362.2 KiB ( 1.3 MiB unpacked)
Retrieving: libasan4-7.5.0+r278197-4.30.1.x86_64.rpm [done (170.7 KiB/s)]
Retrieving package libbpf0-0.5.0-150400.1.6.x86_64
(2/25), 133.0 KiB (308.5 KiB unpacked)
Retrieving: libbpf0-0.5.0-150400.1.6.x86_64.rpm .....[done (177.2 KiB/s)]
Retrieving package libcilkrts5-7.5.0+r278197-4.30.1.x86_64
(3/25), 65.7 KiB (120.1 KiB unpacked)
Retrieving: libcilkrts5-7.5.0+r278197-4.30.1.x86_64.rpm[done (1.2 KiB/s)]
Retrieving package libubsan0-7.5.0+r278197-4.30.1.x86_64
(4/25), 138.9 KiB (305.2 KiB unpacked)
Retrieving: libubsan0-7.5.0+r278197-4.30.1.x86_64.rpm[done (212.2 KiB/s)]
Retrieving package make-4.2.1-7.3.2.x86_64
(5/25), 281.7 KiB (394.6 KiB unpacked)
Retrieving: make-4.2.1-7.3.2.x86_64.rpm ..............[done (87.7 KiB/s)]
Retrieving package make-lang-4.2.1-7.3.2.noarch
(6/25), 164.0 KiB (886.1 KiB unpacked)
Retrieving: make-lang-4.2.1-7.3.2.noarch.rpm .........[done (53.6 KiB/s)]
Retrieving package site-config-0.2-bp154.1.19.x86_64
(7/25), 16.5 KiB ( 21.4 KiB unpacked)
Retrieving: site-config-0.2-bp154.1.19.x86_64.rpm .....[done (5.7 KiB/s)]
Retrieving package libdwarves1-1.22-150400.2.10.x86_64
(8/25), 79.9 KiB (173.0 KiB unpacked)
Retrieving: libdwarves1-1.22-150400.2.10.x86_64.rpm .[done (229.8 KiB/s)]
Retrieving package dwarves-1.22-150400.2.10.x86_64
(9/25), 105.2 KiB (282.2 KiB unpacked)
Retrieving: dwarves-1.22-150400.2.10.x86_64.rpm .....[done (117.9 KiB/s)]
Retrieving package kernel-macros-5.14.21-150400.24.33.1.noarch
- Download the VirtualBox key using the commands below.
sudo wget -q https://www.virtualbox.org/download/oracle_vbox.asc
sudo rpm --import oracle_vbox.asc
- Next, navigate to where VirtualBox is downloaded.
cd Downloads
- Then install it using the following command.
sudo zypper install VirtualBox-7.0-7.0.4_154605_openSUSE153-1.x86_64.rpm
Sample output
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 6 NEW packages are going to be installed:
libQt5Help5 libQt5OpenGL5 libQt5X11Extras5 libQt5Xml5 libvpx4
VirtualBox-7.0
6 new packages to install.
Overall download size: 87.6 MiB. Already cached: 0 B. After the
operation, additional 205.9 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libQt5X11Extras5-5.15.2+kde1-150400.1.5.x86_64
(1/6), 47.1 KiB (135.7 KiB unpacked)
Retrieving: libQt5X11Extras5-5.15.2+kde1-150400.1.5.x86_64.rpm ....[done]
Retrieving package libQt5Help5-5.15.2+kde17-150400.3.3.1.x86_64
(2/6), 191.7 KiB (671.3 KiB unpacked)
Retrieving: libQt5Help5-5.15.2+kde17-150400.3.3.1.x86[done (135.2 KiB/s)]
Retrieving package libQt5OpenGL5-5.15.2+kde294-150400.6.3.1.x86_64
(3/6), 229.9 KiB (587.6 KiB unpacked)
Retrieving: libQt5OpenGL5-5.15.2+kde294-150400.6.3.1.[done (226.5 KiB/s)]
Retrieving package libQt5Xml5-5.15.2+kde294-150400.6.3.1.x86_64
(4/6), 202.1 KiB (484.3 KiB unpacked)
Retrieving: libQt5Xml5-5.15.2+kde294-150400.6.3.1.x86[done (220.0 KiB/s)]
Retrieving package libvpx4-1.6.1-150000.6.8.1.x86_64
(5/6), 609.1 KiB ( 1.6 MiB unpacked)
Retrieving: libvpx4-1.6.1-150000.6.8.1.x86_64.rpm ...[done (124.0 KiB/s)]
Retrieving package VirtualBox-7.0-7.0.4_154605_openSUSE153-1.x86_64
(6/6), 86.4 MiB (202.5 MiB unpacked)
Checking for file conflicts: ......................................[done]
(1/6) Installing: libQt5X11Extras5-5.15.2+kde1-150400.1.5.x86_64 ..[done]
(2/6) Installing: libQt5Help5-5.15.2+kde17-150400.3.3.1.x86_64 ....[done]
(3/6) Installing: libQt5OpenGL5-5.15.2+kde294-150400.6.3.1.x86_64 .[done]
(4/6) Installing: libQt5Xml5-5.15.2+kde294-150400.6.3.1.x86_64 ....[done]
(5/6) Installing: libvpx4-1.6.1-150000.6.8.1.x86_64 ...............[done]
- Add your current user to vboxusers group using the following command then reboot your system to apply changes.
sudo gpasswd -a $USER vboxusers
sudo reboot
- After restarting your system, launch VirtualBox from the application menu.

- VirtualBox 7 interface.

- You have reached the end of our article, we have gone through how to install VirtualBox 7 on OpenSUSE.
Read more about VirtualBox
Other Tutorials
Install Elixir on Ubuntu 22.04