Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications


This article gives an overview of Ubuntu, what it can do and how it works with different peripherals…

Previous articles in this series:
Linux & Open Source Software: The History
Linux & Open Source Software: The Present

Introduction

Welcome to part three of a series for beginners explaining what Linux is, where it came from, where it's going, how to use it and why you should. Regular Linux users or Linux Forums gurus, are free to add helpful comments and clarifications, but remember, you are clarifying Linux for newbies, not seeking to score points over your fellow gurus.

Why bother with Linux? The worthy but boring answer is all to do with freedom, human rights, privacy and security, but frankly I use Linux because I like it. It's fun to try something different, it doesn't cost much even if you buy boxed sets, if you have broadband it is free apart from the cost of a few blank CD-Rs. The question ought to be, why pay more for something that offers less?

Ubuntu? SuSE? Vector? What's in a name?

For newcomers, choosing which flavor of Linux to go for is confusing, like a kid in a candy store you can prevaricate for ever. Various magazines and websites have attempted 'roundups' in the past, but there are so many distros the feature is out of date before it reaches a conclusion! I am going to be looking at three quite different, readily available 'distributions' of Linux, all of them suitable for beginners' to use on a standard desktop PC. For a wider choice try the 'Distro Chooser' at www.zegeniestudios.net/ldc/

The Testbed

I tested each of the three on a fairly basic office workstation, a Celeron D335 running at 2.80GHz fitted to a DFI 661FX-MLV mainboard loaded with 512Mb of RAM. It has a single hard drive, a DVD ROM and no floppy drive, I'll be adding extra drives later to see how each distro copes with hardware changes. The mainboard features LAN, sound and graphics. If you have a fancier computer things will work better and faster, but it's reassuring to know you don't need to spend megbucks to get a useful system.

Internet connection is vital to most users these days so it's worth getting it right from the start. In the UK at least most ISPs provide a free USB modem. To keep the cost down these rely on software running on your PC to make up for deficiencies in their own hardware (much like the the internal 'Winmodems' of old). The driver software is Windows only and although it is possible to hack a working version for Linux, it is a lot of hassle and even then not very reliable. They are not not that great on Windows either. Invest in an ADSL router or cable router, they work flawlessly, provide IP addresses to all your PCs via DHCP, enable several PCs to share a connection and provide a hardware firewall.

Ubuntu Linux

Ubuntu is developed and maintained by Canonical Ltd, and largely funded by African entrepreneur Mark Shuttleworth. It is a relatively small download, a single 650Mb CD ISO file. Many other distros need either multiple CDs or a DVD-RW, and even with broadband that's a lot of stuff to download. The single CD gives you all the basics to get started, extra packages can be downloaded as needed later. Ubuntu is based on Debian, one of the more conservative distros and one which is maintained solely by volunteer effort. To produce Ubuntu, Canonical take a development version of Debian and polish it up for release, thus including later versions of many components than the current official Debian release. Download Ubuntu from www.ubuntu.org and burn the .iso file onto a CD.

Here we go

Check the PC boots and runs OK, and set 'CD' as the first boot device in BIOS, put the Ubuntu CD in the drive and re-boot. The drive will wind up to speed and a boot prompt appear on screen. If you have a peculiar system or want to boot some non-standard kernel, this is the place to make changes, 99.9% of us just hit [Enter]. A few seconds later you will be asked to specify a language, and location. Then Keyboard, there are many styles to choose from and a test line where you can try out those pesky things like £, $ and @ that go wrong if you're not careful.

Then you're into partitioning the disk, if you are not planning on dual booting or doing anything particularly unusual with this PC, just settle for the defaults, which is a small 'swap' partition and the rest of the disk given over to / (root). If you're totally new to Linux, 'swap' is similar to 'virtual memory' under Windows, and / (on a single PC with a single hard drive at least) is pretty much the same as 'c:/' Partitioning takes just a few seconds, then the installer will begin copying Ubuntu to the hard drive.

File copying takes about ten minutes, then you will be asked to specify a 'Time Zone', and to create a user name and setup a password. About fifteen minutes after starting the CD will auto-eject, the PC reboot and begin to configure the operating system. This takes half an hour, but requires absolutely no input from you, when it's done you will be presented with a nice bronze colored Ubuntu login screen and a discreet bongo riff, indicating the graphics and sound are configured properly. In fact almost everything is configured. If the PC is connected to a network with a DHCP server the IP address will be set up automatically. If you have a Windows PC on the network running a Workgroup and Shares Samba will take care of those. Firefox will connect you to the Internet.

The Gnome desktop has a brown theme which makes a change from the usual variations on blue and gray. At the top of the screen there is a 'Updates available' message, there were 224 of them when I tested Ubuntu, there will be more by now. Clicking it brings up a password dialog, users new to Debian based distros might be baffled at this point, at no time during the installation are you asked for a 'root' password, so what do you use? Simple really, your normal password. If the security implications of this bother you, especially if you share the PC with other people, create two 'users' for yourself, one for normal everyday work, and another called perhaps 'Super User' or 'Admin' for doing installations, upgrades or configuration stuff.

Once the password is accepted you have the chance to review all the available updates, unless you have reason to believe you know better than the Ubuntu packagers just accept the lot and leave it for an hour or so.

Considering Ubuntu is a single CD, there is a lot of software included, for graphics there is The Gimp (photo-editing and pixel graphics), Xsane (for scanning) and gThumb (image viewer). The Office selection is Open Office version 2 plus Evolution the Gnome email client. 'Internet' includes Firefox, Gaim (instant messenger) Xchat (IRC) and BitTorrent. 'Sound & Video includes CD creators, rippers, Totem (media player) and Rhythmbox (music player).

I found a problem running Rhythmbox and decided the easiest solution was to replace it with XMMS (X Multi Media System). Debian based distros use a package manager called Apt, but for those of us with an aversion to command line stuff there are GUI front ends for it, Synaptic for Gnome users such as Ubuntu and Adept for KDE users. Synaptic presents you with a simple searchable database of applications, select what you want, click 'Commit changes' and few moments later it's downloaded, installed and ready to use. Once XMMS is installed right click an mp3 file, go to Properties > Open with and selected XMMS as the default player.

Peripherals

External Drives

Ubuntu (and most other varieties of Linux) handle peripherals very well. Plug in a USB memory stick and within a few seconds a 'removable disk' icon appears on the desktop and then the file browser opens 'usbdisk' ready to write to. Couldn't be easier. Unplug it and it goes away without a fuss, no nasty warnings about safe removal or anything like that. External hard drives are automatically mounted in the same way, as are MP3 players, except you get an icon loosely styled on an iMac.

Printers

USB printers take a little setting up. Plug it in, go to System > Administration > Printing and click on 'New Printer'. The drivers are already available for most printers, just select from the list and that's it. Parallel port printers are even easier as Ubuntu will automatically detect the printer for you, so you don't even have to search a list for the driver! You can connect to network printers too via various protocols, but on a mixed Windows/Linux network Samba makes the most sense.

Email

Being based on the Gnome desktop, Ubuntu uses the Evolution email client. There's an icon on the taskbar, click it and you are straight into setup mode. There are three dialogs to complete; your ID, your POP3 details for receiving mail and your SMTP details for sending it. Finally a timezone chooser so your mails will be correctly marked with time and date.

Upgrading

My final test was to add an extra hard drive. This does involve some basic command line work to mount the drive, but it's not hard. The new disk is 'seen' by Linux as hdb1 (possibly with hdb2, hdb3 and so on if the disk has multiple partitions) and will show up in /dev. To mount it open a terminal and type:

sudo mount -t [file system type] /dev/hdb1 /[path where you want to mount the disk]

You can 'mount' the new disk anywhere you choose in the file system. Popular places are /mnt (the traditional mount directory) or /home (to give your users more space).

