search
HomeSystem TutorialLINUXHow To Install Oracle VirtualBox 7.1 In Debian 12 Linux

This guide explains how to install Oracle VirtualBox 7.1 and its Extension Pack on Debian 12. Follow these steps to set up a virtual machine environment.

Table of Contents

  • Step 1: Preparing Debian 12
  • Step 2: Securing the Oracle Key
  • Step 3: Configuring the VirtualBox Repository
  • Step 4: Installing VirtualBox 7.1
  • Step 5: Launching VirtualBox
  • Step 6: Adding the Extension Pack

Step 1: Preparing Debian 12

Begin by updating and upgrading your Debian system:

sudo apt update && sudo apt -y full-upgrade
sudo apt install -y gcc make linux-headers-$(uname -r) libqt5core5a libqt5gui5 libqt5widgets5 libqt5opengl5 libqt5printsupport5 libqt5x11extras5 libqt5network5 libqt5dbus5
sudo apt -y autoremove && sudo apt -y autoclean

Reboot your system after these updates.

Step 2: Securing the Oracle Key

Import the Oracle public key to authenticate VirtualBox packages:

wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor

Step 3: Configuring the VirtualBox Repository

Add the VirtualBox repository to your system's sources list:

sudo nano /etc/apt/sources.list.d/virtualbox.list

Paste this line into the file, ensuring /usr/share/keyrings/oracle-virtualbox-2016.gpg is correct:

<code>deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib</code>

Save and close the file. Then update your software sources:

sudo apt update

Step 4: Installing VirtualBox 7.1

Install VirtualBox 7.1:

sudo apt install -y virtualbox-7.1

Step 5: Launching VirtualBox

Start VirtualBox from your application menu or command line:

virtualbox

Upon first launch, select your preferred interface mode (Basic or Expert). This can be changed later in the settings.

How To Install Oracle VirtualBox 7.1 In Debian 12 Linux

How To Install Oracle VirtualBox 7.1 In Debian 12 Linux

Step 6: Adding the Extension Pack

Download and install the VirtualBox Extension Pack for enhanced features:

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 via the command line:

sudo VBoxManage list extpacks

Or through the VirtualBox GUI (Files -> Tools -> Extension Package Manager).

How To Install Oracle VirtualBox 7.1 In Debian 12 Linux

You've successfully installed VirtualBox 7.1 and its Extension Pack on Debian 12. Future tutorials will cover creating and managing virtual machines.

Further Reading: How To Install Oracle VirtualBox 7.1 In Fedora Linux 41

The above is the detailed content of How To Install Oracle VirtualBox 7.1 In Debian 12 Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How does performance differ between Linux and Windows for various tasks?How does performance differ between Linux and Windows for various tasks?May 14, 2025 am 12:03 AM

Linux performs well in servers and development environments, while Windows performs better in desktop and gaming. 1) Linux's file system performs well when dealing with large numbers of small files. 2) Linux performs excellently in high concurrency and high throughput network scenarios. 3) Linux memory management has more advantages in server environments. 4) Linux is efficient when executing command line and script tasks, while Windows performs better on graphical interfaces and multimedia applications.

How to Create GUI Applications In Linux Using PyGObjectHow to Create GUI Applications In Linux Using PyGObjectMay 13, 2025 am 11:09 AM

Creating graphical user interface (GUI) applications is a fantastic way to bring your ideas to life and make your programs more user-friendly. PyGObject is a Python library that allows developers to create GUI applications on Linux desktops using the

How to Install LAMP Stack with PhpMyAdmin in Arch LinuxHow to Install LAMP Stack with PhpMyAdmin in Arch LinuxMay 13, 2025 am 11:01 AM

Arch Linux provides a flexible cutting-edge system environment and is a powerfully suited solution for developing web applications on small non-critical systems because is a completely open source and provides the latest up-to-date releases on kernel

How to Install LEMP (Nginx, PHP, MariaDB) on Arch LinuxHow to Install LEMP (Nginx, PHP, MariaDB) on Arch LinuxMay 13, 2025 am 10:43 AM

Due to its Rolling Release model which embraces cutting-edge software Arch Linux was not designed and developed to run as a server to provide reliable network services because it requires extra time for maintenance, constant upgrades, and sensible fi

12 Must-Have Linux Console [Terminal] File Managers12 Must-Have Linux Console [Terminal] File ManagersMay 13, 2025 am 10:14 AM

Linux console file managers can be very helpful in day-to-day tasks, when managing files on a local machine, or when connected to a remote one. The visual console representation of the directory helps us quickly perform file/folder operations and sav

qBittorrent: A Powerful Open-Source BitTorrent ClientqBittorrent: A Powerful Open-Source BitTorrent ClientMay 13, 2025 am 10:12 AM

qBittorrent is a popular open-source BitTorrent client that allows users to download and share files over the internet. The latest version, qBittorrent 5.0, was released recently and comes packed with new features and improvements. This article will

Setup Nginx Virtual Hosts, phpMyAdmin, and SSL on Arch LinuxSetup Nginx Virtual Hosts, phpMyAdmin, and SSL on Arch LinuxMay 13, 2025 am 10:03 AM

The previous Arch Linux LEMP article just covered basic stuff, from installing network services (Nginx, PHP, MySQL, and PhpMyAdmin) and configuring minimal security required for MySQL server and PhpMyadmin. This topic is strictly related to the forme

Zenity: Building GTK  Dialogs in Shell ScriptsZenity: Building GTK Dialogs in Shell ScriptsMay 13, 2025 am 09:38 AM

Zenity is a tool that allows you to create graphical dialog boxes in Linux using the command line. It uses GTK , a toolkit for creating graphical user interfaces (GUIs), making it easy to add visual elements to your scripts. Zenity can be extremely u

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool