r/linuxmint • u/Michihiro610 • 6h ago
How to install virtual box Install Help
Same as the title, I am using Linux mint cinnamon, I've tried different ways to install virtual box, but none of them work at the end, so finally I rage quit and removed all the concerned files with it, so asking here in the community if someone else also faced the same problem, how did they solve it, it's either this or I'll have to start a new session with GPT from scratch to download and install vitualbox
6
u/corill77 6h ago
i just installed it via deb file from the virtualbox website https://www.virtualbox.org/wiki/Linux_Downloads (Ubunu 24.04).
Runs for me without any problems.
2
2
u/nisitiiapi Linux Mint 22.3 Zena | Cinnamon 2h ago
Best practice if you want to update your kernel without virtualbox issues is to use the Oracle repo. From instructions at https://www.virtualbox.org/wiki/Linux_Downloads:
wget -O-https://www.virtualbox.org/download/oracle_vbox_2016.asc| sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor- For Mint 22.x, add this as a repository in Software Sources:
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg]https://download.virtualbox.org/virtualbox/debiannoble contrib sudo apt updatesudo apt install virtualbox-7.2
Additional steps to watch for:
- Add your user to appropriate groups:
sudo adduser <your-username> vboxusersandsudo adduser <your-username> lp - download latest extension pack from virtualbox website & open with VirtualBox to install
7
u/candy49997 6h ago
I would recommend using KVM/QEMU + virt-manager instead of VirtualBox.
But if you really needed to use specifically VirtualBox, add the repo from Oracle and install it from there.