[Solved] Install Virtualbox 6.0 in Mint 19.1

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.
amogh123789

[Solved] Install Virtualbox 6.0 in Mint 19.1

Post by amogh123789 »

Hi,

How can I install VBox 6.0 in Mint 19.1? The repo only provides version 5.2. The Oracle site provides .deb installer but I dont want it since it wont update later.
Will the 6.0 version be aviable in repo soon?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pierre
Level 21
Level 21
Posts: 13182
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Install Virtualbox 6.0 in Mint 19.1

Post by Pierre »

some most folks are still using V5.2.xx it seems,
- a few have 'upgraded' to V6.x but are reporting some issues with the Guest Additions,,
and also have found that the V5.2.x GAs do work with that V6.x virtualbox. :o

in general, most folks on this forum, do seem to suggest to download the VB program,
- directly from the Oracle site & *not* from the repository, at all.

the V6.x version may be available in LM19.1 - - but that is still a large unknown, at this stage.
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!.
MrGrimm

Re: Install Virtualbox 6.0 in Mint 19.1

Post by MrGrimm »

i just installed yesterday via terminal.

Installing VirtualBox 6.0 in Debian, Ubuntu and Linux Mint

First, uninstall any earlier version of Virtualbox if any.

Code: Select all

sudo apt-get remove virtualbox-*
Next, install latest VirtualBox 6.0 version using official Virtualbox repository. To add the repository, use the following command as shown. do each of the lines one at a time.

Code: Select all

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update

sudo apt-get install  virtualbox-6.0
Starting VirtualBox 6.0

Simply execute following command to start it from the terminal or use launcher from menu to start.

Code: Select all

# VirtualBox
https://www.tecmint.com/install-virtual ... os-fedora/
Pierre wrote: Sun Feb 10, 2019 9:08 am some most folks are still using V5.2.xx it seems,
- a few have 'upgraded' to V6.x but are reporting some issues with the Guest Additions,,
and also have found that the V5.2.x GAs do work with that V6.x virtualbox. :o

in general, most folks on this forum, do seem to suggest to download the VB program,
- directly from the Oracle site & *not* from the repository, at all.

the V6.x version may be available in LM19.1 - - but that is still a large unknown, at this stage.
whole heartedly disagree. i had issues with 5.2 not liking some iso's, but 6.0 works perfectly for me.
Last edited by MrGrimm on Sun Feb 10, 2019 10:06 am, edited 1 time in total.
User avatar
Pierre
Level 21
Level 21
Posts: 13182
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Install Virtualbox 6.0 in Mint 19.1

Post by Pierre »

well - that's only what I've been reading, on some other Forums,
& the result(s) that they did find. :?

for myself - I'm still running V5.2.x on all of my PCs - at least for the fore-see-able future, anyway.
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!.
MrGrimm

Re: Install Virtualbox 6.0 in Mint 19.1

Post by MrGrimm »

Pierre wrote: Sun Feb 10, 2019 9:27 am well - that's only what I've been reading, on some other Forums,
& the result(s) that they did find. :?

for myself - I'm still running V5.2.x on all of my PCs - at least for the fore-see-able future, anyway.
i might be one of the lucky ones. like with the post i just made about timeshift pretty sure i'm the exception not the rule.
amogh123789

Re: Install Virtualbox 6.0 in Mint 19.1

Post by amogh123789 »

MrGrimm wrote: Sun Feb 10, 2019 9:18 am i just installed yesterday via terminal.

Installing VirtualBox 6.0 in Debian, Ubuntu and Linux Mint

First, uninstall any earlier version of Virtualbox if any.

Code: Select all

sudo apt-get remove virtualbox-*
Next, install latest VirtualBox 6.0 version using official Virtualbox repository. To add the repository, use the following command as shown. do each of the lines one at a time.

Code: Select all

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
Starting VirtualBox 6.0

Simply execute following command to start it from the terminal or use launcher from menu to start.

Code: Select all

# VirtualBox
https://www.tecmint.com/install-virtual ... os-fedora/
Pierre wrote: Sun Feb 10, 2019 9:08 am some most folks are still using V5.2.xx it seems,
- a few have 'upgraded' to V6.x but are reporting some issues with the Guest Additions,,
and also have found that the V5.2.x GAs do work with that V6.x virtualbox. :o

