Run Linux Mint in a virtual machine

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Cap
Level 2
Level 2
Posts: 87
Joined: Sat Dec 21, 2019 8:56 pm

Run Linux Mint in a virtual machine

Post by Cap »

How can I run Linux Mint in a virtual machine? Should I install Virtualbox in Software Manager?

User avatar
AndyMH
Level 11
Level 11
Posts: 3993
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Run Linux Mint in a virtual machine

Post by AndyMH »

Don't install the version in software manager. Download the debs from oracle or follow their instructions for debian based systems installation on this page
https://www.virtualbox.org/wiki/Linux_Downloads

where it says

Code: Select all

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian <mydist> contrib
<mydist> = bionic if running LM19.x, xenial if running LM18.x.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

Cap
Level 2
Level 2
Posts: 87
Joined: Sat Dec 21, 2019 8:56 pm

Re: Run Linux Mint in a virtual machine

Post by Cap »

AndyMH wrote:
Sun May 03, 2020 8:14 am
or follow their instructions for debian based systems installation
Does that add a PPA?

User avatar
AndyMH
Level 11
Level 11
Posts: 3993
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Run Linux Mint in a virtual machine

Post by AndyMH »

No, it adds a repository. It will appear in 'additional repositories' in software manager.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

Cap
Level 2
Level 2
Posts: 87
Joined: Sat Dec 21, 2019 8:56 pm

Re: Run Linux Mint in a virtual machine

Post by Cap »

Is it better to download the deb file or add the repository and use sudo apt-get install?

User avatar
AndyMH
Level 11
Level 11
Posts: 3993
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Run Linux Mint in a virtual machine

Post by AndyMH »

Add the repository and install as instructed. Installing this way means you get updates, if you install from a deb you don't.

First post by gm10 in this topic tells you how to do it:
viewtopic.php?f=47&t=307595&p=1754953&h ... x#p1754953
four commands, one at a time, in a terminal.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

Cap
Level 2
Level 2
Posts: 87
Joined: Sat Dec 21, 2019 8:56 pm

Re: Run Linux Mint in a virtual machine

Post by Cap »

AndyMH wrote:
Mon May 04, 2020 7:07 am
Installing this way means you get updates
Does that mean I get updates in Update Manager?

User avatar
AngryDavid 808
Level 1
Level 1
Posts: 48
Joined: Sat Sep 28, 2019 7:56 am
Location: Egypt

Re: Run Linux Mint in a virtual machine

Post by AngryDavid 808 »

Cap wrote:
Mon May 04, 2020 11:56 am
AndyMH wrote:
Mon May 04, 2020 7:07 am
Installing this way means you get updates
Does that mean I get updates in Update Manager?
Yes, repositories allow the Update Manager to detect, download, and install updates of VirtualBox for you. You don't have to do all of this manually every time there's a new version. Also, keep in mind that the Software Manager has outdated versions of most programs on it. So, it's better to grab your software from official sites.
Just a newbie in Linux, I've joined the World of Linux since August, 2019.

DEVICE: HP Pavilion dv6 Notebook - Windows 10 + Linux Mint 19.3 Tricia Cinnamon / Intel Core i7 Q720 Processor / 4GB RAM / 500GB ATA SSD Hard Drive

pbear
Level 14
Level 14
Posts: 5206
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Run Linux Mint in a virtual machine

Post by pbear »

AngryDavid 808 wrote:
Mon May 04, 2020 12:24 pm
Also, keep in mind that the Software Manager has outdated versions of most programs on it. So, it's better to grab your software from official sites.
Only true sometimes, albeit true with respect to VirtualBox.* As a general rule, though, installing directly from official sites should be avoided because Mint is stable release and newer versions of apps often have dependencies which conflict with the package base. The recommended solution, if you want/need a newer version of an app than is supported in the Mint/Ubuntu repo is to use a Flatpak, AppImage, or Snap version (similar to portable apps in Windows), which carries those dependencies separately, available to the app in a sandbox but not installing them to the host system.

* Also works with most internet browsers.

vladtepes
Level 3
Level 3
Posts: 179
Joined: Sat Feb 25, 2012 7:48 am
Location: Brisbane, Australia
Contact:

Re: Run Linux Mint in a virtual machine

Post by vladtepes »

I'm not sure what the OP is specifically wanting to do, so unsure if this is the same as my question.

I have a windows computer and will install virtualbox (Windows version).
I then want to create VNM and install Linux Mint to that virtual machine.
Is this still the correct process? (its dated 2018) https://techooid.com/install-linux-mint-virtual-machine
Keep Calm
and
Impale Your Enemies

User avatar
Pierre
Level 20
Level 20
Posts: 10442
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Run Linux Mint in a virtual machine

Post by Pierre »

that Tutorial, is still basically correct, however:
- your Host machine should have 8Gb of available memory
- the LinuxMint Guest should have at 50% of that memory & 50Gb virtual drive, as well.

the latest version of the VirualBox software is now 64bit only
https://www.virtualbox.org/wiki/Downloads
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!.

Post Reply

Return to “Newbie Questions”