Quick and dirty; light and fast

null
About three days ago, a reader asked me to just write a short Debian install guide for a PowerPC system with a very small hard drive.  A guide isn't even needed.  All you need to know are a couple basic steps and you'll have a nice lightweight Debian install, with a very small drive footprint.

The light and small footprint factors are very complimentary indeed.  The PowerPC systems with the smallest drives are generally the slowest ones.  Their small drive actually forces you to make the right OS choice if you want any semblance of performance.

While this type of install is most beneficial to the slowest of PowerPC hardware, it can also have a good benefit on productivity with the fastest of hardware.  I keep it light no matter what OS or hardware I use, and I see the benefits all round with everything I use.  If you have any G3 or a slower G4, then you should at least give this method a test drive on your machine.

Here are the very simple steps to getting an ultra-light Debian install.  One that is actually lighter than Puppy Linux, and just about any Linux with a GUI.  For PowerPC users, this is the absolute best method to get the most out of your hardware on Linux.  This is easily the best route to take for a slower machine you want to dedicate to internet use.

I am going to use Debian stable (Jessie) in this install.



Step 1:

Download the Netinstall ISO image



Step 2:

Burn the image to a CD and boot it by holding down C.  At the Yaboot prompt, press enter or return to start the install.



Step 3:

When shown the options of what to install, deselect everything (even the GUI) but utilities at the very bottom.  Laptop users will also see a preselected option called "Laptop"; you will obviously want this selected for best hardware support.

The reason I say to deselect the GUI, even though these options are extended in the Jessie installer, is that installing a GUI from the Debian installer adds a lot of extra software packages that you may not want.  Installing the GUI manually afterward gives you just the GUI itself, without all the extras like LibreOffice, Gimp etc.  Remember, this is supposed to be a light install. 



Step 4:

Once it reboots you need to login as root with root/root pass you chose at install.



Step 5:

Once you have logged in as root, simply type the following:

apt-get install lxde

It will default to getting it from the same mirror you chose for the Debian install.


When the LXDE install is done type:

reboot

 It will then boot to a GUI login screen for LXDE.  Login with your user account.



Step 6:

Install whatever else you desire once logged into LXDE with your user account.  When you install this way you get no extra apps at all; not even Iceweasel, which is Debian's fork of Firefox.  It's not exactly lightweight, but is needed for the times when you need a heavily standardized experience.  It just works when the lightweight browsers need config.

Fire up the "LXTerminal" and type su to give install privileges to your user account.  After you enter your root password type:

apt-get install iceweasel

Then simply keep using apt-get to install whatever else you desire.  Once the terminal is done an install you can simply tap the up arrow and get your last command.  Then you simply just replace the package name to keep installing everything else.  Jennifer didn't want office software or anything, just the OS and browser.


