Skip to content
Follow
Ubuntu Linux

How to Install VirtualBox on Ubuntu 24.04

Richard
Written by
Richard
Mar 11, 2025 Updated Jul 13, 2026 2 min read
How to Install VirtualBox on Ubuntu 24.04
How to Install VirtualBox on Ubuntu 24.04

VirtualBox lets you install and run other operating systems, like Windows, directly on your Ubuntu 24.04 computer. It’s a free program that creates a virtual computer inside your existing one.

This means you can try out new software or use programs not made for Linux without needing to restart your computer. You can even run Windows apps right alongside your Ubuntu applications.

To install VirtualBox on Ubuntu 24.04, you’ll add its official software source and then use Ubuntu’s built-in tool, `apt`, to download and install the latest version from Oracle. This method ensures you get updates and security fixes.

⚡ Quick Answer

Install VirtualBox on Ubuntu 24.04 by opening a terminal and running the command: sudo apt update && sudo apt install virtualbox virtualbox-ext-pack. Accept the license agreement when prompted during installation.

Install VirtualBox

Installing VirtualBox on Ubuntu 24.04 requires a single terminal command. This command installs both the main VirtualBox software and the VirtualBox Extension Pack, which adds extra features. Enter the command and follow the on-screen instructions to finish the VirtualBox installation on Ubuntu 24.04.

Here’s the command to install VirtualBox and its extension pack:

🐧Bash / Shell
sudo update
sudo apt install virtualbox virtualbox-ext-pack

During the installation, you’ll be prompted to accept the license agreement. Accept and continue.

Once installed, list details of the extension package by running the command below.

💻Code
VBoxManage list extpacks

You should see output similar to this:

💻Code
Extension Packs: 2
Pack no. 0: VNC
Version: 7.0.16
Revision: 162802
Edition:
Description: VNC plugin module
VRDE Module: VBoxVNC
Crypto Module:
Usable: true
Why unusable:

Pack no. 1: Oracle VM VirtualBox Extension Pack
Version: 7.0.16
Revision: 162802
Edition:
Description: Oracle Cloud Infrastructure integration, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe, full VM encryption.
VRDE Module: VBoxVRDP
Crypto Module: VBoxPuelCrypto
Usable: true
Why unusable:

VirtualBox should now be installed and ready for you to start creating virtual machines.

VirtualBox dashboard
VirtualBox dashboard

That should do it!

Conclusion:

In short, installing VirtualBox and its extension pack on Ubuntu 24.04 is a smooth process for creating and managing virtual machines. Here’s what you get:

  • Easy Installation: Use a single command in the terminal to install VirtualBox and its extension pack.
  • Isolation for Testing: Create isolated environments for testing applications across different operating systems without additional physical hardware.
  • Legacy Support: Run legacy applications by replicating specific operational environments through virtual machines.
  • Versatile Applications: Utilize VirtualBox for various purposes, including development, testing, and concurrently running different operating systems.
  • User-Friendly Management: Manage your virtual machines quickly and access detailed information about installed extension packs.

With VirtualBox ready, you can explore all the possibilities of virtualization on your Ubuntu system!

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Install Additional Software on Ubuntu
Ubuntu Linux How to Install Additional Software on Ubuntu
How to Install Ubuntu Linux
Ubuntu Linux How to Install Ubuntu Linux
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04
How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04

1 Comment

Leave a Comment

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