Misplaced Pages

Linux: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively
← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 12:14, 21 June 2005 edit212.123.204.115 (talk) Reverting. What is the reason for your revert? Is it incorrect information that has been included in the article? Or is it irrelevant information? Or is it simply that you guys just don't like it?← Previous edit Revision as of 12:16, 21 June 2005 edit undoCrackMonster McFuckDemon (talk | contribs)11 editsNo edit summaryNext edit →
Line 1: Line 1:
See
<!-- Please read the discussion page and edit history of this article and ] before before making substantial revisions to this article. This page has been worked out with considerable effort -->
:''This article is about Linux-based operating systems, GNU/Linux, and related topics. See ] for the kernel itself. See ] for the Swiss brand of detergent.''
], a ], is the official Linux ].]]


'''Linux''' is an ] for ]s. Unlike other major operating systems such as Windows, its underlying source code is open and anyone is free to modify it. It has been developed mainly by volunteers.


The term ''Linux'' strictly refers to the ], but is commonly used to describe entire ] operating systems (] '''GNU/Linux''') that are based on the Linux kernel combined with libraries and tools from the ] project. ]s often bundle large quantities of software with the core system, and over 300 distributions are available .

Initially, Linux was primarily developed and used by individual enthusiasts. Since then, Linux has gained the support of major corporations such as ], ] and ] for use in ]s and is beginning to make inroads into the ] market. Proponents and analysts attribute this success to its ], low cost, security, and reliability.
Linux was originally developed for ] ]s and now supports a variety of ]. It is deployed in applications ranging from ]s to ]s and ]s such as ]s and ]s.

], the creator of ] and one of the most qualified people in the world on the subject of Operating System kernels said (in a 1999 interview with IEEE Computer Magazine) that he has studied the Linux kernel source code and he did not think highly of it as follows:

:''Thompson: I view Linux as something that's not Microsoft—a backlash against Microsoft, no more and no less. I don't think it will be very successful in the long run. I've looked at the source and there are pieces that are good and pieces that are not. A whole bunch of random people have contributed to this source, and the quality varies drastically.''

:''My experience and some of my friends' experience is that Linux is quite unreliable. Microsoft is really unreliable but Linux is worse. In a non-PC environment, it just won't hold up. If you're using it on a single box, that's one thing. But if you want to use Linux in firewalls, gateways, embedded systems, and so on, it has a long way to go.''


==History==
], creator of the Linux kernel]]
The Linux kernel was initially written as a hobby by ] university student ] while attending the ]. Torvalds originally used ] on his computer, a simplified kernel written by ] for teaching operating system design. However, Tanenbaum did not support extensions to his operating system, leading Torvalds to write a replacement for Minix. Linux started out as a ] written in ] ] and ] which was compiled into binary form and booted from a ] so that it would run outside of any ]. The terminal emulator was running two threads: one for sending and one for receiving characters from the serial port. When Linus needed to write and read files to disk, this task-switching terminal emulator was extended with an entire filesystem handler, and after that gradually evolved into an entire operating system targeted at ]-compliance. Linus implemented enough POSIX system calls to make Linux run the ] shell and after this bootstrapping procedure the development rapidly sped up. Although a running Minix system was originally necessary in order to configure, compile, install and run Linux, the Linux system quickly surpassed Minix in functionality and was soon able to boot on its own and compile its own ].

The first version of the Linux kernel was released to the ] in September ], with the second version following shortly thereafter in October . Since then, thousands of ]s around the world have participated in the project. ]'s essay '']'' discusses the development model of the Linux kernel and similar software.

The history of the Linux kernel is closely tied to that of ], a prominent free-software project led by ]. The GNU project was started in ] for developing a complete ] operating system, including ] tools and user application programs, entirely of free software. By the release of the first version of the Linux kernel, the GNU project had produced all the necessary components of this system except the kernel. Torvalds and other early Linux-kernel developers adapted their kernel to work with the GNU components and user space programs to create a fully functional operating system. The Linux kernel and operating system are licensed under the ] (GPL) which requires that all source code modifications and derived works also be licensed under the GPL, which is generally referred to as a "share and share-alike" license. In 1997 Linus Torvalds stated, "Making Linux GPL'd was definitely the best thing I ever did."

] the ] is the ] and ] of Linux (though there are other less common representations; see ]). The name "Linux" was coined, not by Torvalds, but by ], administrator at ftp.funet.fi, who named the ] directory from which it was first available . The ''Linux'' trademark (SN: 1916230) is owned by Linus Torvalds, registered for "Computer operating system software to facilitate computer use and operation." The licensing of the trademark is now handled by the ].

