How to Install VirtualBox 7.0 on openSUSE Leap 15 (15.4)

In this article, we will examine how to set up and use Oracle VM VirtualBox 7.0, which you can download for free, to create new virtual machines on the openSUSE Leap 15 (15.4) Linux distribution.

How to Install VirtualBox 7.0 on openSUSE Leap 15

How to Set Up Oracle VM VirtualBox 7.0.0 to Create a Virtual Machine on openSUSE Leap 15

Oracle VM VirtualBox is a great free open-source virtualization software. Using this software on your host computer allows you to run any Windows, Linux, or macOS system you want to operate virtually without needing a dual-boot system setup.

Any operation you perform on these virtual machines you have installed will not harm the operating system installed on your physical computer. A virus that will only infect your virtual computer when connected to the same network can also infect your host system. Although this is the only downside, it is a great way to experience various operating systems on your computer that supports virtualization.

Many users generally use the Windows system on their host PCs, but those aiming to gain advanced experience prefer a Linux-based distribution.

Another Linux platform is the openSUSE distribution developed by the SUSE company. There are two variants of this distribution, Leap and Tumbleweed. When there are system updates in the Leap type, the version is changed, but in the Tumbleweed type, the updates are pulled from the Internet and installed instantly, but there is no change in the system version.

We recommend choosing Oracle VM software to create and use a new virtual machine in the openSUSE Leap 15 (15.4) distribution.

How to Download and Install Oracle VM VirtualBox

You can download VirtualBox virtualization software developed by Oracle from the official website for Windows, Linux, or macOS platforms. The setup file extension may be different according to the operating system you downloaded, so you should install the program according to the file extension.

   Step 1

To download VirtualBox on your Linux computer, visit and click on the big image on the homepage.

Download VirtualBox 7.0

   Step 2

When you are redirected to the VirtualBox 7.0.0 Platform Packages webpage, click Linux Distributions.

VirtualBox 7.0.0 Platform Packages

   Step 3

You can see the distributions you can download for Linux hosts on this page. Click on the link to download the setup file that is compatible with your openSUSE system and has the rpm package extension, and then save the file.

Downloading the VirtualBox.rpm File

   Step 4

After downloading the VirtualBox.rpm setup file, you need to update your openSUSE system’s repository sources before starting the installation. To do this, open the terminal and execute the command “sudo zypper refresh”.

sudo zypper refresh

Updating openSUSE Software Packages

   Step 5

In order for VirtualBox to run smoothly on your computer, execute the “sudo zypper in gcc make kernel-devel” command in the terminal to install GCC and kernel packages on your system and press Y and Enter to confirm the packages to be installed.

sudo zypper in gcc make kernel-devel

Downloading Linux Kernels for VirtualBox

   Step 6

When installing Oracle software on your openSUSE system, you need to download and import the signed key. If you continue without downloading the key, you will not get an error during the installation phase, but you may get an error on your guest machines in the future.

Execute the commands below in the terminal to download the oracle_vbox key and add it to your system.

sudo wget -q
sudo rpm --import oracle_vbox.asc

Adding VirtualBox Key to System

   Step 7

After making the necessary preparations, go to the location where you downloaded the VirtualBox.rpm file and execute the command “sudo zypper install VirtualBox-7.0-7.0.0_153978_openSUSE153-1.x86_64.rpm” in the terminal to start the installation, and then press Y and Enter.

sudo zypper install VirtualBox-7.0-7.0.0_153978_openSUSE153-1.x86_64.rpm

Installing Oracle Software

   Step 8

After installing Oracle VirtualBox, you need to add your current user account on your SUSE system to the vboxusers group, otherwise you will get a warning about user control.

To make your existing user account a member of the vboxusers group created by Oracle, execute the command “sudo gpasswd -a $USER vboxusers” in the terminal and then reboot your computer with the command “sudo reboot” for the changes to take effect.

sudo gpasswd -a $USER vboxusers
sudo reboot

Making an Existing User a Member of the VBOXUSERS Group

   Step 9

When you restart your SUSE computer, find VirtualBox from the applications menu and run it.

Running Oracle VM VirtualBox

   Step 10

When you run the Oracle VM VirtualBox virtualization software, you can check Help / About from the tool menu to check version 7.0.

Checking Oracle VM Version

How to Install Extension Pack

In order to use USB, webcam, or other host hardware in your guest virtual machines that you will run in VirtualBox, you need to install the Extension Pack application.

   Step 1

Likewise, visit the website, and this time click on the All Supported Platforms link in the “Extension Pack” title and save the vbox-extpack package to your computer.

Installing Extension Pack

   Step 2

Go to Downloads and double-click on the relevant file to install the Extension Pack on your SUSE system.

Installing vbox-extpack

   Step 3

As soon as you double-click the installation file, when the Oracle program opens, click the Install button in the Question window.

Confirming Installing Oracle VM VirtualBox Extension Pack

   Step 4