Other things I recommend installing for basic internet and system use:

  • sylpheed (lightweight email client)
  • luakit (lightweight webkit based browser)
  • xxxterm (lightweight webkit based browser) 
  • transmission (lightweight bit torrent client) 
  • pidgin (multi-protocol instant messenger)
  • netatalk (package for networking with Mac OS systems)
  • synaptic (gui for apt) (useful when you have a need but don't know package names)
  • hardinfo (system profiler-like app with benchmarks)
  • kupfer (very powerful but light app/document launcher)

If you also want some music on the system, I would try either 'rhythmbox' or 'audacious'.


Thats about it.  If you want LibreOffice, GIMP and all the other stuff that installs with the other Debian images then just use one of them.  The purpose of this install method is to stay light.  You could easily get by on 128 MB RAM with the install I just took a brisk pace through. 

You also get Openbox with LXDE, so you can still take advantage of all the configuration possibilities that Dan the PPC Luddite offers on his blog, along with Urukrama's guide

If you need any other details about the install then just ask in comments and I will add them.  I wrote this quickly without much time to spare.  Debian is very easy to install.  Just follow the onscreen instructions and you'll be fine.

Keep in mind that this install is designed around the idea of Debian being the only OS for a dedicated, lightweight and secure system.  I made this as simple and direct as possible.  Use your oldest/slowest PowerPC hardware first to see the true value of light.

When I do the exact above type of install, I am left with a Debian LXDE setup that only uses about 49-54 MB RAM after login.  You really can't beat that for a modern OS.  It would even be hard to beat that if you went back 5-10 years.

Debian's path is already lit by the Luddite


A couple readers have asked me to write a Debian Install guide, but there is no need.  There is already a great guide in existence from our close friend Dan the PPC Luddite.  Dan is a Debian chef of master class levels, and his guide can help you turn your install into a gourmet dish.

If you just want Debian as the only OS on the hardware in question, then you can easily install it without help in most situations.  You don't need to know any commands unless you tell it not to install a GUI.  If you want to tinker with other OS and such on the same machine, and other more specific things, then Dan's guide is for you.

The best reason to use Dan's guide is all the PowerPC-specific configuration help it gives.  Proper configuration is key to having a great Linux install when you're done.


Here are all five parts of his install guide, which he updates continually:

Part I - Pre-Installation

Part II - Installing the Base System

Part III - Installing the GUI 

Part IV - Configuring Stuff 

Part V - Bugs & Quirks 


The only real thing I would change is installing LXDE, rather than just Openbox as Dan does.  With LXDE you still get Openbox, along with all the added LXDE greatness.  Openbox comes totally raw out of the box.  It takes a lot of config to get it just right.  LXDE is more of a personal choice, but I can promise that a lot of Linux newbies will adapt far better to it.  I also recommend Fluxbox.  It's kind of a middle ground between LXDE and Openbox in terms of pre-configured things. 

I am working on more Debian content of my own, but I don't like redundancy in the community, so there will be no Debian install guide here, at least for now.  The Luddite's guide is very well done, and has a very capable user with legitimate experience behind every word.  You can trust Dan as much as us to look out for your computing well-being.

All Apologies


Dr. Dave here, it's been a month since my last post so I thought I'd apologize for the big break. This is not due to a lack of interest in PowerPC! It is in part due to a very hectic and full work schedule, but also due to yet another video chip failure on my ibook G4 1.07 ghz. This is now the third ibook (one G3 and two G4's) that has gone south due to the video chip becoming unseated from the board. I could of course try and "flame it" back down as others have famously done, but at this point I really want to move away from the ibook line as a whole. In part I kept with ibooks so I could use one machine as a parts mule for the other, but that is clearly a flawed plan when the video chips keep failing. I was debating my next PowerPC step when...

...A retired University professor I've known forever called. He was about to toss a Power Mac G4 he hadn't turned on in three years into a dumpster, after removing the hard drive of course. The specs? A 1.4 ghz (Giga Designs) upgraded Sawtooth (AGP graphics), 2 GB of RAM with a ATI Radeon 9200 with 128 MB of VRAM. I think everyone who reads this blog would sensibly do what I did, and throw themselves between the dumpster and the Power Mac.

Inspired by Zen's recent post  I decided to skip Lubuntu PPC or MintPPC and just go the the heart of the matter, ie the shiny new Debian 7. As with Zen, I'm happy to report the install was utterly painless, just a click or two here and there. In fact, I'd have to say it was one of the least painful Linux or Mac OS X installs I've ever done. Hat's off to the Debian PowerPC team, whoever and wherever you are! It's early days for me and Debian 7, but so far it is hella impressive. Debian 7 PowerPC is stable, secure and sweet. There are a few things to learn and do differently if you are more familiar with 'buntu land, but nothing major.

After 25 years I now no longer have any working Mac OS installs, PowerPC or Intel. It's my intention to use Linux exclusively in the future, as I don't really do any content creation that would require OS X, and find VLC and Mplayer wholly adequate for my media playback needs. With Debian 7 I've got Firefox 17.0.7 and luakit for my web browsing, and a host of audio players to choose from. Who needs OS X Maverick, anyway?

Near future posts will cover youtube playback, office suites and other neat things.

New policy on Mac OS content


As of this post we will no longer be covering Mac OS PowerPC when it comes to any internet related activities.  With it being 4 years since the last meaningful security update, Leopard or older versions of Mac OS simply cannot cut it anymore to keep you and your system/data safe.

When it comes to internet based activity we will only be covering Linux and maybe even a bit of BSD.

My (our) stance is even if you truly do prefer Mac OS on your PowerPC system, you should still use Linux for internet based tasks.  Mac OS is still fine for browsing trusted sites where you know 100% there is nothing to worry about but other than that and email I don't recommend using it any longer.

Just because your hardware is several years old doesn't mean it needs to be stuck in a prison of old non-secure software.  I will keep using OS X PowerPC for offline tasks like content creation and video playback for years or even decades to come.  Having my small army of PowerPC hardware helps.

Use each OS for it's strength.  Linux dominates on security so use it online.  Mac OS X PowerPC dominates with content creation, multimedia playback and gaming.

We will do all we can to help ease the transition for those who are awake to the reality and take the plunge.  If you're in denial, and many are, we can't help you.

Remember, adopting Linux does not equal abandoning Mac OS.

Debian: Unrelenting Quality


I have mentioned before that I chose to cover Lubuntu, because Dan at PPC Luddite did such an amazing job writing about Debian.  I don't like to leave good software unwritten about, but if Lubuntu is good, then Debian is great.  I can no longer contain my unrelenting love for Debian, and its unrelenting quality standards for its software, and anything they package with it.

Debian is the poster child for what software standards should be, which is why so many distros are based on it.  The Ubuntu's, Mint, Crunchbang and Finnix (just to name a few) are all born from Debian code.  Debian have been setting the benchmark for quality, clean, reliable code since the mid 90's, and continue to do so today.  In 20 years there have only been 7 stable releases.  It's because when they release a stable build, they truly stand behind that.  The gap between 6 and 7 was quite short by their standards.  The project actually has about 1000 official developers overall.


This is pretty much how Debian developers operate:

1. Test
2. Test some more
3. Test some more
4. Test some more
5. Test some more
6. Check everything over again and again then test some more
7. Test some more
8. Test one last time just to be really really certain.


While these practices keep the stable build a good mile from the bleeding edge, the end result is stable, secure, never fail you code.  There is a reason Debian is usually a top choice for servers.   If you really desire the bleeding edge kernel and default apps then you can simply install Debian testing.  I honestly have more faith in their testing builds than the finals of pretty much every other distro.

Debian PowerPC is also about the last Linux distro with official support on the architecture still, and there are no signs of it ever stopping. Another thing Debain PowerPC does is allow apt to work perfectly.  In my experiences the Ubuntu's and other distros mess this up at some level.  As someone who prefers some command line on a daily basis this is a big selling point for me and I know it is for Dr.Dave also. 

I have been doing a lot of playing around and testing the newest stable release of Wheezy (7.1 currently) and several different GUI.  The memory usage difference between the various environments is quite significant.


Here are the memory usage totals for each GUI after simply logging in, and with nothing else running:

GNOME 3 - 188 MB

XFCE - 167 MB

Openbox - 101 MB (a bit higher than usual)

Fluxbox - 93 MB

LXDE - 81 MB (I have gotten it down to 69.8 MB now thanks to some trimming)

The system has 1.5 GB (1536 MB) RAM


LXDE is the reining champ, and is so much easier to use for Linux newbs than Openbox or Fluxbox, which use more memory.  I started with the Debian LXDE image and then installed the other enviroments.  LXDE, Fluxbox and Openbox fly while GNOME and XFCE sputter a bit on my G4 1.0GHz Sawtooth testing system.  GNOME and XFCE are still very usable but they simply can't compare performance-wise.  There is also a KDE offering but I have never used it with Deb7.  While KDE is very capable it's one of the most bloated GUI.  It's almost as bad as Unity in terms of system resource consumption.

I will be writing a lot more about Debian 7 soon but I wanted to get out some early observations on Wheezy stable which is only about a month old.  


A couple screens:






They all use the standard Debian installer, which is not a GUI like Lubuntu.  Don't worry though, there are no commands you need to know.  All you ever have to type are usernames and passwords you want.  Tab selects actions, arrows move selections, space makes selections and return/enter executes.  It's actually quite simple to use and should only take a person one use to learn.


It's good.  It's great.  It's all it should be.  It's all any OS should be.  It's free in every sense.

I put Debian on equal ground with BSD.  It's one of only 3 Linux distros I would say that about.  The other two would be Arch and Gentoo, but even they can't touch Debian in my mind.

The twitter situation


Using twitter the last few days has been moderately interesting, but for the most part I have been reminded why I never used my personal account.  I'm pretty much officially over Twitter (again) already.

Another thing of note is that the amount of visitors we get is at least 300-500 unique ip hits per day, yet we only have gotten 21 followers in the first week.  This tells me that the regular readers here are pretty much as crotchety about social networking as I am.  After all, it does take a specific kind of person to appreciate the angle this blog comes from.  People who think like the Dr. and myself have no time for trends of any type.  While Twitter is one of the better parts of the social networking world, it's still part of a culture that I really cannot relate to.

I can't speak for Dr. Dave, but I am over Twitter already.  I may post something now and then or we may just agree to delete the account.

All I really care to spend free tech time on is writing for this blog and using Linux more.  That is what I shall continue doing.

I tried...  140 characters just isn't for me.  Far too limiting and I also tend to hate popular things by default.

This blog will not make any other attempts at social networking.  All that matters is the forward motion of PowerPC and you can get that right here.

Note:  The twitter account has now been deactivated as of June 21.  


Side note

Debian 7 LXDE is amazingly good BTW.  The stable release was introduced in the recent past.  It puts Lubuntu to shame in terms of pure functionality and reliability.  Debian is not as bleeding edge with the kernel and default app versions as Lubuntu is but it's as rock solid as you can get. 

More on that soon.