''See also:'' ]

===Pronunciation===

In 1992, Torvalds explained
(IPA pronunciations added to quote in braces):

:"'li' is pronounced with a short '{] /&#618;/} sound: compare prInt, mInImal etc. 'nux' is also short, non-diphthong, like in pUt {IPA /&#650;/}. It's partly due to minix: linux was just my working name for the thing, and as I wrote it to replace minix on my system, the result is what it is... linus' minix became linux."
<!-- The above is an exact quote from the usenet post. Please don't copyedit it. -->

An audio file of Torvalds saying "Hello, this is Linus Torvalds, and I pronounce Linux as /lin&#601;ks/" also exists . Note that in English, "Linux" and "Minix" are usually pronounced with a short /I/ sound that is different from Torvalds's ] pronunciation of these words.

''See also'' ] for a discussion of the various ways "Linux" is pronounced.

===Linux and GNU/Linux===
''Main article:'' ]

Because the GNU libraries and programs, an essential part of nearly all ]s, stem from a long-standing free operating system project that dates before the Linux kernel, ] and the ] ask that the combined system (regardless of distribution) be referred to as ''GNU/Linux.'' Although some distributions do use this name &mdash; most notably ''] GNU/Linux'' &mdash; most simply refer to the system as ''Linux''. The distinction between Torvalds' kernel and entire Linux-based systems that contain the kernel is a perennial source of confusion, and the naming remains controversial.

===Litigation===
''Main article:'' ]

In March 2003, the ] (SCO) filed a ] against ] claiming that IBM had contributed portions of SCO's copyrighted code to the Linux kernel in violation of IBM's license to use UNIX. Additionally, SCO sent letters to a number of companies warning that their use of Linux without a license from SCO may be actionable, and claimed in the press that they would be suing individual Linux users. This controversy has involved lawsuits by SCO against ], ] (partially dismissed in July, 2004), and ], and by ] and others against SCO. To date, no proof of SCO's claims of copied code in Linux has been provided and SCO's claims have varied widely. The most comprehensive coverage of this suit is given by ].

==Distributions==
''Main article:'' ]

''List of distributions:'' ]

Linux is dominantly used as part of a Linux distribution ('''distro'''). These are compiled by individuals, loose-knit teams, and various professional organizations. They include any number of additional system software and ] programs, as well as certain processes to install these systems on a computer. Distributions are created for many different purposes, including localization, ] support, ] applications, and ], and many of which deliberately include only ].

A typical general-purpose distribution includes the Linux kernel, the GNU ] and tools, command-line ]s, and thousands of application software packages, from ]s and the graphical ] to ]s, ]s, and scientific tools. A variety of Linux distribution screenshots can be viewed .

==Development efforts==

The bootable image of the Linux kernel itself is written entirely in the version of the ] supported by the GNU ] compiler (which supports a "superset" of standard C), together with relatively short sections of code written in the ] of the target architecture (and at last count Linux supported about 20 different processor families). Because of the extensions to 'C' supported by the GCC compiler it was (in conjunction with its associated toolset) for long the only compiler capable of correctly building a Linux kernel. More recently Intel claims to have modified ''its'' 'C' compiler so that it also is capable of creating a Linux kernel.

Many other languages are used in some way, primarily in connection with the kernel 'build' process (the methods whereby the bootable image is created from the sources). These include ], ], and various ]ing languages. Some ] drivers may also be written in ], ], or other languages.

''More Than a Gigabuck: Estimating GNU/Linux's Size'', a study of ] 7.1, found that this particular distribution contained 30 million ] (SLOC). The Linux kernel provided contained 2.4 million lines of code or 8% of the total. Using the ] (COCOMO), the study estimated that this distribution required about eight thousand person-years of development time. Had all this software been developed by conventional ] means, it would have cost 1.08 billion dollars (year 2000 dollars) to develop in the United States. Slightly over half of the code in that distribution was licensed under the GPL.

<!-- Debian really does use the name "GNU/Linux", so leave it as GNU/Linux at this spot. -->
In a later study, ''Counting potatoes: the size of Debian 2.2'', the same analysis was performed for ] GNU/Linux version 2.2. This distribution contained over fifty-five million source lines of code, and would have cost 1.9 billion dollars (year 2000 dollars) to develop by conventional proprietary means.

==Applications==
] Desktop]]
In the past, a user needed significant knowledge of computers in order to install and configure Linux. For this reason and, being attracted by access to the internals of the system, Linux users have traditionally tended to be more technologically oriented than users of ] and ], often revelling in the tag of "]" or "]".

This stereotype has been dispelled in recent years by the increased user-friendliness and broad adoption of many Linux distributions. Linux has made considerable gains in server and special-purpose markets, such as image rendering and Web services, and is now making inroads into the high volume desktop market.
] Desktop (SUSE distribution)]]

Linux is the cornerstone of the so-called ] server-software combination (Linux, ], ], ]/]/]) that has achieved widespread popularity among Web developers, making it one of the most common platforms on the Web.

Linux is also often used in ]. Its low cost makes it particularly useful in ]es and for such devices as the ], a computer aimed especially at low-income populations in ]s. In ]s, it is an alternative to the ] software in the cell-phone market. In ]s, it is an alternative to the ] and ] operating systems. The popular ] ] also uses a customized version of Linux. A large number of network ] and ]s, including several from ], use Linux internally, taking advantage of its advanced firewalling and routing capabilities.

Linux is increasingly common as an operating system for ]s, most recently on ] ] ]s in the ].

] desktop.]]
Linux is rapidly gaining popularity as a desktop operating system. In ]s like ] and ], Linux may be used with a user interface that is similar to that of ] or ] in addition to other desktop environments and to its traditional Unix-like ]. Graphical Linux software exists for almost any area and in some areas there is a greater breadth and quantity of software available than for proprietary operating systems.

==Usability and market share==
]
Once viewed as an operating system only computer ]s could use, Linux has become a much more ] system with many graphical interfaces and applications.

Its market share for desktops is rapidly growing. According to market research company IDC, 25% of servers and 2.8% of desktop computers were already running Linux in 2002. However, argued advantages of Linux, such as lower cost, fewer security vulnerabilities, and lack of ] have spurred a growing number of high-profile cases of mass adoption of Linux by corporations and governments. The Linux market is among the fastest growing and is projected to exceed $35.7 billion by 2008 .

Linux and other free software projects have been frequently criticized for not going far enough in terms of ensuring usability, and the question of Linux's usability compared with Windows or the Macintosh remained hotly debated. For those only familiar with Windows or the Macintosh, using Linux may be perceived difficult at first because many tasks do not work identically, and substantial differences remain in more sophisticated administrative and configuration tasks. It was also easier to find local technical support for Windows or MacOS than for Linux in some places.

However, in comparison to operating systems with a homogenous ] such as Windows or Mac OS X, it is difficult to measure the usability as the ease-of-use and target group varies from distribution to distribution. For example, ], a ], remains notoriously difficult to install for beginners but remains the distro of choice for many advanced Linux users. Many advanced users find Gentoo more "usable" in comparison due to the relative freedom that the nature of the distro allows, in comparison to a more Windows-like distro such as Mandriva. Beginners, on the other hand, find that the freedom that Gentoo Linux offers renders simple tasks far too complicated, limiting the distro's usability. A more beginner-friendly distro, such as ] or ], offers a more guided approach, making it more "usable" in the eyes of beginners, but is perceived by many advanced users as being '']'', being filled with too much software rendering it slow and unstable.

<!-- please give a reference showing this is a concern in the real world, not ] for this article (and it looks like it should be in the distro article anyway): A major point in usability is that most distributions provide only the program version that they shipped with their distribution release. Binaries from newer distribution versions may work but often they won't or there's no newer distribution version. A possible solution could be ] - a packaging system that builds software very easily from source. However it still doesn't solve the binary problem and doesn´t separate parts of a software. (like foobar, foobar-devel, foobar-docs)
-->
Users might have to switch application software, and equivalents of some specific programs may not be available or there may be fewer options, as there are for ]s. However, general applications like spreadsheets, wordprocessors, and browsers are available for Linux in profusion, and, because of free distribution, a user may choose what suits him.

