Getting Ubuntu Linux Up and Running on a PowerPC Mac
- 2005.12.14
Popularity: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core 8GB kit $232 / 4GB kit $116 / 2GB kit $72. New Macbook 2GB DDR3-$65. HARD DRIVES available -- Free shipping / LIfetime warranty.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, MacBook Pros and more. Optical Drives for Apple iBooks, Powerbooks, MacBooks, MacBook Pros in Stock. Call 1-800-941-7654 Click Here.
Other World Computing: Big Deals on Big LCDs: 23" 'TrueHD' up to 2048x1152 + USB2 Hub & WebCam $279.99. Specials on 20" to 30" from $167.99. Freight from only $3.95!
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
In last week's column, I outlined the requirements for setting up a useful and fast PowerPC (PPC) Linux desktop, and I'm going to start with what I consider the best of the bunch.
Ubuntu Linux has done some of the best work in the open source community at making Linux palatable for the average end user. Indeed, their slogan is "Linux for human beings", and I don't think I've ever come across a Linux distribution that's as easy to set up, maintain, and use for daily tasks as this one.
The front page of Ubuntu's website contains a declaration of principles that they call their "public commitment". First and foremost, in my mind, is their credo that everyone with a computer should have access to free, usable software no matter what platform they use.
This means they have put considerable effort into making their PPC version on par with its x86 counterpart. This's important, because some vendors just don't take the time to optimize their PPC Linux, if they make one at all.
Another big plus is that Ubuntu releases a new version every six months and is committed to providing updates to the current version in the meantime. The importance of this cannot be overstated - with other distros, you may find yourself compiling packages by hand to stay up-to-date while you're waiting for your vendor to put out an official patch.
Hardware
So if you've got open source fever after reading Ubuntu's public commitment, it's time to get down and pick out that old Mac on which you're going to try Liinux. Ubuntu only mentions "G4 and G5" on their front page, but I've read many success stories with Ubuntu on G3 hardware. It installs and runs fine, just a little slower - but usually faster than OS X on the same hardware.
Much to my puzzlement, I've ran across several blue and white G3s in the past few years that refuse to take not only Linux, but also OS X, even though this is Apple-supported hardware for OS X 10.4 and earlier. Sometimes applying the latest G3 firmware update helps (always a good idea anyway), but other times it doesn't.
That's a topic for another column, but if anyone's experienced a "no Unix" B&W G3 and fixed it, please let me know!
For comparison's sake, my Ubuntu box is a 450 MHz G4 Cube, with a CD-RW drive (a relatively rare configuration, as most Cubes have DVD-ROM). When I acquired it a while back, it had a bum 20 GB hard drive, so I replaced it with a 7200 RPM 40 GB drive. I also upped the RAM from the stock 64 MB to 768 MB.
Performance of both OS X 10.3 and 10.4 on this Cube was okay, but definitely on the sluggish side. OS 9, of course, was extremely speedy.
Installation
Ubuntu's installation scheme packs some core components onto a single CD-ROM. Downloading and burning just one CD - versus the four or five required for other distros - is definitely a plus. On the down side, the installer must then go out to the Internet to download the rest of the needed packages. Hooked up to my LAN backed by a 3 Mbps cable modem, this wasn't a big deal for me. I'm not sure how dial-up users will fare in this situation or if the installer disc even has PPP support for dialing out.
The installer itself is text-based, whereas most Linux installers have very nice graphical shells. However, Ubuntu's installer is not difficult to navigate, even for those used to point-and-click operations.
After auto-partitioning my hard drive, Ubuntu's installer found my DHCP server, configured itself, and downloaded everything it needed over the Internet. After a reboot, the rest of the packages were installed, a few configuration items were set, and that was pretty much it.
Ubuntu is similar to OS X when it comes to system administration. Many Unix variants have you set a root password at install and then create the first user account as a normal user, encouraging you to use "su" to switch to root for administration tasks or entering the root password into authentication boxes for graphical apps.
OS X and Ubuntu disable root and add the first user created to the "sudoers" file, giving them the ability to call root power when needed using their own password (i.e., using "sudo" at the command line or authentication boxes for graphical apps).
The difference in the two approaches is small, but the latter has a slight security edge by disabling root.
Overall, the installation is much easier than other PPC Linux variants, with Ubuntu always recognizing my sound card, video card, and other hardware without a bit of configuration. For anyone who's ever had to fiddle with kernel modules and such to get sound or video, you may shed a tear over the way things tend to "just work" with Ubuntu.
Your mileage may vary, but I know I'm not alone in singing Ubuntu's praises in this department.
Getting Started
Ubuntu uses the Gnome desktop environment by default, although they do offer another product called Kubuntu that runs the KDE desktop. Gnome vs KDE discussions can quickly turn into flame wars not unlike Mac vs. Windows debates.
I like both, but KDE is more graphically intense. Its interface is highly reminiscent of both OS X and Windows XP, with lots of animations and nice zooming effects. Gnome is certainly a lot easier on lower-end machines with lower-end video cards. If the purpose of our Linux-on-low-end-PPC is to eke out more speed, Gnome is the way to go. It has an attractive, skinable interface that is lightweight and efficient.
The Gnome desktop won't be hard for someone with Mac or Windows experience to get used to. In fact, Ubuntu's default configuration might be a little more familiar to Mac users, with the persistent menu bar running across the top. The menu bar houses three menus - Applications, Places (much like OS X's Go menu), and System (for setting your system preferences and doing administrative tasks).
Next to these menus are a few icons for quickly launching favorite apps, similar to OS X's Dock or Windows' QuickLaunch bar. A quick right-click in the menu bar makes it easy to add more favorite icons.
From the System -> Administration menu, you will find the Update Manager, which is analogous to OS X's Software Update. In fact, it should launch automatically the first time you log in, just like Software Update. Also like OS X, you can automatically check for updates on a schedule and receive notifications when new updates are available.
Installing Software
The System -> Administration menu also houses the Synaptic Package Manager, which keeps track of what packages you have available for installation, which ones you have installed, and the related packages required to run other packages (called dependencies). Synaptic is a front-end to the command line apt tool and makes getting new software installed a breeze.
By default, Synaptic only connects to Ubuntu's "officially supported" package repositories, but I highly recommend enabling Synaptic to connect to the "Universe" repositories, which contain packages maintained by the Ubuntu community. It is quite an impressive list of software, all of it available without cost and without nagging "register me" dialog boxes.
Enabling the Universe repositories allows you to easily install the fantastic VLC and its many dependencies. VLC is a familiar program to many OS X users, who use it to view pesky video files that fail to load in QuickTime. It's an absolutely essential tool on Linux, gladly playing all the media I throw at it, both video and audio.
Some other things that don't come installed by default that I like to add with Synaptic are the Bluefish text editor, the AbiWord word processor, the Gnomebaker CD burning program, KBackgammon, and a few other of the KDE games. (Even though Gnome is the default windowing system, Synaptic will gladly install the necessary KDE libraries so you can run KDE apps in the same environment.)
Day-to-Day Use
Running over my list of requirements for a Linux desktop that meets my needs, Ubuntu rises to the challenge quite nicely.
First off, I need a modern web browser. Firefox is the default browser, and I don't think you can ask for much better in this department. Since Firefox is one of the browsers I use regularly on the Mac, it's nice that Firefox is there on Linux and works exactly the same. There are plenty of other browser options for Ubuntu and Linux in general, but Firefox is a world-class browser, and you really needn't look further.
Next I asked for an email program that will let me handle multiple POP and IMAP accounts. Evolution is the default mail app in Ubuntu, and it's more than capable. However, I used Synaptic to install Thunderbird, Mozilla's complement to Firefox. This gives me a little uniformity between my Web and email clients, and I'm familiar with the Mac version of Thunderbird, even though Apple Mail is my regular client.
I also need an IM client to connect to my iChat (AIM) and Yahoo! accounts. Gaim, installed by default, connects to these services with speed and ease, along with a host of other popular IM protocols. I've really enjoyed Gaim, so much so that I decided to download its OS X counterpart, Adium.
On the Mac, I depend quite a bit on BBEdit or TextWrangler for HTML/PHP editing and a lot of other text processing needs. Ubuntu installs gEdit by default, which is very nice, but I install the wonderful Bluefish editor. Its fantastic HTML tools make it the only program that comes close to the power offered by BareBones' text editors.
I always like to have Apache, PHP, and MySQL around for testing purposes. While not installed by default, they are just a few clicks away using Synaptic.
OpenOffice 2.0 comes with the default installation and is a very worthy replacement for Microsoft Office. It handles most Office files just fine, making it possible for many to live Microsoft free. The only real trouble I've had with OpenOffice on all platforms is with Impress, its presentation component meant to replace PowerPoint. Graphic intensive and/or media-rich PowerPoint files have caused Impress to choke, at least in my testing, but most files open just fine.
I also install AbiWord as another alternative to Microsoft Word. OpenOffice Writer is fine, but AbiWord feels a lot like Word 5.1, and we Mac users have a fond affection for Word 5.1.
Most of the systems I have to remotely administer are running SSH - and therefore SFTP (secure FTP) - so a good SFTP client is nice. There are still a lot of FTP servers out there, so what I really need is an FTP/SFTP client, like Transmit or Cyberduck on the Mac. gFTP, not installed by default, is a nice little client that not only handles FTP and SFTP, but also HTTP WebDav servers and the FSP protocol.
The standard collection of Gnome games are installed by default, and after years of Mac installations, it's nice to have a few simple games installed with your OS. Personally, these are the computer games I enjoy the most - solitaire, Tetris clones, worms-in-maze games, mahjongg, etc. I'm no big gamer, as you might tell, but I enjoy these slight time wasters. There are also lots of KDE and X11 games available to install. I always get KBackgammon so I can play on the First Internet Backgammon Server (FIBS).
Connectivity
Networking is very simple through the graphical network administration program included. Setting up ethernet networking is a snap. I've tried Ubuntu on an older PowerBook G4 with a PCMCIA wireless card and on a Dell Precision M60 with built-in 802.11g. In both cases, wireless worked great connecting to unprotected and WEP-enabled base stations. I understand that Linux has no drivers for Apple's AirPort Extreme card, but there's always the PCMCIA slot if you absolutely need wireless on a newer PowerBook.
Connecting to SMB shares is not a problem using the Places -> Connect to Server menu. I also use Connect to Server's WebDAV (HTTP) option to mount up my iDisk and it works great.
Needing a photo editor and a photo organizer app like iPhoto, Ubuntu takes care of this by installing GIMP and gPhoto. I already use GIMP under X11 on OS X, and it's all the image editor I need and more. gPhoto doesn't have everything iPhoto does, but it's more than capable.
I never could get it to properly import images from my Olympus digital camera, but the media card did mount on the Desktop, so I just copied the images that way. Situations like this are where the strengths of iLife really stand out, but the included tools do the job without much hassle.
By installing VLC, not only can I watch the .avi and .wmv files you find floating around the Net, but I get MPEG4 support also, meaning I can play my mostly-AAC iTunes library on Ubuntu. I use rsync to sync my main iTunes Library to the Ubuntu box so all my music is always there wherever I find myself working. (Neat tools like gtkpod also let you interact directly with your iPod.)
I also have a G4 with an EyeTV hooked up to it. An open source project called CyTV lets you stream EyeTV video to VLC clients on your network. This means I can also watch cable TV on my Ubuntu box, which is very cool.
Caveats
Trying out Ubuntu on your Mac means doing away with whatever you have installed on it right now. If you want to dual-boot Mac OS and Ubuntu, you'll need to back up your OS X environment, repartition your hard drive, and then install both OSes. This can be a lot of work for something you're just wanting to "try out".
Support for installing to and booting from FireWire drives is very limited in Linux. Dan Knight emailed me this week letting me know he was hoping to install Linux on a FireWire drive, not only to keep his OS X environment in place, but to take the Linux environment to different computers. Ubuntu doesn't support this. TerraSoft Solution's Yellow Dog Linux is one of the few out there to offer FireWire booting as an option.
There is no Flash player for PPC Linux. This can be a good thing or a bad thing depending on your point of view. Ubuntu includes a swf-player package for PPC, but it doesn't seem to actually work.
Skype, the popular voice-over-IP application, doesn't work on PPC hardware either.
Conclusion
There is a ton of software out there in the Linux world that can accomplish everyday tasks. Getting it to install or play nice with other installed software has been somewhat of a challenge in the past, especially on a minority platform like PPC.
Ubuntu has done a fantastic job of compiling all this software and putting it in a neat package not only for the x86 world, but also ensuring the PPC world has equal support where possible. This provides a lean, mean, and also secure, current, and up-to-date, alternative to OS X for older hardware.
Next time around I'll take a look at
some closely related projects: Fedora Core for PPC and Yellow Dog
Linux.
- Link: Ubuntu Linux
- Link: VLC
- Link: Adium
Recent Plays Well with Others articles
- End of G4 models points to unprecedented value for used G4 Macs, 06.02. The PowerPC G4 may no longer have a place in Apple's product line, but that's a far cry from saying G4-based Macs are obsolete. If anything, there value is going to increase.
- X11: Your window for using Unix apps on the Mac, 05.17. Mac OS X is a Unix variant. X11 is the tool that lets you access Unix applications using a graphical interface with mouse support.
- 6 extensions to make Firefox even better, 03.29. Improve Firefox with everything from web developer tools to nuking unwanted ads, from faster page loads to knowing the weather.
- Intel Mac mini confounds market with higher price, 03.23. After the raging success of the $499 Mac mini, why did Apple feel a need to move away from the entry-level market by making the Intel Mac mini more expensive?
- More in the Plays Well with Others index.
Links for the Day
- Mac of the Day: Clamshell iBook G3/300 MHz, Sep. 1999 - innovative, rugged, heavy, clamshell laptop introduced AirPort and was a huge hit.
- Group of the Day: G-Books is for G3 PowerBooks and iBooks.
- July 4 in LEM history: 00: When Randy met Mac - 08: Wouldn't life be great with an iSlate? - Mac Pro overclocking, Windependence with Darwine, Blu-ray for Macs, and more
Recent Content on Low End Mac
- iPhone 3GS Overheating, Battery Life App, 240 GB Upgrade for 5G iPod, Total Baby App, and More, iNews Review, 07.02. Also low cost international calls, U-verse remote DVR control, Sync Blocker USB-to-Dock cable, Rocket Taxi improved, and more.
- MacBooks Top Amazon Sales, EFI 1.7 Problems, Pros and Cons of Built-in Batteries, and More, The 'Book Review, 07.02. Also make a bootable SD Card, Leopard on a 9" Dell netbook, MacBook Pro and Air reviews, triple WiFi range, bargain 'Books from $179 to $2,300, and more.
- Apple Tops in Satisfaction Again, Slim Profits on Mac mini, Ultimate Photo Setup, and More, Mac News Review, 07.02. Also tips for cloning hard drives and moving files from old Macs, Clickfree Transformer turns USB drive into a backup drive, maximum Mac Pro RAM, and more.
- Refurb MacBook Pro Deal, Fastest Mac Browser, 256 MB Modules for WallStreet, and More, Charles W. Moore, Miscellaneous Ramblings, 07.01. Also more Safari 4 feedback, praise for Camino, MacBook cracks, looking for Craigslist software for Macs, and more.
- Amazon.com v. Interstate Sales Tax: Everyone Loses, Dan Knight, Mac Musings, 07.01. Amazon.com is standing up to states that are trying to have it collect sales tax on interstate commerce, which most see as a violation of federal law.
- Introduction to Autofs in Mac OS X, Keith Winston, Linux to Mac, 07.01. "Autofs is often used in enterprise environments to set up network-based home directories and other network mounts for users at login."
- Optimized Software Builds Bring Out the Best in Your Mac, Dan Knight, Online Tech Journal, 06.30. Applications compiled for your Mac's CPU can load more quickly and run faster than ones compiled for universal use.
- Checking Out Safari 4 on an Old PowerBook, Charles W. Moore, 'Book Value, 06.30. Safari 4 is the fastest it's ever been, but it's not without some frustrating drawbacks.
- Intel's Promise Fulfilled: More Processing Power per Processor Cycle, Dan Knight, Mac Musings, 06.30. Apple promised improved CPU efficiencies when it announced the move to Intel in 2005. Three years of MacBooks show the progress.
- Is Steve Jobs' Health Essential to Apple's Future?, Frank Fox, Stop the Noiz, 06.30. Steve Jobs' health is an important thing, but Apple has demonstrated that it can be profitable without him.
- More links in our archive.
Recent Deals
- Best Mac Pro Deals, 07.02. Used 3 GHz 4-core, $2,000; 3.2 8-core, $2,900; refurb 2.8 8-core, $2,399; new 2.66 4-core, $2,290 a/r; 2.26 8-core, $3,070 a/r; 2.66, $4,499; more.
- Best Mac OS X 10.4 'Tiger' Deals, 07.02. Full version DVD, $140; 5 user family pack, $370; 10-user Server, $299.
- Best 17" PowerBook G4 Deals, 07.02. Used 17" 1 GHz PowerBook, $689; 1.67 GHz, $749; hi-res, $1,029.
- Best Xserve Deals, 07.02. Used 2 GHz single G5, $800; dual, $1,000; refurb 2.8 GHz 4-core Xeon, $2,100; new 2.26 4-core Nehalem, $2,888; 8-core, $3,449; 2.66, $4,799; 2.93, $5,999.
- Best iPod touch Deals, 07.01. Refurb 2G/8 GB, $179; 16 GB, $259; iG/32 GB, $279; new 2G/8 GB, $215; 1G 16 GB, $210; 2G, $275; 2G/32 GB, $369. Prices include shipping.
- Best 13" MacBook & MacBook Pro Deals, 07.01. Used 1.83 GHz, $595; 2.0, $629; new 2.0, $889; 2.13, $925 after rebate; refurb 2.0 Unibody, $949; 2.4, $1,099; new 2.26 MBP, $1,119 a/r; more.
- Best 12" PowerBook G4 Deals, 07.01. Used 867 MHz Combo, $400; 1.33 GHz, $448; 1.5 GHz, $599; 1 GHz SuperDrive, $509; 1.33 GHz, $599; 1.5 GHz SD, $679.
- Best Apple TV Deals, 07.01. Refurb 40 GB Apple TV, $199; new, $220; refurb 160 GB, $279; new, $320. Prices include ground shipping.
- Best G4 iBook Deals, 06.29. Used 12" 800 MHz Combo, $290; 1 GHz CD, $299; Combo, $370; 1.33 GHz, $428; 14" 1 GHz Combo, $399; 1.2, $465; 1.42 GHz, $500.
- Best Mac OS X 10.0-10.3 Deals, 06.29. Mac OS X 10.0, $30; 10.1, $20; 10.2, $60; 10.3, $50; 10.3 Server, unlimited users, $130.
- Best Power Mac G3 and PCI Video Card Deals, 06.29. Used beige 300 MHz, $25; G4/366, $39; blue & white 350, $80; 400, $90; 450, $105; PCI video cards from $15; shipping additional.
- Best Time Capsule and AirPort Deals, 06.29. Close-out 500 GB Time Capsule, $199; 1 TB, $350; AirPort Extreme Base Station, $130; refurb AirPort Express, $85.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Have a question?
Ask an expert!
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
Ask an expert!