Note, 'sudo' gives you temporary 'root' privileges (you'll be asked for your password), if you don't know the file system on the disk it won't work, if the disk is new and not formatted you need to format it first. This is not something I'd recommend to newcomers, but if you are familiar with fdisk on Windows and want to try the equivalent on Linux then:

sudo fdisk /dev/hdb

NB hdb is your second hard drive, type hda and you risk wiping your master disk!

Given that it takes less than an hour to install Ubuntu from start to finish, it's easier to re-install. Or put all the hardware in place first.

Ubuntu Verdict

Ubuntu is intended to work for inexperienced Linux users with little or no intervention, and it does. Hardware detection on installation is perfect, Synaptic makes adding new software simple, setting up a network connection is automatic.

Coming Soon: Starting SuSE

Rate This Article: poorexcellent
 
Comments about this article
Ubuntu sound card detection
writen by: Peter E-L on 2006-05-08 16:52:35
One of the biggest dissapointments for me after trying various flavours of Linux,is the inability Ubuntu to correctly detect 'out of the box', the sound card. Having spent many hours trolling the forums etc and I'm still no nearer to finding a solution (there indeed appear to be many, none of which worked fo me). Most frustrating, and a major handicap to those of us who new to the Linux OS and want to try something 'different'. Your comments...
RE: Ubuntu sound card detection written by Peter E-L:
Did you mean what you wrote?
writen by: Webster on 2006-05-09 00:41:34
Look up the word "prevaricate".
RE: Did you mean what you wrote? written by Webster:
Ubuntu sound card....
writen by: Hiyo on 2006-05-09 08:19:52
Hi, never had a single problem with soundcards. I'm running Dapper atm on a HP Pavillon athlon 64. Where Windws failed (both sound card and video card, I spend hours to find proper drivers @ ATI and HP sites) Ubuntu succeded. Also Intel Soundcard on my laptop has been detected correctly at first try. Maybe you'd write your configuration to ubuntuforum website. Regards
RE: Ubuntu sound card.... written by Hiyo:
Sound Card Ubuntu
writen by: Howard on 2006-05-10 04:57:12
Did you try the alsoconf command? (Go to root then password. and at the type alsaconf at the #symbol (which means you're in the root or rather superuser mode). That should detect your card. If nothing else works, find out what cards ubuntu is compatible with and buy it (should be able to pick one up cheap at a computer repair shop).
RE: Sound Card Ubuntu written by Howard:
Check alsa mixer settings
writen by: gardion on 2006-05-10 11:42:35
Just to let you know I've had sound problems before with Ubuntu. There are two things to check. First of all if you have more than one sound card make sure you select the one you want to use and plug in things correctly. Secondly, I've noticed that the settings in alsamixer are often wrong. Try going to a console and typing something like alsamixer or alsa-mixer. Then try adjusting things and see if sound works. I've had this problem a few times with Ubuntu but I did manage to fix it. You may need to type sudo alsamixer.
RE: Check alsa mixer settings written by gardion:
Ubuntu sound discovery
writen by: KLAWH on 2006-05-10 12:55:32
I totally can relate to your issue. I have an old Gateway E-3200 P3 with onboard soundcard by Cirrus...I beleive. I actually was able to search google and find a few forums that shed some light on my situation. I'm not sure of what you've tried, but I had edited the blacklist by inserting my soundcard type and following instructions from the Ubuntu website for editing the Alsa config file. I think vendor support is crucial now for linux! Once these areas are developed the opportunities are infinite.
RE: Ubuntu sound discovery written by KLAWH:
Uber ubuntu
writen by: -=los on 2006-05-10 21:14:14
I tried the live cd first -then installed Ubuntu then Kubuntu -then ubuntu again- this is by far the most user friendly -easy to use distro. The live CD lets me know if my hardware is going work! It all depends on your hardware
RE: Uber ubuntu written by -=los:
About Ubuntu
writen by: mihai chivu on 2006-05-11 02:48:41
Nice article! I really mean it! About this distro I think it is the best distro ever and I know I'm not the only one with this opinion. The Distrowatch Classament proves it! I hope all the fans of this distro will be verry happy about the release Ubuntu 6.10 Daper Drake/ Mihai Chivu Ubuntu Romania Team
RE: About Ubuntu written by mihai chivu:
Mounting a new Hard Drive...
writen by: Benjamin S on 2006-05-14 12:33:21
You don't need to go to command line to mount a new hard drive, on Breezy all you need to do is System>Administration>Disks. I haven't experimented much with Dapper, but it's mainly the same, if memory serves.
RE: Mounting a new Hard Drive... written by Benjamin S:
6.10??
writen by: sopo on 2006-05-14 17:29:40
6.10?! C'mon, that can't even have been a typo. Dapper Drake is 6.06 because of the release date - 2006 (6) June (.06) Or maybe you did mean 6.10, but then it isn't Dapper Drake, but Edgy Eft and it's a little too soon to talk about that just yet. Either way you were terribly wrong. And then you claim to be on the "Ubuntu Romania Team". You shouldn't have added that line, it's nothing but an embarrassment for your colleagues.
RE: 6.10?? written by sopo:
HP Pavillon athlon 64 and wireless netw
writen by: DieMongo on 2006-05-15 02:13:44
I'm running dapper too, with almost no problems. I had (and still have) problems with the wireless setup. Well, actually I can get a connection, but it only last for about a minute or two. Could some of you give me a hint or a link to get this working properly? Thanks.
RE: HP Pavillon athlon 64 and wireless netw written by DieMongo:
My Present Preference
writen by: tov on 2006-05-15 06:56:22
After tasting Linare, Linspire, Suse, Mandrake, Knoppix, Gnoppix, Ubuntu, Kubuntu, and others, My present preference is for SimplyMepis3.3.1. The thing that bugged me about Ubuntu is that it won't play the online media I enjoy so much. MP3 and other formats as I recall. I don't remember how it played files like: mov, ram, wmf... But I do remember it wouldn't play the mp3 files and I was so disappointed because I love the philosophy of Ubuntu! www.gospelinux.net
RE: My Present Preference written by tov:
No prevarication
writen by: P. Woods on 2006-05-15 14:22:48
Yup That's the right word! Just don't prevaricate. HTH
RE: No prevarication written by P. Woods:
mp3
writen by: Mackenzie on 2006-07-24 01:29:28
You just need to install the right packages, and then it'll work. The philosophy involves no license agreements, so they don't put any license agreement stuff--like mp3 programs--in there by default.
RE: mp3 written by Mackenzie:
new user
writen by: john on 2006-10-12 13:04:29
As Ubuntu can be installed on a server can I install it on an external hard disk and use it from there on two different computers? If so how? Would I just have to set the external disk as first boot etc? Help please. I really want to get into Linux but would like to get it up and running before completely switching off Bill Gates!!
RE: new user written by john:
pyro
writen by: Pyrodood on 2007-02-18 21:13:45
RE: pyro written by Pyrodood:
Nice
writen by: Mr. Prevaricate on 2007-02-24 04:47:15
RE: Nice written by Mr. Prevaricate:
Peter
writen by: Peter on 2007-03-04 02:13:28
RE: Peter written by Peter:
Mr.
writen by: Sam on 2007-11-25 15:55:15
RE: Mr. written by Sam:
Sound card
writen by: DracoBengali on 2008-02-10 00:39:29
RE: Sound card written by DracoBengali:
Check Out!!
writen by: Tech Man on 2008-05-22 12:28:49
http://technicianspot.blogspot.com/2008/05/installing-linux-ubuntu.html
RE: Check Out!! written by Tech Man:
Dissapointment
writen by: Faro on 2008-11-02 14:30:23
heron 8.04 sound sometimes work many times dont a puzzle as in the control on the bar (volume) offers as many as 10 preferences ALSA and others. 8.10 found none so far not even downloading flashplayer (worked on 8.04 sometimes) lspci reads 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
RE: Dissapointment written by Faro:
linux
writen by: vytautas on 2008-11-16 07:01:40
RE: linux written by vytautas:
Ubuntu color
writen by: donjaime on 2008-11-19 10:04:20
I am amazed with ubuntu 8.04. Works great, detects and installs my wireless connection without any input from me. Windows xp wont do that. The only gripe I have about the program is the pukey desktop color with no option to change except to another pukey brown color.
RE: Ubuntu color written by donjaime:

Comment title: * please do not put your response text here