in general, most folks on this forum, do seem to suggest to download the VB program,
- directly from the Oracle site & *not* from the repository, at all.

the V6.x version may be available in LM19.1 - - but that is still a large unknown, at this stage.
whole heartedly disagree. i had issues with 5.2 not liking some iso's, but 6.0 works perfectly for me.

I Think you probably forgot to add the actual install command :)

Code: Select all

sudo apt-get install  virtualbox-6.0
Anyway, by this way will I get newer version updates/security updates automatically through update manager?
MrGrimm

Re: Install Virtualbox 6.0 in Mint 19.1

Post by MrGrimm »

you're right.i didn't catch that on their page, or somehow i didn't hi-lite and copy all 4 lines :oops: :oops: . need more coffee. maybe a coffee iv. thanks so much for catching that.
amogh123789

Re: Install Virtualbox 6.0 in Mint 19.1

Post by amogh123789 »

I installed but getting error of some incompatibility :?
Attached the error message

Also executed sudo /sbin/vboxconfig as the message tells, but didnt help
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Install Virtualbox 6.0 in Mint 19.1

Post by AndyMH »

You probably didn't purge all of the old virtualbox before starting. Go and have a look in synaptic package manager and see if there are any bits left over. This is all you should have after a successful install of VB6.0 - one item only!
wther_009.jpg
Recommend the installation method provided by MrGrimm (it's on the oracle website). That way you get the updates.

Don't forget to download and install the extension pack, install guest additions into the OS in your VM and check/add yourself to the vboxusers group.

Running VB6.0 quite happily under mint 19.0 cinnamon with win7 and winXP as VMs.

Note - unless they have fixed it, there is a bug with mint 19.1 cinnamon and VB, it won't run in seamless mode but quite happy full screen. It's why I'm still running LM19.0.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
amogh123789

Re: Install Virtualbox 6.0 in Mint 19.1

Post by amogh123789 »

It worked. Yes, probably some old files were left. Uninstalled everything and again installed. Now it works fine.
Also imported the previous win XP vhd file and XP resumed from earlier state :)

Is the extension pack necessary? I have installed guest additions for full screen mode and networking etc. Is there anything additional in the extension pack?
MrGrimm

Re: Install Virtualbox 6.0 in Mint 19.1

Post by MrGrimm »

yes the extension is necessary, and sorry for not thjinking to include it and it's linl(s). :oops: :oops: more coffee needed.
berry.whitetiger

Re: Install Virtualbox 6.0 in Mint 19.1

Post by berry.whitetiger »

