When a new linux distribution hits the scene its always a little bit like Christmas. As the beta releases taunt you like packages beneath the tree, tempting you to try them out .. The hard part is sitting on your hands untill the website screams FINAL and the fun can begin. Thus here is my little christmas carol about how I updated my good old Ubuntu Linux 6.06 version to the latest in 6.10.
No beta's please.
Every new release of a linux distribution (in this case the new Ubuntu) puts the blender in the rumor pot. What is new , what is going to change, this and that cool stuff is going to be new, are they gonna drop this and that. The only way to divide fact from fiction is downloading and installing the public beta versions that are released. Now I have never been one for beta's. And that is for two reasons. First of all because a beta never gives you a clear picture of what is going to be the final product. Sure, you might get a glimpse in the general direction, but the difference between the beta and the final release may be as dramatic as the difference between cookie dough and the finished brownie. Secondly : Beta's are mostly far from stable. Unless you are a developer or some genius programmer who can find and fix bugs in this PRE-released version of a final distro, its not gonna do you much good. Forget using a public beta as a stable system. You are riding an unfinished car to the finish line. If you are masochistic and love to hog unpredictable kernels I would suggest turning to any version of Windows before its service pack one.
Thus I bide my time till the final comes. And when my curiosity gets the best of my I'll just download the fucker and run it in a virtual machine.
Why should we care to upgrade ?
Erm.. Good question. In the case of Ubuntu 6.06 it was out of sheer curiosity.
I (finally) got my current version to play nice with my home network, had it all eye-candied out so it looked smooth and more importantly, gotten used to the look-feel and possibilities of this worthy windows-replacing operating system. Since it was a "decimal" upgrade (from 6.06 to 6.1) there was no rush. (When however they moved from 5. to 6. I was all over the place with joy). The other thing is, Linux distributions evolve differently from windows distributions. In mickey-software they whack in all the cool toys and worry about security POST RELEASE. In Ubuntu they make sure the system is steam liner-stable and "Fort Knox secure" before they release it. All the "fancy smancies" are developed later by the community. So a Ubuntu distro can be considered "ripe for use" about two weeks after release when the command-line-geeks have had enough of caffeine driven all nighters and coded the crap out of themselves to prep the add-ons.
But upgrade we shall ! (reinstall / upgrade)
Now, If I had absolutely nothing to do with my life, and installed/reinstalled my system every time there was a kernel fart, a re-installation was something to consider. Wiping ones hard drive clean and installing an OS from scratch is like wearing clean underwear or sleeping in fresh sheets. But since I had my 6.06 running so smoothly the thought of upgrading crossed my mind. With windows I would never EVER Consider this , and even on my mac i like it better when i can erase/reinstall rather then upgrade. But I decided it was time to test the agility and maturity of Linux by going for the upgrade.. (and just maybe I'm a lazy fuck who did not want to wipe his porn ?) If you have the time go for a clean reinstall , If you don't want to wipe a working system, try the upgrade. You can always reinstall when it goes wrong.
Upgrading a working system.
I could tattoo the following advice into peoples forehead yet they would not listen to me until one day .. they loose everything. " BACKUP BACKUP BACKUP" what ever you do to a working system, make sure you backup everything before you begin. Don''t even try to come over and wine about all the crap you lost. I'll laugh in your face , step on your toe and write "I TOLD YOU SO' on your belly with pink lipstick. Afterwards you can run around naked in shame for all I care. I have no compassion for persistent stupidity. Next up : Be prepared for failure. Don't try elaborate shit like this if you need to get a paper out by next morning. Be prepared for total system fucky-uppie and start working on emergency response scenario's should your "kernel based acrobatics" fail.
The magic command line code
So lets get started. We have " one cup of Ubuntu 6.06, with the important data and settings skimmed' Next up I found this great website that teaches you how to upgrade using just one line of code. Just pop open your command line window and type :
gksu "update-manager -c"
Next up enter your administrator password. The message will come up a new update is available and you need to click the 'update" button to do so. So what should you do ? … Hit it you twit !. The upgrade process will take quite some time so be prepared to actually spend time with your family and do what "normal' people do. Don't bite your nails awaiting the completion of this process.. Why ? cause its not nice !
After about an hour the whole thing will be done, Reboot your system and say a prayer to "Sint Rita" who is the holy chaperone for lost causes. If Rita can't help you .. you are officially screwed.
The magic word : Automatix !
If all went well you'll have a completely upgraded system. Otherwise enjoy your horrible " KERNEL PANIC" message heralding the end of your operating system as you have know it thus far. But you backed up all important data anyway .. didn't you .. So now the trick is to make this fancy new version of Ubuntu into a working operating system. This means, being able to play *wmv files, play dvd's, be able to run Google earth and what have you . In short : All the good stuff. To do this there is the magical script of AUTOMATIX that will help you accomplish what takes geeks months, in mere minutes.
If you had automatix installed on your old 6.06 system , lets remove it first shall we ? : Open a command line an type :
sudo apt-get remove automatix
enter your admin password and be gone with the old automatix.
Then we prepare to install AUTOMATIX2. So in our command line window we type : sudo gedit /etc/apt/sources.list
this will let you add the following line to the end your sources list ( where your linux gets his good stuff)
deb http://www.getautomatix.com/apt edgy main If you see any simular lines with a # in front of them, remove the # and save the file.
Now we enter some geeky lines in order to make automatix work. (hit ENTER after every line)
gpg –import key.gpg.asc
gpg –export –armor 521A9C7C | sudo apt-key add –
sudo apt-get update
sudo apt-get install automatix2
If all went well you will now have a little AUTOMATIX icon in your
gnome menu ( APPLICATIONS / SYSTEM TOOLS / AUTOMATIX
And then some.
Now the good stuff can start. As you see , in automatix you can choose what good stuff to install , if I where you I would check every little tickbox and then get some more quality time with the family. The installation of programs like , skype , google earth , picasa and more might take some time. But when you are done all the stuff works fine and you are the proud owner of a fully working Ubuntu 6.10. Have fun.
Keep it simple.
If visitor statistics have proven one thing in the last few days, then it is that keeping it simple works best. A small article about configuring a Ubuntu workstation for grandma turned into a site-rush overnight. The moral of the story ? Linux is being presented as an operating system that is way to hard. Somehow I think that the one thing that is holding back de destribution of Linux desktops to the mainstream is … The Linux community itsellf.
Blame the community ?
Now don't get me wrong. Whenever I was in need of Penguin related information, I knew where to turn. Tons of forums, newsgroups and websites where jam packed with information. And they where more then happy to provide it …. Only .. it was presented in a way that was only comprehensible for “the inner circle of linus-ians “ They where friendly and nice, and the howto's started out pretty friendly and easy , but three posts later in the thread the learning curve had gone allmost vertical and they where talking Grep this and Ls that and what have you. When this sudden increase of complexity startled me and I asked or a little more directions I was redirected to another thread that dealt with that problem on its own. Its like asking somebody to help you because your car door is stuck, and as an answer they give you a manual in automechanics.
My wires are crossed.
Wireless support in Linux is a pitfall in that account. When it works out of the box , its fine , when it does not : You're screwed ! And this is sometimes the fault of the evil hardware manufacturers that don”t want to release their drivers (poor Linux heroes even reverse engeneer them to get it to work). But other times there IS a way to get it going, but you have to edit this, copy that, compile this , download that … AAArg ! By the time I have figured that out my laptop will be outdated anyway.
And once more all together : AUTOMAAAATIX !!!
An example that it CAN work is the famous automatix script, instead of posting a gigantic textfile with a complete list of applications you can make, they decided to script it in a little Gui so people could click and pick what they needed. Is it Linux-geeky cool : NO ? Would bash-brawlers frown upon this de-geek-i-fi-cation of technology ? YES .. Does it work ? Hell yes !
Strip the technobabble from the how-to and bring it down to playschool level : Copy this, past it there, click that. No pipes , no grep, no compile, no wget .. just copy paste and click. And the result : A newbie proof way that has done MORE for the linux community since its early rise a year ago , then pages and pages of “man” files have done in years. I'm not saying we don't need these because we do and they are a wonderfull work of patience and passion, but to somebody who just gets started .. they just don't work.
It can be for dumb people too.
And the other thing is : Using Linux does not mean turning it into some major command line operating system that will be able to run the planet should the white house ever decide to pull the 64 k of ram out of the presidents head. It can also mean using it for a simple system. Or a safe-surft computer. So you see my bearded linux-zealots ! Keep'in it simple is keepin it popular !
They say its for geeks, they say its for nerds, they say its for those whose pinkie finger has the imprint of the enter key tattooed on it. We say its for your grandmother ! Yes my friends, I kid you not, for all of those who are afraid to dip their little toe into the great Linux-Lake let us reassure you : If your grandmother can do it ? So can you. Before we start , let me clarify : We are not talking about turning your Linux machine into a clustered database server with SQL, PHP, Apache, Samba and what have you. We are talking about the advantages of using Linux .. as a desktop.
Why this experiment.
I have been toying around with Linux since 1999, Seen the first desktop versions evolve and have seen the Linux OS grow in strength on the desktop. Last year I found out about Ubuntu Linux and have been doing several articles and podcasts on the use of Ubuntu as a desktop system. I am by no means a Linux zealot ! No pingu-pimping for me ! Drop me in the Linux command line and I'm as lost as Debby Harry in a hair salon. I do however have a philosophy about computer use. I think technology should be safe and simple and that a computer should work for you and not the other way around. Linux has always been seen as to hard and to complicated. So it was time for a little experiment. Could we put together a Linux desktop system that was simple to use, safe from virusses spam and user mistakes, and had a lot of software to offer. Could we build a Linux box that your grandma could use ? Well , lets see.
Step one : Find a grandmother.
My fiancé's family is pretty tech savvy , her dad is a computer wizz, her mother is on MSN messenger all day, her sisters live on line and her grandmother .. is right up the alley. Its not that they are all computer freaks out there , they all just have an open mind towards technology. Good old granny started out on her gaming trip some fifteen years ago when she swiped a hand-console Tetris game from one of her grandchildren. An all night-gaming rush that night got her hooked on these little hand held gaming consoles. Some two years ago she got a second hand worn down IBM Thinkpad laptop running windows 95 for running some simple games like .. surprise surprise.. Tetris and stuff. So when she called me last week in a panic that she accidentally deleted some shortcuts and 'could not get her games to work anymore'and in her despair, was even suggesting buying herself a brand new laptop .. it was time to jump in .
Step Two : Find a laptop
Finding a laptop for cyber-granny was not all that hard. My fiancé's dad had an old Compaq laptop lying around that was no longer in active duty. With an 800 mhz Processor and 256 meg of ram it had been set out to pasture because of a defective PCMCIA slot on the motherboard. Apparently force feeding a PCMCIA card upside down into its slot does not bode well for the laptop. So it did no longer have wireless capability and since the family had bought a new laptop .. it was just laying around. One discarded laptop, one grandma in need .. Cheque please !
Step Three : Somebody get me a penguin.
With our laptop secured under our arm it was time to browse trough some available operating systems to help “La mama” out. The quota's that needed to be met were :
A : Be simple in use.
B: be safe from mallware virusses and user-boo-boo's.
C: offer enough software without having to take on a loan to get you started.
This kind of ruled out Windows XP pro right off the bat. Several Linux distributions offered themselves up but thanks to the fantastic automatix script, Ubuntu took the cake.
So it was time to let loose the beast. Downloading a standard iso Image from the 5.10 version was about 20 minutes work and the whole installation process took about an hour. The simple installation only bothered us with the country settings, keyboard layout and a user name. No problem there. We let it have the entire hard disk at its disposal so we did not have some boot loader clogging up the startup process. As easy as firing up a toaster was the objective here.
When the bongo's rumbled to announce the first successful boot up we went straight to the Synaptic package manager and started adding games to our installation. Ubuntu comes with some games in the standard configuration, but when you look in Synaptic its like uncovering the lost island of Arcadia. Some games are action based , a lot of them are brain breakers and stuff. Ideal for our test subject. We loaded the distro up with some 100 some games and that was that.
Now what do you do when you've beat Tetris for the 500th time and can't see another polygon for the rest of the evening ? You watch a movie right ? Unfortunately most Linux distributions come without support for playing mpeg2 (dvd's) and mp3 support. It has to do with some legal stuff if i remember correctly. But with Ubuntu we have a little solution for this called : The automatix script. These three lines of code will give you a little GUI in the system menu where you can select all the goodies you want. Realplayer, WMV support , Skype, DVD playback etc…
Its a simple as pie : Enter these three lines of code in your terminal window.
sudo apt-get install xterm
sudo dpkg -i automatix_5.1-1_i386.deb
When you go into the systems menu and look for the automatix application. We selected MP3, WMV, DVD playback and Flash support. Once OK is clicked, Ubuntu does it all for you. For those who are interested HERE is the automatix manual
Step Four : Sense some simplicity.
Now its no good to have a complicated system for our super granny now is it. Time to simplify the whole deal.
Step one : Automatic Login. In the settings menu you can choose the AUTOLOGIN feature. This makes sure our little laptop boots up straight into the users desktop. No login/password combinations but hey .. its not like she's typing up memo's for the pentagon.
Step two : Could i see the menu please ? thanks to the Gnome desktop the menu is pretty simple as it is (somehow the KDE setup is just too “U-bundant” for me. But a lot of options on the menu where just not needed. So we added the games menu, the dvd and cd player icon and the shutdown icon to the main menu bar and removed everything else. Next up the menu bar was set at the bottom of the screen and the bar you see below was set up top. I left an icon for the main “start” menu there so I could access all the other pr
ograms and settings if needed.
- Step three : Explaining how it works : Ok Grann, here is how it works. Press the blue button to start up the computer. Wait until you hear the music. Then you have four buttons on the bottom on the screen. One will give you a menu with ALL the games. If you want to play a movie, just pop in a dvd and click on the second button with the little film reel on it. Want to play some music ? pop in the music cd and click on the little cd. And to shut down the system just click on the little door there.
Thats it , half an hour later granny was trained into using the computer, had a shit load of games to choose from, could play movies and music cd's and was able to boot up and shutdown her system without ever having to worry about pressing the wrong button. Who EVER said Linux was hard ?
Needless to say , Nana was thrilled. She had a stable and secure operating system and did not have to worry about pressing the wrong buttons because quite frankly .. there where none. A grin as wide as the Brooklyn bridge spread across her face when she saw the entire selection of games she could play and not have to worry about breaking anything in the process. “ This is much easier than the previous one” she uttered casting a wayward glance to her old Windows computer.
I”ll be keeping tabs on our cyber-grandmother in the next few weeks to see how she gets along with her new system.
Now with computers coming more and more abundant in our everyday lives, its natural that everybody wants one, including everyone in your family. But as the family-computer-geek (and professional IT consultant) it would just turn into a nightmare providing support for everyone. So using a simplified Ubuntu installation does keep calls about viruses, broken os'es and spy-ware away. Even if she decided to go on line, I would just have to add the Firefox and Gaim buttons to her menu bar, give her a crash course in chat'n-surf and she would be on her way. No high maintenance on this operating system. So to round it up ? Who ever said Linux was hard and complicated. When handled right it can be a simpler and safer operating system to plant down in the soil of an unexperienced user. Ok , you can't install all the cd's you see in the shop, but Linux comes with all these goodies built in ! This way you even save money. So the question is : Have you seen your granny lately ?
If you think this article rocks you might want to check out our other Ubuntu Manuals
and more Tech Articles