Search ebooks:

Wednesday, July 11, 2007

LINUX vs. WINDOWS

Comparison can be done on the following points :

Flavors, Graphical User Interface, Text Mode Interface, Cost, Getting the Operating System, Installing, Running Linux Without Installing It, Application Software, Obtaining Application Software, Application Software Installation, Viruses and Spyware, Users and Passwords, Bugs

Flavors :
Both Windows and Linux come in many flavors. All the flavors of Windows come from Microsoft, the various distributions of Linux come from different companies (i.e. Linspire, Red Hat, SuSE, Ubuntu, Xandros, Knoppix, Slackware, Lycoris, etc. ). Windows has two main lines: "Win9x", which consists of Windows 95, 98, 98SE and Me, and "NT class" which consists of Windows NT, 2000, XP and Vista. Windows actually started, in the old days, with version 3.x which pre-dated Windows 95 by a few years. Microsoft no longer supports Windows NT and all the 9x versions.

The flavors of Linux are referred to as distributions (often shortened to "distros"). All the Linux distributions released around the same time frame will use the same kernel (the guts of the Operating System). They differ in the add-on software provided, GUI, install process, price, documentation and technical support. Both Linux and Windows come in desktop and server editions.

Graphical User Interface:
Both Linux and Windows provide a GUI and a command line interface. The Windows GUI has changed from Windows 3.1 to Windows 95 (drastically) to Windows 2000 (slightly) to Windows XP (fairly large) and is slated to change again with the next version of Windows, the one that will replace XP. Windows XP has a themes feature that offers some customization of the look and feel of the GUI.

Linux typically provides two GUIs, KDE and Gnome. See a screen shot of Lycoris and Lindows in action from the Wal-Mart web site. The lynucs.org web site has examples of many substantially different Linux GUIs. Of the major Linux distributions, Lindows has made their user interface look more like Windows than the others. Here is a screen shot of Linux made to look like Windows XP. Then too, there is XPde for Linux which really makes Linux look like Windows. Quoting their web site "It's a desktop environment (XPde) and a window manager (XPwm) for Linux. It tries to make easier for Windows XP users to use a Linux box."

Text Mode Interface :
This is also known as a command interpreter. Windows users sometimes call it a DOS prompt. Linux users refer to it as a shell. Each version of Windows has a single command interpreter, but the different flavors of Windows have different interpreters. In general, the command interpreters in the Windows 9x series are very similar to each other and the NT class versions of Windows (NT, 2000, XP) also have similar command interpreters. There are however differences between a Windows 9x command interpreter and one in an NT class flavor of Windows. Linux, like all versions of Unix, supports multiple command interpreters, but it usually uses one called BASH (Bourne Again Shell). Others are the Korn shell, the Bourne shell, ash and the C shell (pun, no doubt, intended).

Cost :
For desktop or home use, Linux is very cheap or free, Windows is expensive. For server use, Linux is very cheap compared to Windows. Microsoft allows a single copy of Windows to be used on only one computer. Starting with Windows XP, they use software to enforce this rule (Windows Product Activation at first, later Genuine Windows). In contrast, once you have purchased Linux, you can run it on any number of computers for no additional charge.

As of January 2005, the upgrade edition of Windows XP Home Edition sells for about $100, XP Professional is about $200. The "full" version of XP Home is about $200, the full version of XP Professional is $300. Windows Server 2003 Standard Edition with 10 Client licenses is about $1,100. Because they save $100 or so on the cost of Windows, Wal-Mart can sell a Linux based computer for $200 (without a monitor) whereas their cheapest Windows XP computer is $300 (as of January 2005).

The irony here is that Windows rose to dominance, way back when, in large part by undercutting the competition (Macs) on cost. Now Linux may do the same thing to Windows.

You can buy a Linux book and get the operating system included with the book for free. You can also download Linux for free from each of the Linux vendors (assuming your Internet connection is fast enough for a 600 MB file and you have a CD burner) or from www.linuxiso.org. Both these options however, come without technical support. All versions of the Ubuntu distribution are free.

You can purchase assorted distributions of Linux in a box with a CD and manuals and technical support for around $40 to $80 (some distributions may be less, others may be more). Regular updates and ongoing support range from $35 a year for a desktop version of Linux to $1,500 for a high-end server version. August 2004 Red Hat started selling a desktop oriented version of Linux for under $6 per user per year.

After the initial cost (or lack thereof) of obtaining software, there is the ongoing cost of its care and feeding. In October 2002, ComputerWorld magazine quoted the chief technology architect at Merrill Lynch & Co. in New York as saying that "the cost of running Linux is typically a tenth of the cost of Unix and Microsoft alternatives." The head technician at oil company Amerada Hess manages 400 Linux servers by himself. He was quoted as saying "It takes fewer people to manage the Linux machines than Windows machines." Microsoft commissioned a study that (no surprise) found it cheaper to maintain Windows than Linux. However, one of the authors of the study accused Microsoft of stacking the deck by selecting scenarios that are more expensive to maintain on Linux.

