Which Qt package is suitable for VirtualBox 7.2.4

Ubuntu Support Template

Ubuntu Version:
Example: 24.04

Desktop Environment (if applicable):
Example: GNOME

Problem Description:
I am prepare to install VirtualBox 7.2.4 in Ubuntu 24.04. When I read the installation manu, it said it need Qt 6.5.3 or later. So I search Qt in Synaptic, I found there are so many qt6 packages, I don’t know which package is match Qt 6.5.3 or later. Anybody could kindly help me? Please tell me the exact name so I can install it by Synaptic.

My computer is a HP-zbook-Power-16inch-G11-Mobile-workstation.

How to Install VirtualBox 7.2.4 & Extension Pack on Ubuntu | Full Step-by-Step Tutorial :rocket:
https://www.youtube.com/watch?v=E2bEQdY46Ak

Thank you! But I can’t connect to YouTube. Could you please give me another link?

Below are the steps shown in the video, written briefly and clearly.
They apply to Ubuntu 24.04 and are almost the same for 22.04 and 20.04.


1) Download VirtualBox for Ubuntu

  1. Open a web browser.

  2. Go to:

  3. https://www.virtualbox.org

  4. Click DownloadLinux distributions.

  5. Choose the Ubuntu version that matches your system (e.g. 24.04).

  6. Download the .deb file (about ~9 MB).


2) Install the downloaded .deb file

  1. Open a Terminal.
  2. Go to the folder you used for downloading
    (for example, the Downloads folder):
cd ~/Downloads
ls
  1. Install the package:
sudo dpkg -i virtualbox-*.deb

(You can also type sudo dpkg -i virtual and press Tab to auto-complete.)


3) Fix dependencies (only if an error appears)

If dpkg shows dependency errors, run:

sudo apt --fix-broken install

(or: sudo apt -f install)

  • Accept the packages when prompted.

4) Re-run the installer

After fixing dependencies, install again:

cd ~/Downloads
sudo dpkg -i virtualbox-*.deb

This time it should finish without errors.


5) Verify installation

  1. Open Show Applications.
  2. Launch Oracle VM VirtualBox.
  3. Go to Help → About VirtualBox and confirm the version.

6) Install the Extension Pack

  1. Go back to the VirtualBox website.
  2. Click DownloadVirtualBox Extension Pack (same version).
  3. Download the file and double-click it.
  4. Click Install, scroll to the bottom of the license text,
    then click I Agree.
  5. Enter your password when prompted.
  6. In VirtualBox, open File → Tools → Extension Pack Manager
    and confirm it is installed.

7) (Optional) Clean up downloaded files

After everything works:

cd ~/Downloads
rm virtualbox-*.deb
rm Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack
1 Like

For most users, the Virtualbox package that is already in the Ubuntu repositories is much easier than worrying about downloads and dependencies.

  • It’s in App Center (and synaptic)
  • This method is easiest. It will automatically handle all dependencies.
  • This is the recommended path for new users.


The upstream version (downloading from Virtualbox .org) is always an option for users who really want the latest features…

…but that’s not recommended for a 2-year-old LTS release. Bolting new software onto an old release is a top cause of version collisions that sometimes break future upgrades. For newer software, consider using a newer release of Ubuntu (which is also fully supported) instead of an older LTS.

We recommend the upstream path only to users with apt troubleshooting experience.

2 Likes

The deb package of Virtualbox 7.2.4 from Virtualbox.org doesn’t depend on any QT libraries. It uses gtk3 and gtk2. The version in 24.04’s Ubuntu repository does use QT, but all required QT libs will be in the archive so you wouldn’t have to worry about getting the latest 6.x versions.

If you decided to install the deb package from virtualbox.org, then I would simply use apt or apt-get. Change to directory where virtualbox-7.2_7.2.4-170995~Ubuntu~noble_amd64.deb is downloaded to (usually ~/Downloads) and from the command-line issue:

$ sudo apt -s install ./virtualbox-7.2_7.2.4-170995~Ubuntu~noble_amd64.deb

The “-s” option tells apt to simulate what would be done rather than performing the action and altering the system. Look the output over and if there aren’t any errors, then run the command again without “-s” to perform the actual install.

Alternately, since Synaptic doesn’t perform package actions on local debs, you can install a package called gdebi that does provide a gui interface to install local stored deb packages. It’ll do dependency checking just like the apt command listed above does and install whatever packages are needed to satisfy a dependency, or give you an error before doing any action.

There are other package management programs available, but between gdebi and synaptic you’re pretty well covered for managing deb packages in a gnome/gtk environment.

Is there any particular reason you need the upstream version which is only a minor version bump over the 7.0.16 that is in the archive for 24.04 and gets regular security updates (which the upstream version will not, you will have to follow some CVE database yourself and take care of replacing the deb manually when security issues occur) ?

I’d really recommend staying with the maintained version unless there is some feature that is hard required by you and that is only in 7.2 …

2 Likes

Very clearly, thank you very much. I’ll try.

Hi MesterPerfect, I have finished sept 5, so far it is good, I can see the version in help menu. Now I download extension pack, I double click it. It decompress to a folder with same name. How can I click install botton? Thanks for your patience.

Install the Extension Pack

  1. Go back to the VirtualBox website.

  2. Click DownloadVirtualBox Extension Pack (same version).

  3. Download the file and double-click it.

  4. Click Install, scroll to the bottom of the license text,
    then click I Agree.

  5. Enter your password when prompted.

  6. In VirtualBox, open File → Tools → Extension Pack Manager
    and confirm it is installed.

1 Like

Hi MesterPerfect, now I found. Right click the extension file and choose “open by Oracle VirtualBox”. Sorry for disturb.

1 Like

Hi, no worries at all — that happens quite often :+1:
Glad you figured it out.

Yes, on Ubuntu the Extension Pack may extract instead of opening directly.
Using Right-click → Open with “Oracle VM VirtualBox” is the correct way.

Happy to hear everything is working fine now.
Enjoy VirtualBox, and feel free to ask if you run into anything else :slightly_smiling_face:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.