TOC PREV NEXT

2.1 OVERVIEW


Linux is a free UNIX clone that was developed by volunteers around the world. Although Linux is almost a decade old, it went largely unnoticed by the general public until a couple of years ago. Since then it has become very popular with individual users, universities and large corporations. For example, IBM has made it a major part of their business strategy for server hardware. Many software companies already offer Linux versions of their software, including products such as Oracle, Labview and MSC Nastran. Other companies have developed embedded applications using Linux. Currently Linux can be found in devices as small as a wristwatch [1] and as large as a Beowulf class supercomputer [2]. The popularity of Linux is based on three factors:

- costs are lower because the software is free and it runs well on less expensive hardware.
- it has more software, capabilities, and features than other operating systems.
- the source code is open, so users can customize the operating system to meet their needs.

This chapter will present the Linux operating system in general, and its current status in computing.

2.1.1 What is it?

Linux is an open source operating system. It is open because users and developers can use the source code any way they want. This allows anyone to customize it, improve it and add desired features. As a result Linux is dynamic, evolving to respond to the desires and needs of the users. In contrast, closed operating systems are developed by a single corporation using static snapshots of market models and profit driven constraints.

Linux is free. This allows companies to use it without adding cost to products. It also allows people to trade it freely. And, with the profit motive gone, developers have a heightened sense of community interest. The Linux community has developed a tremendous spirit because of these core development concepts.

2.1.2 A (Brief) History

Linux has existed since the early 1990s [3], but it grew out of previous developments in computing [4]. It was originally developed to be a Unix clone that would run on low cost computer hardware. Unix was developed in the 1970s. Through the 1970s and early 1980s it was used on large computers in companies and universities. During this time many refinements and enhancements were made. By the mid 1980s Unix was being used on many lower priced computers. By the end of the 1980s most universities were making use of Unix computers in computer science and engineering programs. This created a wealth of graduates who understood what they could expect from a mature operating system. But, it also created a demand to be able to do high level work at home on low priced machines.

Early in the 1990s Linux started as a project to create a Unix clone that would run on a personal computer. This project gained momentum quickly and by the mid 1990s it was ready for users. The first groups to adopt it were hobbyists, academics and internet services. At this time the general public was generally unaware of Linux but by the end of the 1990s it was beginning to enter the public sphere. By 2000 it had entered the popular press, and it was cited as a major threat to at least one existing operating system vendor. Now, it is available off-the-shelf in software and book stores.

1970s - Unix developed at AT&T labs by Ken Thompson and Dennis Ritchie
1980s - Unix became popular on high end computers
- The Unix platform is refined and matures
- Some versions of Unix were available for PCs - most notably QNX
1990s - Linus Torvalds begins working on a free Unix clone for PCs in 1991
- Others join the project it gets the name `Linux'
- By 1993 Linux begins to enter the mainstream of computer users
- Linux machines constitute a large number of servers on the Internet
- Many large companies begin to support Linux - e.g. Dell, IBM
2000s - Home and office users are supported with free office software
- Linux is available in consumer products, such as Tivo recorders

2.1.3 Hardware required and supported

Modern computers have ample power for most computer applications. This is more true for Linux. At present there are versions of linux that will run on any platform from an IBM mainframe computer to a Palm Pilot. The smallest Linux installations can fit on a single floppy disk, and run on a diskless computer with a few MB of memory. On the other end of the spectrum, Linux will run on most high end computer systems. An average user would expect reasonable performance on a computer with an old Pentium 100 processor, 64MB of memory, and 2 GB of disk space. On newer computers the performance of the operating system is extremely fast. The list below gives some idea of the capabilities, but complete lists of supported hardware are available [5].

CPU - Intel family and clones, down to `386 processors
- Macintosh (Motorola)
- Others: Alpha, MIPS, Sparc, etc.
Memory - 16MB is a good minimum, 64MB is recommended
Disk - 200MB is a minimum, 2GB is recommended
Screen - Any size
Network - Any type
Others - Most PC hardware is supported - or will be soon

2.1.4 Applications and uses

By itself an operating system is somewhat useless, software applications are added to give desired functionality. Some of the common applications that a computer might be used for are listed below. Linux will support all of these applications, and more, with the right software [6].

Office - word processing, spreadsheets, etc.
Web and Internet Servers - host web sites
Server - databases and other institutional functions
Embedded - inside devices such as Tivo TV recorders
PDAs - an operating system for small handheld computers
Development - software authoring

2.1.5 Advantages and Disadvantages

A partial list of advantages and disadvantages is given below. The cost, stability and open nature of the system have been winning over a large number of corporate adopters. But, adoption has been slowed by people who don't understand the nature of free software or have a perception that it is difficult to use. In some cases there are also some software packages that are not available for Linux, and won't run under simulators [22] - the most notable of these applications are first person shooting games.

Advantages:
Free - paying for it is optional
Open - the source code is available and can be changed
Goodwill - developers and users are very helpful
Faster - it doesn't require newer hardware, extra memory and larger disks
Stable - it is very uncommon for Linux to crash (no blue screens)
Flexibility - more capabilities and features
Complete - all of the software is available and open - no `extra' software to buy
Security - very secure - unauthorized users can't change machine settings
Simplicity - point and click configuration
Disadvantages:
Compatibility - some programs will not run under simulators
Misunderstanding - some people believe `you get what you pay for'

2.1.6 Getting It

There are multiple distributions of Linux. While these all contain the Linux Kernel, they often include different pieces of software, and installation processes vary somewhat. The basic licensing agreement that Linux is distributed under requires that even if it is sold for a fee, it must be made available at no cost and it may also be copied freely by the user. As a result you can often download these distributions over the network at no cost [12][13]. The total download size can be up to 600MB. An alternative is to buy a distribution (the typical cost is $30) which includes a floppy disk, a CD-ROM and a brief manual. These can be found at any store that sells software. Sometimes the distribution will have a higher cost for `deluxe' versions - this more costly package often includes telephone support.

2.1.7 Distributions

In total there are hundreds of Linux distributions. Many of these are specialized for features such as embedded systems, foreign languages, internet servers and security. The list below is for user-friendly installation and usage. The most successful of these distributions is Redhat. Some distributions, such as Mandrake, are based on the Redhat distribution, but with enhancements.

Redhat - the original consumer friendly Linux [7]
Mandrake - a Redhat derivative [8]
Caldera - another well established distribution [9]
Debian - a release that focuses on stability [10]
SuSe - yet another distribution [11]

2.1.8 Installing

Each distribution of Linux will have a slightly different installation procedure, but they all follow the basic steps below. The total time to install Linux will between one to two hours. Users with a high level of knowledge can opt to do advanced setup, and new users will have the option of letting the system suggest installation options.

1. Turn off the computer.
2. Insert a provided floppy disk (you can also boot from a CD on newer computers)
3. Turn the computer on, it will start to load Linux
4. You will be asked some questions about the type of installation you want
5. Linux will format the disks, and start to load the software
6. While it is loading you will be able to set times, dates and passwords
7. You be asked to set up the graphics for the window manager
8. When the installation is done the computer will reboot, and you will be ready to use it

TOC PREV NEXT