To read the full text of the license agreement of the extension package, scroll down the page and then click the I Agree button.

Reading and Accepting All License Terms

   Step 5

Wait while the driver package for virtual machines is installed.

Installing Required Package for Virtual Machines

   Step 6

Open File / Tools / Extension Pack Manager to verify the installation process.

Opening Extension Pack Manager

   Step 7

You can check that you added version 7.0.0 of the Oracle VM VirtualBox Extension Pack to the program.

Checking the Version of the Package

How to Create a New Virtual Machine

After installing VirtualBox on openSUSE, you can now install a Windows or other operating system on your host computer and run it virtually.

   Step 1

Open the VirtualBox program and click the New button from the large icons section and open the virtual machine wizard.

Starting the New Virtual Machine Wizard

   Step 2

In the virtual machine preparation wizard, type the name of the operating system you will install and select Other from the drop-down menu to add the Windows 10 image file from the ISO Image section.

Changing the Virtual Machine Name and Adding Installation Media

   Step 3

In the window that opens, select a Windows 10 ISO file that you downloaded to your computer and add it to the program.

Adding Windows 10 ISO File to VM

   Step 4

If you want to make the user account name, password, or product activation key unattended after adding the image file, proceed without checking the Skip Unattended Installation option.

Skip Unattended Installation

   Step 5

Specify a suitable virtual memory size for your Windows 10 virtual computer and enable the EFI infrastructure.

Configuring Base Memory Size and Enabling EFI

   Step 6

Choose to create a new virtual disk for your Windows 10 guest machine and set an appropriate disk space size.

Creating a New Virtual Hard Disk

   Step 7

Check the summary information about the virtual hardware settings of the guest operating system and close the wizard.

Checking the Hardware Settings of the Virtual Computer

   Step 8

To make more advanced virtual hardware settings, open the Windows 10 virtual machine‘s settings.

Opening the Guest Machine's Settings

   Step 9

For fast file transfer between your host PC and guest machine, change Shared Clipboard and Drag’n’Drop properties to Bidirectional in General / Advanced settings.

Enable Shared Clipboard and Drag'n'Drop

   Step 10

To install Windows using the ISO file, set Optical to the top of the Boot Order devices in the System / Motherboard settings and enable the Secure Boot feature.

Configuring Boot Devices and Enabling Secure Boot

   Step 11

In order to use your virtual computer faster, configure the vCPU setting to 2 or higher in the Processor settings.

Increasing the Number of Virtual Processors

   Step 12

To get better quality images, enable 3D Acceleration from Display / Screen settings and change the Video Memory size to 256 MB.

Enabling 3D Graphics Acceleration and Increasing Video Memory

   Step 13

To increase the performance of the virtual disk, select the SATA controller from the Storage settings and enable the Host I/O Cache feature.

Opening SATA Controller's Host I/O Cache

   Step 14

Likewise, set the Windows 10.vdi disk file to run as Solid-State Drive (SSD).

Changing VDI Virtual Disk to SSD

   Step 15

Finally, to use your USB 3.0 devices in your Microsoft Windows 10 virtual system, select the USB 3.0 (xHCI) Controller from the USB settings and close the settings window.

Selecting USB 3.0 Controller Type

   Step 16

After making the settings of the Win10 virtual computer you have prepared, click the Start button from the tool menu to run it.

Running a Windows 10 Virtual PC

   Step 17

You can now set up your system when the Windows 10 setup wizard opens over the ISO image you added when you ran the VM.

Windows 10 Setup Wizard

   Step 18

If you want to completely remove your Windows 10 virtual system from your system later, right-click on it from the virtual machine library and click Remove. When the Question window opens, if you want to completely delete all files related to this machine from your system, click Delete All Files.

Deleting a Windows 10 Guest Virtual PC Completely

How to Uninstall VirtualBox

If you no longer want to use Oracle virtualization software on your openSUSE Leap 15 system, you can use the terminal to easily uninstall it.

   Step 1

Before completely uninstalling VirtualBox from your SUSE system, run the command “sudo rpm -qa | grep -i VirtualBox” in the terminal to check if it is installed. If you see the program, execute the command “sudo rpm -e VirtualBox-7.0” to start the uninstall process.

sudo rpm -e VirtualBox-7.0
sudo rpm -qa | grep -i VirtualBox

Uninstalling VirtualBox from SUSE

   Step 2

Finally, we recommend that you also delete the vboxusers group that was added to your system when installing VirtualBox. First, check that the group exists with the command “cat /etc/group | grep vbox” and execute the command “sudo groupdel vboxusers” to delete it.

cat /etc/group | grep vbox
sudo groupdel vboxusers

Deleting Vboxusers Group


   Related Articles

How to Install GNS3 on SUSE
How to Install GNS3 VM on SUSE
How to Install VMware on SUSE
How to Install Packet Tracer in SUSE
How to Install SUSE on a PC

Add a Comment

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