Most distributions of Linux have two or more means of installation of software and more office and end-user applications now come with an automated installation program. Because of reluctance to change and the fact that many computers come with Windows pre-installed, there has been initially a slow adoption of new desktop operating systems. Linux is past that stage now, with numerous manufacturers installing Linux and many organizations having five or more years experience with Linux - since installation evolved to graphical user interfaces - or Unix which has been around for decades. Linux is rapidly gaining popularity as a desktop operating system as it is increasingly used in schools and workplaces and more people become familiar with it.

Support for certain new and obscure hardware remains an issue. Though reputable vendors provide ]s, some available device drivers must be developed by volunteers after the release of the product. Often this development requires ] of some sort, as certain manufacturers still remain secretive and refuse to provide hardware or ] specifications for their products. Deliberately non-portable hardware drivers like ]s and ] have been a general problem.

There have been conflicting studies of Linux's usability and cost in the past. Microsoft-sponsored studies by ] have argued that Linux had a higher ] (TCO) than Windows. However, ], the renowned ]-based organization specializing in consulting companies on the usability of software and Web services, concluded that the usability of Linux for a set of desktop-related tasks is "equal to ]." Since then there have been numerous independent studies that show that a modern Linux desktop using Gnome or KDE is on par with or superior to Microsoft Windows.

Linux distributions have been criticized for unpredictable development schedules, thus making enterprise users less comfortable with Linux than they might be with other systems (Marcinkowski, 2003). However, some observers claim that the intervals between Linux distribution releases are no worse, and often better, than the ] "schedule slipping" that occurs with other operating systems and with software systems in general.
<!-- Is there a wikipedia page that discusses this general Software Engineering phenomena ? -->
The large number of choices of Linux distributions can also confuse users and software vendors.

The paper identifies many quantitative studies of open source software, including market share and reliability, with many studies specifically examining Linux.

Also see ]

===Installation===

In the past, difficulty of installation was a barrier to wide adoption of Linux-based systems, but the process has been made easy in recent years. Many distributions are at least as easy to install as a comparable version of ]. Many distributions contain much more software than Windows, so per package they are also much easier to install. One does not need to file license numbers and enter these to have the installer work. Also, ]s that come with ]s already installed are readily available from numerous vendors, including large mainstream vendors like ] and ].

The most common method of installing Linux, supported by all major distributions, is by booting from a ] that contains the installation program and installable software. Such a CD can be burned from a downloaded ], purchased alone for a low price, or can be obtained as part of a box set that may also include manuals and additional commercial software.

Some distributions, such as ], can be installed from a small set of ]s. After a basic system is installed, more software can be added by downloading it from the Internet or using CDs.

Other distributions, most famously ], can be run directly from a '']'' running entirely in ramspace, rather than installing it to the ]. With this, one boots from the CD and can use Linux without making any modification to the contents of the hard drive. Similarly, some minimal distributions, such as ], can be run directly from a set of floppy disks without needing to change the hard drive contents.

Still another mode of installation of Linux is to install on a powerful computer to use as a server and to use ordinary less powerful machines (perhaps without hard drives, and having less memory and slower CPUs) as clients over the network. Clients can boot over the network from the server and display results and pass information to the server where all the applications run. A Linux Terminal Server is a single machine to which many clients can connect this way, so one obtains the benefit of installing Linux on many machines for the cost of installing on one. The clients can be ordinary PCs with the addition of the network bootloader on a drive or network interface controller. Variations on this mode include using local drives and computing power to run applications. The cost savings achieved by using thin clients can be invested in greater computing power or storage on the server to great advantage.

Many distributions also support booting over a network, so an installation on a properly configured machine can be done over a network.

====Installation on an existing platform====

Many distribution companies now are sparing no effort to provide users with advanced, easy and specific installations. Some beginners (especially those used to Microsoft Windows and Mac OS) may still feel that making the shift can be hard but many solutions have been created to solve this problem.

Some let the user install Linux on top of their current system. Consider ], for example. After downloading the installer (more than 100MB), the user can install Linux just like any other Windows application. The software provides all the needed features; it is a real Linux distribution. The difference is that it is not necessary for the user to leave Windows, since the Linux OS is installed to the Windows hard-disk partition. A Linux boot loader will boot the Linux system when the PC is restarted and the user chooses to boot Linux.