I don't know if there will ever be an objective measure of the ongoing care and feeding costs for Linux vs. Windows. If there were however, it would have to consider:

  • Dealing with bugs in the operating system
  • Dealing with bugs in application software
  • Dealing with viruses, worms, Spyware, etc.(big advantage to Linux here)
  • Dealing with software upgrades to new versions (both the OS and applications)

Obtaining application software: If you buy a copy of Windows on a CD-ROM, you get no application software with it. If you buy a copy of Linux on a CD-ROM (or two or three) it typically comes with gobs of free application software. A new computer with Windows pre-installed may have additional application software, this is up to the PC vendor. I have seen a new Sharp laptop machine that came with no software other than Windows itself. In contrast, Sony VAIOs, for example, come with a lot of software. Often however, necessary software, such as the Adobe Acrobat reader, is not pre-installed by the PC vendor. Each Linux distribution comes in multiple flavors, the more expensive versions come with more application software.

Application software installation: The installation of applications under Windows, while not standardized, is generally consistent. Installing software under Linux varies with each distribution and is not nearly as simple, easy or obvious as Windows. Lindows lets users install software in a manner somewhat like Windows update - applications are downloaded and automatically installed. They charge for this service however. The May 20, 2004 issue of the Langa list newsletter had an interesting take on the difficulty installing software under Linux. In a July 4, 2004 review of Linux in the Washington Post (Linux, Still an Awkward Alternative), Rob Pegoraro called application software installation "Linux's biggest embarrassment" and I have no doubt that he is correct.

Viruses and Spyware:

(Updated March 2005) There are many types of malicious software programs. The most common types are referred to as Viruses and Spyware. Spyware has become a generic term, much like "Xerox machine" (which is taken to mean any copying machine, not just those made by the Xerox corporation). The term "Spyware" now refers to a whole host of malicious software such as worms, Trojans, dialers, keystroke loggers, browser hijackers and, of course, actual Spyware. The vast majority of all malicious software (of all types) runs on Windows. I don't know the actual percentages, but it wouldn't surprise me if it was 98% or so.

Spyware on Windows has become such a problem that Microsoft purchased an anti-Spyware software company and released their product as the Microsoft Anti-Spyware program in early 2005. As this is written the product is still in beta form, but Microsoft has stated that it will be free even when complete. In my opinion, Spyware is the worst problem effecting Windows based computers. In addition to running an anti-virus program constantly, Windows users also need an anti-Spyware program
constantly running in the background to protect them.

Users and Passwords :
(updated August 2005) Both Linux and Windows 2000/XP require a userid and password and boot time. That said, Windows XP allows the omission of the password (a very bad idea), I'm not sure if Linux does. All can be configured to either ask for the userid/password at startup time or defaults can be set instead. In Windows 2000 it is very easy to set a default userid/password, in Windows XP the method varies between the Home and Pro versions - in one it is straightforward, in the other it's a pain. I've been told that in Linux the KDM and GDM login managers support automatic login.

A new Windows XP machine used by a home user is likely to not ask for a userid/password at start-up. However, this depends on the number of users defined to Windows. When you create a new user in XP the default is not to require a password (user friendly triumphs over security - the Microsoft way). Windows 98, never mind.

Windows XP, 2000 and Linux all support different types or classes of users. Windows XP Home Edition supports Administrator class users that have full and total access to the system and restricted users that, among other restrictions, can't install software. Windows XP Pro and Windows 2000 support additional levels of users.

Both Linux and Windows can group users into groups (finally, something well named) and assign privileges to the group rather than to each individual user. Windows XP and 2000 come with some pre-defined user groups (such as Power Users), I don't think Linux does (but I'm not sure). In XP and 2000 user "Administrator" is a member of the Administrators group.

Linux privileges are basically whether you can read, modify or execute a file. Files in Linux are always owned by a specific user and group. Windows has similar file-related privileges but only when using the NTFS file system. The earlier FAT and FAT32 file systems had no file level security.


Bugs:

All software has and will have bugs (programming mistakes). Linux has a reputation for fewer bugs than Windows, but it certainly has its fair share. This is a difficult thing to judge and finding an impartial source on this subject is also difficult. Fred Langa wrote an interesting article on whether Linux or Windows has fewer bugs in Information Week magazine January 27, 2003. The article also addressed whether known bugs are fixed faster with Linux or Windows. In brief, he felt that bugs used to be fixed faster in Linux, but that things have slowed down. See this article too Security research suggests Linux has fewer flaws December 13, 2004 from CNET News.com.


No comments: