Not able to install VirtualBox on Mint 21.3

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
thomasvtt2
Level 1
Level 1
Posts: 2
Joined: Wed Jan 17, 2024 1:18 am

Not able to install VirtualBox on Mint 21.3

Post by thomasvtt2 »

I tried to install VirtualBox 7.0.12 on my Mint 21.3 version. The error says "the VirtualBox code does not match the current kernel version code"
RIH
Level 9
Level 9
Posts: 2910
Joined: Sat Aug 22, 2015 3:47 am

Re: Not able to install VirtualBox on Mint 21.3

Post by RIH »

You had better post some equipment details
VB.png
VB.png (15.09 KiB) Viewed 1062 times
as it is running fine for me..
Image
thomasvtt2
Level 1
Level 1
Posts: 2
Joined: Wed Jan 17, 2024 1:18 am

Re: Not able to install VirtualBox on Mint 21.3

Post by thomasvtt2 »

It is a Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz 2.00 GHz CPU 8GB RAM
User avatar
Pierre
Level 21
Level 21
Posts: 13228
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Not able to install VirtualBox on Mint 21.3

Post by Pierre »

can you tell us an bit more about your machine:
viewtopic.php?t=410977
copy the result of that, back here, on your reply.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Treeble
Level 1
Level 1
Posts: 3
Joined: Wed Jan 17, 2024 12:52 pm

Re: Not able to install VirtualBox on Mint 21.3

Post by Treeble »

I had a similar issue trying to install virtualbox. Did you install it using "sudo apt install VirtualBox"?
If so, purge that download and redownload it off of the oracle website https://www.virtualbox.org/wiki/Linux_Downloads
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Not able to install VirtualBox on Mint 21.3

Post by deepakdeshp »

If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Not able to install VirtualBox on Mint 21.3

Post by AndyMH »

What kernel are you running (uname -r in a terminal)?
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
linux-rox
Level 10
Level 10
Posts: 3334
Joined: Sun Jul 19, 2020 9:17 pm

Re: Not able to install VirtualBox on Mint 21.3

Post by linux-rox »

The OP seems to have left the building. What deepak says is very likely the correct answer, though.
ronsmeyer
Level 2
Level 2
Posts: 86
Joined: Thu Aug 13, 2015 5:28 pm

Re: Not able to install VirtualBox on Mint 21.3

Post by ronsmeyer »

I use the Virtual Box repository to get the Oracle version. As soon as a new version is posted on the VBox website, it appears in Update Manager. Add it as a repository in Software Sources. I've used this for years.

Code: Select all

deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian jammy contrib
Post Reply

Return to “Virtual Machines”