Technology of ]s (such as ] or ]) also enables Linux (or any other OS) to be run inside Windows. The virtual machine software will simulate an isolated environment onto which the Linux system is installed. After everything is done, the virtual machine can be booted just as if it were an independent computer.

===Demonstration===

The difficulty in demonstrating Linux is still a major obstacle, slowing its adoption as a personal computing platform. ] or LUGS, still provide the primary face-to-face forum for demonstration of Linux. Commercial exhibitions provide Linux demonstrations to potential new users, especially corporate buyers. Many commercial distributions are hard to install, but with work, allow someone to re-use an old machine to see what the Linux desktop is like. The approach by ], which runs Linux off of a CD without disturbing the PC's hard drive, is probably the most successful demonstration tool to date. also runs off a CD like ] but it can also be installed onto a PC like any other Linux distribution. The fastest approach is probably that of ], which uses ] to provide a free Linux desktop demo online (available ).

===Configuration===

Configuration of most system wide settings are stored in a single directory called <code>/etc</code>, while user-specific settings are stored in hidden files in the user's home directory. A few programs use a configuration database instead of files.

There are a number of ways to change these settings. The easiest way to do this is by using tools provided by distributions such as ]'s ] or ]'s Control Center. Others, like ], ], and ], are not distribution-specific. There are also many ] utilities for configuring programs. Since nearly all settings are stored in ordinary ] they can be configured by any ].

===Windows emulation===

Several programs run Windows applications on Linux, with varying levels of success. ], ] and WINE-based programs like ] and ] ] (formerly ]) use an application ] that runs some Windows binaries on Linux at approximately the same speed and in some cases faster, without requiring an actual Windows license.
] is a proprietary hardware virtualisation program that runs other operating systems in a virtual machine with near-perfect functionality, but considerable<!--I've used it; don't try to tell me it's trivial--> speed and performance penalty. Full CPU ]s (such as ] or the slower counterpart ]) can be used, though to run a Windows program these emulators will also require a copy of Windows.

===Support===

Technical support is provided by commercial suppliers and by other Linux users, usually in online forums, newsgroups and mailing lists. ]s (LUGs) all over the world assist many users, mostly locally, and often also hold "installfests" where users can install Linux with a nearby helping hand.

The business model of commercial suppliers is generally dependent on charging for support, especially for business users. Third-party commercial support is also readily available.

==Resources==
===References===

* Glyn Moody: ''Rebel Code: Linux and the Open Source Revolution'', Perseus Publishing, ISBN 0-713-99520-3
* Gedda. R. (2004). Linux breaks desktop barrier in 2004: Torvalds. Retrieved January 16, 2004 from
* Mackenzie, K. (2004). Linux Torvalds Q&A. Retrieved January 19, 2004 from
* by ]
* by Jesús M. González-Barahona et al.
* by David A. Wheeler

===See also===
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]

===Magazines===
====In English====
* ]
* ]: http://www.linux-magazine.com
* ]: http://www.linux-mag.com/
* ]
* ]: http://www.linuxuser.co.uk/
* ] : http://www.linuxforu.com/
* ] : http://www.tuxmagazine.com/

====In German====
* ]

===External links===
{{Commons|Linux}}
{{wikiquote}}
{{wikibooks}}
====GNU/Linux links====
*
*
**
* Weekly newsletter devoted to Linux.
* http://www.gnu.org ]
====] links====
* The Official Website of Linux Kernel. The source code of the Linux kernel can be downloaded from here.
====] links====
* Zen Linux, a 100% compatible Debian ] that sports easy remastering and unique features
* Download Linux Distros
* This test will provide a recommendation in choosing a distribution.
* Linux Distribution BitTorrent Mirrors.

====Other links====
{{cleanup}}
* Linux news, articles, Linux download, Linux Forum. The door site of Linux in China.
* In-depth Linux guides and training
*
* Linux News and software reviews
* A lot of nice Linux screenshots
* Popular Linux desktop environment
* Another popular Linux desktop environment
* from ''Economist.com''
*
* Review of Linux in year 2004
*
* An online supporting community for women using Linux and computing
* (One of many) Linux support forums
* (One of one) Linux support ''wiki''
* BitTorrent downloads for various Linux distributions.
* Hourly Linux newswire.
* Try Linux, free remote shell accounts


]
]
]
]
]

]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]

Revision as of 12:16, 21 June 2005

See