this post was submitted on 23 Jul 2023
35 points (100.0% liked)

Technology

37746 readers
309 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

My daughter is starting a college computing course next month and has been told they will be using linux.

She has a fairly recent, last 5yrs or less I think, intel macbook but knows nothing about linux or vm's.

I advised her to install Ubuntu in a VM when she asked about it, she asked how to do this. Initial thought is Virtualbox but I've not used MacOS since well before it became MacOS nor used VirtualBox in many years, have heard of new shiny new things like UTM, Parallels & VMWare.

Is it a reasonable suggestion to just use VirtualBox? Is there a better option?

Bit of a dad moment; "Just install Linux and then I can help you", "But how do I install Linux dad?"

top 32 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago* (last edited 1 year ago) (1 children)

Least expensive is Virtualbox or UTM.

Simplest is Parallels.

[–] [email protected] 4 points 1 year ago

Yeah Parallels was so simple that I could figure out how to make and run VMs using it when I was 11 years old!

[–] [email protected] 8 points 1 year ago (1 children)

I am partial to a dedicated throwaway laptop because I have had the displeasure of accidentally blowing away my VM image’s code files on a roll-back, which is harder to do on bare metal. The biggest lesson learned their was to immediately learn how to use a remote server for code repository and push to dev branches often.

[–] [email protected] 4 points 1 year ago

Neat thing I learned recently: create and attach a second virtual disk for data, set it to writethrough mode in virtualbox. That way it is excluded from snapshots and rollbacks.

[–] [email protected] 7 points 1 year ago

The easiest is probably, as much as I hate to say it, would be to use VirtualBox. It's certainly the least expensive option.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

Does she need a GUI VM?

If not, multipass from Canonical is pretty great to spin up quick headless Ubuntu VMs on macOS.

Otherwise, UTM is definitely my second choice.

[–] [email protected] 3 points 1 year ago (1 children)

New to linux, think she needs a gui. I will look into UTM.

[–] [email protected] 2 points 1 year ago (1 children)

I guess also depends what they'll be doing. She could in theory install XQuartz and run GUI apps over SSH but that might become more complicated.

If they're gonna do networking and stuff I'd maybe also get into VirtualBox just because networking in VirtualBox is easier to deal with. UTM is kind of like using libvirt on Linux, it relies on the host to do a bunch of stuff like bridges and firewalls whereas VirtualBox just handles most of it internally and has a nicer GUI for it.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Is it reasonable to advise someone who is new to this stuff on MacOS to just installl Ubuntu on VirtualBox?

[–] [email protected] 5 points 1 year ago

VirtualBox is tried and true and a safe bet. Not the fastest, Oracle hasn't particularly been interested in maintaining it, but everyone knows how to use it, and you won't run out of tutorials on how to use it.

[–] [email protected] 5 points 1 year ago

VMWare offers free personal licenses, and it's one of the best VM solutions imo

[–] [email protected] 4 points 1 year ago

Does she even need Linux? 99% of things that run on Linux will also run on MacOS (or have a MacOS version). If you need a VM, Virtualbox is good enough. I'd recommend Ubuntu, simply because that's what most people use, ergo you'll find tutorials/information for every little aspect of it.

[–] [email protected] 4 points 1 year ago

Does she actually need Linux or is using a unixoid OS fine? A lot of the time installing homebrew (or whatever the package manager was called) on MacOS can suffice for several use cases.

Other than that, if you're not needing apple exclusive software on it, installing Linux on the Macbook can be a good option.

If you definitely want virtualization, go with VirtualBox

[–] [email protected] 4 points 1 year ago (1 children)

Virtualbox all the way. That way, she can still run her day to day apps in macOS while only using virtualbox for the class. And here's the best part - once she reaches the point where she knows the setup she likes, she can create a new VM and set it up cleanly and delete the old one. I would only use the boot camp option if she will need to connect to hardware. VirtualBox can be finicky when it comes to USB devices.

[–] [email protected] 1 points 1 year ago

Thanks, good to know it still works

[–] ramune 4 points 1 year ago (1 children)

I'm running a Win11 ARM VM on UTM and it's been flawless. Can't imagine it would do worse with a less demanding OS.

[–] [email protected] 3 points 1 year ago (1 children)

Sounds good, is there a simple guide to UTM on MacOS?

[–] [email protected] 5 points 1 year ago (1 children)

https://docs.getutm.app/installation/macos/

If you get it from the Mac App Store, it costs $12 that goes to supporting the devs, and keeping the app on the App Store. But you can download the dmg that’s free

[–] [email protected] 3 points 1 year ago

The school may have edu licenses for a macOS hypervisor product that makes it cheap or free. The teachers may recommend something. Ask the school first.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I'd say Virtualbox should be a good fit. I'm using it myself, mainly to quickly set up VMs for trying out new stuff, most recently Kubuntu and Manjaro distros.

I don't know UTM. I've used Parallels before but it's just not worth the cost for what I need it for. Then there's VMware of course, which apparently also has free licenses for personal use. But since I'm happy with Virtualbox, I don't think I'm going to use anything else anytime soon.

[–] [email protected] 2 points 1 year ago

UTM is awesome. It’s essentially just qemu on Intel Macs, but it can utilize Apple’s hypervisor for Linux VMs on their ARM machines.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I’ve heard utm is pretty good. I’ve used it on iOS and it worked fine. It’s also foss(based on qemu I believe), while parallels is $169, or $59/year for students

Edit: https://mac.getutm.app/

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Have you asked the school?

Because if it's server side Linux... then Docker is the way to go. It will run Linux inside a very light weight virtual machine that you barely even know is running at all.

[–] [email protected] 2 points 1 year ago (2 children)

If possible, buy an old Thinkpad for 50-100 bucks and install on a real hardware for the best experience.

I have no experience with any Mac hardware, but Virtualbox has improved a lot during the years. It won't have accelerated graphics, but still fast and responsive.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

At that point, don’t buy a damn thing and simply partition the HD and dual boot it so both OSX and Linux run natively. That’s what I did way back when in uni

[–] [email protected] 5 points 1 year ago (1 children)

I'm not sure there is a need to run linux on bare metal, or carry around a second laptop.

[–] [email protected] 1 points 1 year ago

Just so you know, running it on bare metal on an Intel Mac is also quite easy using Bootcamp (which is preinstalled and guides you through the install process)

[–] [email protected] 2 points 1 year ago

Parallels is hardly shiny and new lol - messing around with it on my dad's work mac was my introduction to virtual machines back in 2008!

[–] [email protected] 2 points 1 year ago

I would suggest UTM due to ability to run VMs for different CPU architectures. Virtualbox is limited to x86.

[–] [email protected] 1 points 1 year ago

Virtual box, I haven’t used it in many years I know it’s still functioning.

Additionally she could also dual-boot if she wanted to avoid a vm.

If she wants a more curated experience that may be easier to use point her towards Parallels (you will be paying for this solution tho)

load more comments
view more: next ›