AndyMH wrote: Sun Feb 10, 2019 10:41 am You probably didn't purge all of the old virtualbox before starting. Go and have a look in synaptic package manager and see if there are any bits left over. This is all you should have after a successful install of VB6.0 - one item only!
wther_009.jpg
Recommend the installation method provided by MrGrimm (it's on the oracle website). That way you get the updates.

Don't forget to download and install the extension pack, install guest additions into the OS in your VM and check/add yourself to the vboxusers group.

Running VB6.0 quite happily under mint 19.0 cinnamon with win7 and winXP as VMs.

Note - unless they have fixed it, there is a bug with mint 19.1 cinnamon and VB, it won't run in seamless mode but quite happy full screen. It's why I'm still running LM19.0.
How to get the USB extensions to work with this version 6.0 So far I find no support for it in mint19.1 tessa? :?:
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: [Solved] Install Virtualbox 6.0 in Mint 19.1

Post by AndyMH »

You want access to usb ports:
Don't forget to download and install the extension pack, install guest additions into the OS in your VM and check/add yourself to the vboxusers group.
That is why I said you must do all of the above.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
[007]

Re: Install Virtualbox 6.0 in Mint 19.1

Post by [007] »

amogh123789 wrote: Sun Feb 10, 2019 10:19 am I installed but getting error of some incompatibility :?
Attached the error message

Also executed sudo /sbin/vboxconfig as the message tells, but didnt help
I have the same issue. How you resolved it?
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: [Solved] Install Virtualbox 6.0 in Mint 19.1

Post by AndyMH »

I have the same issue. How you resolved it?
How did you install VB and where did you get it from?
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
MrGrimm

Re: [Solved] Install Virtualbox 6.0 in Mint 19.1

Post by MrGrimm »

AndyMH wrote: Sun Apr 21, 2019 5:19 am
I have the same issue. How you resolved it?
How did you install VB and where did you get it from?

https://www.linuxtechi.com/install-virt ... -centos-7/
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: Install Virtualbox 6.0 in Mint 19.1

Post by oliverjames »

MrGrimm wrote: Sun Feb 10, 2019 9:18 am i just installed yesterday via terminal.

Installing VirtualBox 6.0 in Debian, Ubuntu and Linux Mint

First, uninstall any earlier version of Virtualbox if any.

Code: Select all

sudo apt-get remove virtualbox-*
Next, install latest VirtualBox 6.0 version using official Virtualbox repository. To add the repository, use the following command as shown. do each of the lines one at a time.

Code: Select all

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update

sudo apt-get install  virtualbox-6.0
Starting VirtualBox 6.0

Simply execute following command to start it from the terminal or use launcher from menu to start.

Code: Select all

# VirtualBox
https://www.tecmint.com/install-virtual ... os-fedora/
Pierre wrote: Sun Feb 10, 2019 9:08 am some most folks are still using V5.2.xx it seems,
- a few have 'upgraded' to V6.x but are reporting some issues with the Guest Additions,,
and also have found that the V5.2.x GAs do work with that V6.x virtualbox. :o

in general, most folks on this forum, do seem to suggest to download the VB program,
- directly from the Oracle site & *not* from the repository, at all.

the V6.x version may be available in LM19.1 - - but that is still a large unknown, at this stage.
whole heartedly disagree. i had issues with 5.2 not liking some iso's, but 6.0 works perfectly for me.
I followed your recommendation and received the following error message:

Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [35,7 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2 464 B]
Ign:13 http://download.virtualbox.org/virtualbox/debian tessa InRelease
Err:14 http://download.virtualbox.org/virtualbox/debian tessa Release
404 Not Found [IP: 23.205.82.159 80]
Reading package lists... Done
E: The repository 'http://download.virtualbox.org/virtualbox/debian tessa Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

which led to:

sudo apt-get install virtualbox-6.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virtualbox-6.0
E: Couldn't find any package by glob 'virtualbox-6.0'
E: Couldn't find any package by regex 'virtualbox-6.0'

I have the XFCE version of 19.1. Can you help please?
Last edited by oliverjames on Mon May 20, 2019 9:27 am, edited 1 time in total.
gm10

Re: Install Virtualbox 6.0 in Mint 19.1

Post by gm10 »

oliverjames wrote: Mon May 20, 2019 8:47 am I have the XFCE version of 19.1. Can you help please?
Sure, those instructions you followed won't work on Mint. I don't get why people don't simply follow official installation instructions instead of just trusting random commands they found on some forum and don't really understand to configure their system. /rant (also the author of the post you followed is on my block list, go figure)

To fix, go Mint menu > Software Sources > Additional Repositories, find and select Virtualbox in the list, click the Edit button and then replace with this:

Code: Select all

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib
oliverjames
Level 4
Level 4
Posts: 418
Joined: Fri Aug 10, 2007 3:00 am
Location: Divonne-les-Bains, France

Re: Install Virtualbox 6.0 in Mint 19.1

Post by oliverjames »

gm10 wrote: Mon May 20, 2019 8:56 am
oliverjames wrote: Mon May 20, 2019 8:47 am I have the XFCE version of 19.1. Can you help please?
Sure, those instructions you followed won't work on Mint. I don't get why people don't simply follow official installation instructions instead of just trusting random commands they found on some forum and don't really understand to configure their system. /rant (also the author of the post you followed is on my block list, go figure)

To fix, go Mint menu > Software Sources > Additional Repositories, find and select Virtualbox in the list, click the Edit button and then replace with this:

Code: Select all

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib
Not just "some forum" but the Linux Mint forum. All other official looking instructions had failed. I tried your modification but that gave the error message shown in the attachment.
Screenshot_2019-05-27_16-21-16.png
gm10

Re: [Solved] Install Virtualbox 6.0 in Mint 19.1

Post by gm10 »

.
Last edited by gm10 on Mon May 27, 2019 12:19 pm, edited 1 time in total.
Locked

Return to “Virtual Machines”