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

This guide provides a detailed walkthrough on effortlessly installing and utilizing Oracle VM VirtualBox 7.0, a freely available virtualization software, 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. By utilizing this software on your primary computer, you can effortlessly operate a wide range of Windows, Linux, or macOS systems virtually, eliminating the need for a complicated 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. While this may be the only drawback, it presents an excellent opportunity to explore and engage with diverse operating systems on your virtualization-supported computer.

Many users generally use the Windows system on their host PCs. Still, 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. Still, 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 vary depending on the downloaded operating system, necessitating the program’s installation by the corresponding file extension.

Step 1

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

Download VirtualBox 7.0

Step 2

When 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 get the setup file 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 accomplish this, initiate the process by opening the terminal and executing the “sudo zypper refresh” command.

sudo zypper refresh

Updating openSUSE Software Packages

Step 5

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

You must download and import the signed key when installing Oracle software on your openSUSE system. If you continue without downloading the key, you will not get an error during installation. Still, you may get an error on your guest machines.

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

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

Adding VirtualBox Key to System

Step 7

After completing the necessary preparations, proceed to the directory where you downloaded the VirtualBox.rpm file. From there, in the terminal, execute the command “sudo zypper install VirtualBox-7.0-7.0.0_153978_openSUSE153-1.x86_64.rpm” to trigger the setup process.

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 must add your current user account on your SUSE system to the vboxusers group; otherwise, you will get a warning about user control.

To add your existing user account to the vboxusers group created by Oracle, run the command “sudo gpasswd -a $USER vboxusers” in the terminal. Afterward, to apply the changes, reboot your computer using the command “sudo reboot.” This will ensure that the modifications take effect accordingly.

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

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

Step 1

Likewise, visit the virtualbox.org 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 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

Scroll down the window and click “I Agree” to see the entire license agreement text for the application package.

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 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 install a Windows or other operating system on your host computer and run it virtually.

Step 1

Open the VirtualBox program, 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 operating system name 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

Choose the Windows 10 ISO file you downloaded to your computer within the open window 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

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

Open the Windows 10 virtual machine‘s settings to make more advanced virtual hardware settings.

Opening the Guest Machine's Settings

Step 9

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

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

Configure the vCPU setting to 2 or higher in the Processor settings to use your virtual computer faster.

Increasing the Number of Virtual Processors

Step 12

Enable 3D Acceleration from Display / Screen settings and change Video Memory size to 256MB for a better video experience.

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 as Solid-State Drive (SSD).

Changing VDI Virtual Disk to SSD

Step 15

To utilize USB 3.0 devices within your Microsoft Windows 10 virtual machine, access the system’s settings and enable the xHCI Controller. After selecting this option, close the preferences window to finalize your configuration.

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

To remove your Windows 10 virtual system from your system later, right-click it within the virtual machine library and select the “Remove” option. When the Question window opens, click Delete All Files to delete all files related to this machine from your system.

Deleting a Windows 10 Guest Virtual PC Completely

How to Uninstall VirtualBox

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

Step 1

Before moving with the complete uninstallation of VirtualBox from your SUSE system, it is advisable to verify if it is installed by executing the command ( sudo rpm -qa | grep -i VirtualBox ) in the console. If you see the program, run 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 deleting the vboxusers group 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

Video

Related Articles

1) How to Install GNS3 on SUSE
2) How to Install GNS3 VM on SUSE
3) How to Install VMware on SUSE
4) How to Install Packet Tracer in SUSE
5) How to Install SUSE on a PC

Add a Comment

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