Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


Install Ubuntu Linux within Parallels Desktop on Mac?

I need to test out some Web site programming on a Linux system and have determined that the Ubuntu distribution is ideal. My question: what's the best, easiest way to install Ubuntu Linux on my Mac system so I can run all my tests?


Dave's Answer:

There are a number of different ways to install Ubuntu Linux on your Mac system, but one of my favorites, hands down, is to install it within the Parallels Desktop environment. Why? Because it's literally a one-click download to get it up and running. Now I realize that Parallels Desktop, like VMWare Fusion, is a commercial Mac application and has a price tag associated with it, but it sounds like this is related to your work and, well, sometimes you have to pay for your tools, right? The again, it's not that expensive at $79.

From a testing perspective, the Ubuntu Linux environment within Parallels is functionally identical to running the operating system native on a PC computer, which is nice. It's just neatly tucked into the Mac OS X environment and -- a nice bonus -- can run full screen giving you the distinct impression that your Mac is only running Linux, which is bound to impress your geeky friends!

Once you've installed Parallels Desktop on your computer, simply launch the program and you'll be given a variety of options for proceeding:

parallels install ubuntu linux 1

The option you seek is on the lower left: "Download Ubuntu Free". That's really all you need to do, it's going to do everything else in a surprisingly automated fashion. Still, let's keep stepping through the process.

First off, is this really what you want? Here's the description, along with an indication that it's the Linux 11.04 Desktop distro release of Ubuntu that's available:

parallels install ubuntu linux 2

Looks good? Click on the button to continue and it'll start downloading a ready-to-roll Parallels installation image of he operating system:

parallels install ubuntu linux 3

As you can see, it's about 1.2GB so if you're on a dialup (is anyone still on a dialup?) it's going to take a while. With a decent connection, however, it's not too long to wait and you can always switch to a different window and do something else while you wait.

Once it has downloaded, the installation will be uncompressed...

parallels install ubuntu linux 4

Literally the next step after it uncompresses and installs is that Parallels Desktop launches the new image and you've got Ubuntu running!

parallels install ubuntu linux 5

Note the warning on the bottom, though: "Parallels Tools are outdated. Please reinstall them manually." Not hard to do but before we update these important display and network drivers, let's just log in! Click on "parallels" and don't worry, you don't need to know the password to proceed...

parallels install ubuntu linux 6

Pick an easily remembered password and click the orange "Login" button.

parallels install ubuntu linux 7

You're up and running. Nice! This particular release of Ubuntu Linux goes by the rather odd name of "Oneiric Ocelot", which, Google assures me, has the following explanation: "Oneiric means "dreamy," and the ocelot is a domestic-sized cat native to South and Central America."

Now you know. :-)

Let's fix that out of date tools issue before you're done, just so you can see that it's similarly easy in Parallels Desktop.

Along the bottom of the window, you'll notice that the gear icon has a small black triangle adjacent. Click on it and you'll see all the configuration options appear:

parallels install ubuntu linux 8

The one we want is the gear within a gear: it's displayed with a tiny blue element to highlight that your attention is needed. Click on it:

parallels install ubuntu linux 9

To update the Parallels Tools within the Ubuntu Linux environment in Parallels Desktop, simply click on the ingeniously named "Update Parallels Tools". That's it.

When you're ready to go full-screen and hide the Mac OS X menu bar, you can either click on the diagonal up/down arrows on the very top right of the window, or pull down the window options menu on the lower right, where two overlapping windows icons are displayed. Either way, I think you'll be surprised and pleased at the performance and ease of working within the Ubuntu environment for your testing while still having the best of the Mac OS X world accessible with a mouseclick.


More Useful Unix and Linux Help Articles:
✔   Copy and Paste from the Mac OS X Command Line?
I am constantly running commands in Terminal.app on my MacBook and then copying and pasting the results into email messages or documents. Yes,...
✔   Shell script to convert lowercase to title case?
As part of a project I'm working on, I find myself deep in a Linux shell script, needing to have a subroutine that...
✔   Can I script renaming files based on an XML data map?
I have a folder full of files which are named with four digits and a file extension e.g. 0312.file and an XML-file describing...
✔   Test for valid numbers in a Bash shell script?
In a different discussion on this site [see Redirecting input in a shell script] a visitor commented that "I was too busy trying...
✔   Review: iSSH for the iPad/iPhone
If you're running an online business like I am, there are times when you need to connect and log in to the server...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  





Categorized: Mac OS X Help , Unix and Linux Help   (Article 10199, Written by )
Tagged: installing linux, mac os x, parallels desktop, ubuntu linux, virtual linux, virtual machines, vmware fusion
Previous: Smart Grids and Smart Homes: Part 2. Home Energy Management
Next: Delete Keynote files from an iPad or iPhone?




Reader Comments To Date: 3

sam said, on July 5, 2012 10:16 AM:

"Pick an easily remembered password and click the orange "Login" button".
Now, your next screen shot shows: 11.10 upgrade available.
Do you click "Yes, Upgrade Now" and then update Parallel Tools?
Or, do you update Parallels Tools and then upgrade to 11.10?
Also, when done does the bar at top of Ubuntu screen change to read: "Ubuntu Linux 11.10 Desktop - Parallels Desktop"?

I already tried once to install through Parallels 7 but failed to get Parallel Tools to update and even though I successfully upgraded to Ubuntu 11.10, the bar at top read: " "Ubuntu Linux 11.04 Desktop - Parallels Desktop."
Thanks for any help.
Sam

John H Whitnell said, on October 30, 2012 2:49 PM:

Hi Dave, I successfully installed Ubuntu Linux per you excellent instructions on my iMac using Parallels and it runs well!

The only thing is that I have a Parallels Tools are outdated etc... message at the bottom of the screen.
When I try to updtae the Parallels Tools, I get two dialog boxes in turn.
One says that I am going to update Parallels Tools etc... So I click Yes because that's what I want to do.
The next one says that my CD/DVD is mounted inside the guest operating system, so I am assuming that I need to click on Disconnect Anyway, because Cancel would stop the update.

Well, many moons pass, but nothing happens.
What am I doing wrong?
I assume the account that was created for me has Root privileges, if not how do I get them in Linux, there doesn't seem to be any way to set that up...

Thanks from a long-time Mac user but a Linux Newbie...

Andrew said, on April 20, 2013 5:09 AM:

Ubuntu comes with Wubi software that helps user to install ubuntu in parallel with windows.

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!
Powered By
Linux Journal: Free Issue!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.