Installing Virtualbox 7.1.4 in Ubuntu 24.10

November 16, 2024 (2mo ago)

virtualbox logo

I have seen many people are not able to install Virtualbox 7.1.4 in Ubuntu 24.10 due to unresolved dependencies making it impossible to install.

You might be receiving the follow error message :


virtualbox-7.1
└── Depends:
β”œβ”€β”€ libqt6dbus6t64 (>= 6.1.2) is only referenced by name, no packages provides it
β”œβ”€β”€ libqt6gui6t64 (>= 6.4.0) is only referenced by name, no packages provides it
β”œβ”€β”€ libqt6printsupport6t64 (>= 6.1.2) is only referenced by name, no packages provides it
β”œβ”€β”€ libqt6widgets6t64 (>= 6.3.0) is only referenced by name, no packages provides it
└── libqt6xml6t64 (>= 6.1.2) is only referenced by name, no packages provides it

I got a solution to install Virtualbox 7.1.4 successfully with ease , just follow the steps listed below.

Here is what I did to successfully install VirtualBox 7.1.4 on Ubuntu 24.10

  1. The usual almost essential packages installation
sudo apt update 
sudo apt install dkms menu build-essential libelf-dev make gcc linux-headers-$(uname -r)
  1. Some more packages (I admit I just shot into the blue) πŸ˜…
sudo apt install liblzf1 libqt6help6 libqt6statemachine6 libsdl-ttf2.0-0 libqt6widgets6 libqt6xml6 qt6-wayland libqt6sql6 libqt6opengl6 libqt6printsupport6 libqt6network6 libqt6printsupport6 libqt6gui6 libqt6dbus6 qt6-qpa-plugins qt6-translations-l10n qt6-wayland qt6-qmltooling-plugins libb2-1
  1. Get the software and sha256sum and download it into download folder
wget -P $HOME/Downloads https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4-165100-Linux_amd64.run https://download.virtualbox.org/virtualbox/7.1.4/SHA256SUMS
  1. Check the binary’s integrity with sha256sum
sha256sum -c <(grep "VirtualBox-7.1.4-165100-Linux_amd64.run" "$HOME/Downloads/SHA256SUMS")
  1. Change the modus of the binary to make it executable
chmod +x $HOME/Downloads/VirtualBox-7.1.4-165100-Linux_amd64.run
  1. Execute the file
sudo ./VirtualBox-7.1.4-165100-Linux_amd64.run
  1. Now this will install your VirtualBox 7.1.4

  2. If you like you might want to install the VirtualBox extensions as well.

wget -P $HOME/Downloads https://download.virtualbox.org/virtualbox/7.1.4/Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack

sha256sum -c <(grep "Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack" "$HOME/Downloads/SHA256SUMS")
  1. Install Extensions
sudo /usr/bin/vboxmanage extpack install --replace $HOME/Downloads/Oracle_VirtualBox_Extension_Pack-7.1.4.vbox-extpack
  1. Agree to the license β€œY” and make sure that the extensions and the rest of the VirtualBox software is under /opt/VirtualBox available
ls -l /opt/VirtualBox/ExtensionPacks/Oracle_VirtualBox_Extension_Pack/linux.amd64
  1. Add your user to vboxuser group
sudo usermod -aG vboxusers $USER
  1. Reboot
sudo reboot

Now you are GTG to use Windows crap in your Ubuntu 24.10 πŸ˜‰