What You Can Expect from Linux on your iMac G5 Generally speaking, you can expect a fully functional desktop machine similar to MacOS X. However, these things will require fixes and work-arounds to get working (explained on this page). I've never owned or used a Mac until I was given an iMac G5-PPC 20' all-in-one recently. It's got OSX 10.3 installed and I understand that it can be upgraded as far as OSX 10.5.
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.
Best Linux For Power Mac G5
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.
[Editor’s note: Canonical has discontinued PPC updates since Ubuntu version 7.04. The PowerPC version is now community supported.]
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 run 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 Tiger 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 how you did it!
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 Panther 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 dialup 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.
Linux For Power Mac G5
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.
Links
keyword: ubuntuppc
[ Ports ][ Debian for PowerPC ][ Installation ][ Documentation ][ Development ]Debian for PowerPC
The PowerPC is a RISC microprocessor architecture developed by IBM, Motorola (now Freescale) and Apple. The PowerPC architecture allows both 64-bit and 32-bit implementations (the 64-bit implementation includes the 32-bit implementation). The first PowerPC microprocessor was the 601, a 32-bit implementation released in 1992. Several other 32-bit implementations have since been released, including the 603, 604, 750 (G3), 7400 (G4) and the PowerQUICC embedded communications processors. 64-bit implementations include the 620, POWER4, POWER5 and the 970 (G5).
Linux for the PowerPC was first released at the 2.2.x version of the kernel. A key resource for PowerPC Linux development is penguinppc, which also includes a hardware compatibility list. PowerPC support in the Linux kernel is now developed as part of the `main' Linux kernel at kernel.org.
The Debian PowerPC port began in 1997 at the German Linux Congress in Würzburg. A PowerPC machine (Motorola StarMax 4000, 200 MHz 604e) was donated to the Debian project. Additional information about this computer is available from the history page.
Debian on 32-bit PowerPC (powerpc)
It first became an official
release architecturewith DebianGNU/Linux 2.2 (
potato) and had retained that status until the publicationof Debian 9 (
stretch). The last supported release for 32-bit PowerPC is Debian 8 (
jessie).See the release note and installation manual for further information.
Debian on 64-bit Little Endian PowerPC (ppc64el)
Starting on the release of Debian 8 (
jessie), ppc64el is an officiallysupported architecture on Debian.See the release note and installation manual.
Here you can find information about the64-bit PowerPCLittle Endianarchitecture.
However, note that there is also information at theppc64el wiki page, such asinstallation and ABI information.
Installation
There are a variety of systems using the PowerPC microprocessor. Check our Installation pages for specific information about installing Debian/PowerPC on your system.
There are some quirks you need to know about when installing on an iBook, TiBook, or iBook2, especially when dual booting with Mac OS X. Some iBook2 hardware, especially on recently introduced models, is not well supported as yet. For specific information on potential problems and solutions, study these web pages:
- William R. Sowerbutts' Installing Debian GNU/Linux on the Mac Mini
- Mij's Hints on installing debian on an iBook2
- Installing Debian GNU/Linux on an iBook 3.3 (G4) by Sébastien FRANÇOIS
- Debian network installation on IBM RS/6000 44P-170 (POWER3) HOWTO by Rolf Brudeseth
- Installing Debian GNU/Linux on a p630 LPAR (7028-6C4) - English and German (Florian M. Weps, link to archived copies in archive.org)
- Daniel DeVoto's Installing Debian Wheezy/testing on an iBook G3
Best Linux Distro For Mac Powerpc G5
Debian GNU/Linux does not officially support NuBus PowerPC machines, such as the 6100, 7100, 8100 and most of the Performa series. However, an MkLinux-based kernel is available, which can be launched from a Mac OS boot loader. A Debian system can be installed using this kernel, which is available at http://nubus-pmac.sourceforge.net/.
When upgrading from Potato to Woody or upgrading really old kernels, there is some important information you should be aware of regarding a change in keyboard coding. This could save you some time and headaches!
Links - Documentation
Up-to-date information on Linux for PowerPC is atPenguinPPC.We have an older collection of PowerPC links anda couple of pointers for Debian PowerPC developers.
Hardware specifications for Apple computers are available atAppleSpec.
More information and documentation about the POWER architecture:
Linux Mint Mac G5
- Official ELFv2 ABI Specification (under section 'Link')or thisPDF. Registration required.
- GNU ToolsCaldron 2014 slides & video
Available Hardware for Contributors
Please read the list ofDebian machines to access powerpc/ppc64el Debian porterboxen.
Contact information
If you need help, try asking for help in the following places:
Mailing Lists
The Debian PowerPC mailing list is the proper place for questions,suggestions for improvements, or just for chat concerning PowerPCsystems running Debian. The debian-user list is also available forgeneral Debian questions which are not specific to PowerPC.
To join the list, send e-mail to<[email protected]> with the word'subscribe' in the Subject line.List archives areavailable.
Usenet Newsgroups
Linux for PowerPC Systems
Linux For Imac G4
Linux in general
IRC
The
[ Ports ][ Debian for PowerPC#debian
channel on irc.debian.org
isfor general topics relating to Debian, and there is the#debianppc
channel for topics specific to Debian onPowerPC processors. You will almost always find someone on-line who ishappy to share information and help you with your problem.