Linux (operating system): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Anees Ahmed
No edit summary
imported>Anees Ahmed
No edit summary
Line 9: Line 9:
{{main|History of the Linux kernel}}
{{main|History of the Linux kernel}}
[[Image:Richard Matthew Stallman.jpeg|thumb|left|[[Richard Stallman]], founder of the [[GNU project]] for a free operating system.]]
[[Image:Richard Matthew Stallman.jpeg|thumb|left|[[Richard Stallman]], founder of the [[GNU project]] for a free operating system.]]
The history of Linux is closely tied to that of [[GNU]]. Plans for GNU were made in 1983 and in September of that year they were announced publicly when [[Richard Stallman]] founded the GNU Project.  GNU was to be a complete [[Unix-like]] operating system composed entirely of [[free software]].  Software development work began in January 1984.  By the beginning of the 1990s, the project had produced or collected most of the necessary components of this system, including libraries, [[compiler]]s, [[text editor]]s, and a [[Unix shell]]. Thus the GNU mid-level portions of the operating system were almost complete. The upper level could be supplied by the [[X Window System]], but the lower level, which consisted of a [[kernel (computer science)|kernel]], device drivers, system-level utilities and daemons, was still mostly lacking. In 1990, the GNU project began developing the [[GNU Hurd]] kernel, based on the [[Mach microkernel]], but development proved unexpectedly difficult and proceeded slowly, and to date has only been marginally usable.<ref>http://www.gnu.org/gnu/gnu-history.html</ref>
[[Image:Linus Torvalds.jpeg|thumb|right|[[Linus Torvalds]], creator of the [[Linux kernel]].]]
In 1991, work on the [[Linux kernel]] began by [[Linus Torvalds]] while attending the [[University of Helsinki]].<ref>{{ cite newsgroup | title = What would you like to see most in minix? | newsgroup = comp.os.minix | id = 1991Aug25.205708.9541@klaava.Helsinki.FI | url = http://groups.google.com/group/comp.os.minix/msg/b813d52cbc5a044b | last = Torvalds | first = Linus | accessdate = 2006-09-09 }}</ref> Torvalds originally created the Linux kernel as a replacement for the non-free [[Minix]] kernel. Although dependent on the Minix [[userspace]] at first, work from both Linux kernel developers and the GNU project allowed Linux to work with GNU components. Thus Linux filled the last major gap in running a complete, fully functional operating system built from free software.
Today, Torvalds continues to direct the development of the kernel. Stallman heads the Free Software Foundation, which in turn develops the GNU components.  Finally, third-party non-GNU components are developed by individuals and corporations.  These third-party components comprise a vast body of work and may include both kernel modules and userland applications and libraries.  Linux vendors combine and distribute the kernel, GNU components, and non-GNU components with additional package management software in the form of [[Linux distribution]]s.
=== Etymology ===
{{main|GNU/Linux naming controversy}}
The name Linux derives from the use of the [[Linux kernel]]. As most if not all Linux distributions use GNU software, the [[Free Software Foundation]] views these Linux distributions as "variants" of the GNU system, and asks that such operating systems be referred to as ''GNU/Linux'' or ''a Linux-based GNU system''.<ref>http://www.gnu.org/gnu/linux-and-gnu.html</ref>  However, the media and population at large refers to this family of operating systems as Linux. While some distributors make a point of using the aggregate form, most notably [[Debian]] with the ''[[Debian GNU/Linux]]'' distribution, its use outside of the enthusiast community is limited, and Linus Torvalds has said that he finds calling the operating system in general ''GNU/Linux'' "just ridiculous".<ref>{{ cite video | people = Moore, J.T.S. (Produced, Written, and Directed) | title = [[Revolution OS]] | medium = DVD | date = 2001 }}</ref>  The distinction between the Linux kernel and distributions based on it plus the GNU system is a source of confusion to many newcomers, and the naming remains controversial.
=== Pronunciation ===
In 1992, Torvalds explained how he pronounces the word ''Linux'':
{{Cquotetxt|'li' is pronounced with a short [ee] sound: compare prInt, mInImal etc.  'nux' is also short, non-diphtong, like in pUt.  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.|Linus Torvalds|comp.os.linux newsgroup<ref>{{ cite newsgroup | newsgroups = comp.os.linux | title = Re: How to pronounce "Linux"? | id = 1992Apr23.123216.22024@klaava.Helsinki.FI | date = [[23 April]] [[1992]] | accessdate = 2007-01-09 }}</ref>}}
<!-- The above is an exact quote from the Usenet post. Do not copyedit it. -->
Torvalds has made available an audio sample which indicates his own pronunciation, in English and Swedish.<ref>{{ cite web | url = http://www.paul.sladen.org/pronunciation/ | title = Howto pronouce Linux? | accessdate = 2006-12-17 }}</ref><ref>{{cite web|url=http://www.kernel.org/pub/linux/kernel/SillySounds/|title=Linus pronouncing Linux in English and Swedish|accessdate=2007-01-20}}</ref> Nevertheless, English speakers tend to pronounce the name as {{IPA|[ˈlɪnʊks]}} or {{IPA|[ˈlɪnəks]}}.
== Distribution ==
{{main|Linux (kernel)#Portability|Linux distribution}}
The Linux kernel was originally designed only for [[Intel 80386]] [[microprocessor]]s, but now supports a wide variety of [[computer architecture]]s. Linux is one of the most widely [[porting|ported]] operating systems, running on a diverse range of systems from the hand-held [[ARM architecture|ARM]]-based [[iPAQ]] to the [[mainframe computer|mainframe]] [[IBM]] [[System z9]]. Specialized distributions exist for less mainstream architectures. The [[ELKS]] kernel [[fork (software development)|fork]] can run on [[Intel 8086]] or [[Intel 80286]] [[16-bit]] microprocessors, while the [[µClinux]] kernel may run on systems without a [[memory management unit]]. The kernel also runs on architectures that were not intended to use other than their original operating systems: this is the case of computers made by [[Apple Computer]] such as the [[iMac]] and [[PowerBook]], [[Palm]] PDAs, [[Nintendo GameCube]] and [[Xbox]].
Linux is predominantly used as part of a Linux distribution (commonly called a "distro"). These are put together by individuals, loose-knit teams, commercial and volunteer organizations. They commonly include additional system and [[application software|application]] software, an installer system to ease initial system setup, and integrated management of software installation and upgrading. Distributions are created for many different purposes, including [[computer architecture]] support, localization to a specific region or language, [[real-time]] applications, and [[Embedded Linux|embedded systems]], and many deliberately include only [[free software]]. Currently, over three hundred distributions are actively developed, with about a dozen distributions being most popular for general-purpose use.<ref>{{ cite web | url = http://lwn.net/Distributions/ | title = The LWN.net Linux Distribution List | accessdate = 2006-05-19 }}</ref>
A typical general-purpose distribution includes the [[Linux kernel]], some GNU [[library (software)|libraries]] and tools, command-line [[Unix shell|shell]]s, the graphical [[X Window System]] and an accompanying [[desktop environment]] such as [[KDE]] or [[GNOME]], together with thousands of application software packages, from [[office suite]]s to [[compiler]]s, [[text editor]]s, and scientific tools.
The most common method of installing Linux on a personal computer is by booting from a [[CD-ROM]] that contains the installation program and installable software. Such a CD can be burned from a downloaded [[ISO image]], purchased alone for a low price, obtained as part of a box set, or in a few cases shipped for free by request. A box set may also include manuals and additional proprietary software. [[Mini CD]] images allow Linux to be installed from a disk with a [[small form factor]].  As with [[Server (computing)|servers]], [[personal computer]]s that come with Linux already installed are available from vendors including [[Hewlett-Packard]] and [[Dell]], although generally only for their business desktop line.  Alternatives to traditional desktop installation include [[thin client]] installation and running directly from a [[Live CD]].  In a [[thin client]] installation, the operating system is loaded and run from a centralised machine over a network connection.  In a Live CD setup, the computer boots the entire operating system from CD without first installing it on the computer's hard disk.  On embedded devices, Linux is typically held in the device's [[firmware]] and may or may not be consumer-accessible.
== Usage ==
Linux is used on a wide variety of machines for a wide variety of purposes.
=== Desktop ===
[[Image:Gnome-2.16-screenshot.png|thumb|right|300px|GNOME 2.16 running under [[Ubuntu Linux]] 6.10 showing the [[Nautilus (file manager)|Nautilus]] file manager and the [[gedit]] text editor]]
Desktop Linux distributions typically feature a user interface comparable with that of Microsoft Windows and Mac OS X, though migrating users usually have to switch to alternative application software, and there may be a lack of commercial quality software in certain application domains, such as [[computer game|computer gaming]], [[desktop publishing]], and [[professional audio]].  However, there exist high-quality replacements for general-purpose desktop software, which includes applications such as [[spreadsheet]]s, [[word processor]]s, [[email client]]s, and [[web browser]]s.  Additionally, a growing number of proprietary software vendors are supporting Linux.<ref>{{cite web | url = http://www.iist.unu.edu/globaldesktop/ | title = The Global Desktop Project, Building Technology and Communities|accessdate = 2006-05-07 }}</ref>
The high level of access granted to Linux's internals has led to Linux users traditionally tending to be more technically-inclined than users of [[Microsoft Windows]] and [[Mac OS]].
Linux's roots in the Unix operating system mean that in addition to graphical configuration tools and control panels available for many system settings and services, it is often either easier or necessary to use plain-text configuration files to configure the OS.  While user access to these files and utilities is controlled by the system administrator, and in theory the user does not need to worry about them, in practice the administrator and user are often the same person on a desktop system.
==== Comparison of Windows and Linux ====
{{main|Comparison of Windows and Linux}}
Due to the prevalence of Windows from the mid-1990s onwards, a comparison between Windows and Linux became a common topic of conversation in the computer industry.  Linux and other free software projects have been frequently criticized for not going far enough to ensure ease of use.<ref>{{cite news| url = http://www.pcworld.com/article/id,111871-page,1/article.html | title = PC World - Linux Earns User-Friendly Rating | first = John | last = Blau | publisher = PC World | date = [[2003-08-04]] | accessdate = 2005-12-17]}}</ref>  However, the Berlin-based [[user experience]] organization [[Relevantive]] concluded in 2003 that the usability of Linux for a set of desktop-related tasks was "nearly equal to [[Windows XP]]."<ref>{{cite web | url = http://www.relevantive.de/Linux-Usabilitystudy_e.html | title = Relevantive Linux usability study | accessdate = 2006-04-03 }}</ref> Since then, there have been numerous independent studies and articles which indicate that a modern Linux desktop using either [[GNOME]] or [[KDE]] is on par with Microsoft Windows, even in a business setting.<ref>{{ cite web | first = Emmett | last = Dulaney | date = June 2005 | url = http://redmondmag.com/features/article.asp?editorialsid=485 | title = Desktop Linux: Ready for Prime Time? | accessdate=2006-06-19 }}</ref> 
Although lack of application support is often cited as a reason to use Windows over Linux, compatibility layers such as [[Wine (software)|Wine]] or [[NdisWrapper]] allow some Microsoft Windows applications and drivers to be used on Linux without requiring the vendor to adapt them.  This allows users to more easily migrate from Windows to Linux since they can still run many of their Windows applications with little additional effort.  In a similar fashion, [[Cygwin]] and [[Microsoft Windows Services for UNIX]] make it possible for users of Windows to run some GNU and other software normally only available on Linux and other Unix-like systems.
=== Programming ===
Most Linux distributions support a wide array of [[programming language]]s. Core system software such as libraries and basic utilities are usually written in C. Enterprise software is often written in C++, Java, Perl, or Python.  The most common collection of utilities for building both Linux applications and operating system programs is found within the [[GNU toolchain]], which includes the [[GNU Compiler Collection]] (GCC). Amongst others, GCC provides compilers for [[C programming language|C]], [[C++]], [[Java programming language|Java]], and [[Fortran]]. The Linux kernel itself is written to be compiled with GCC.
Most distributions also include support for [[Perl]], [[Python programming language|Python]] and other dynamic languages. Less common, but still well-supported, are [[C Sharp|C#]] via the [[Mono (software)|Mono]] project, [[Scheme programming language|Scheme]], and [[Ruby programming language|Ruby]].  The two main [[widget toolkit]]s used for contemporary [[GUI]] programming are [[Qt (toolkit)|Qt]] and the Gimp Toolkit, known as [[GTK+]]. Both support a wide variety of languages.  There are a number of [[Integrated development environment]]s available including [[MonoDevelop]], [[KDevelop]], [[Anjuta]], [[NetBeans]], and [[Eclipse (computing)|Eclipse]] while the traditional editors [[Emacs]] and [[Vim (text editor)|Vim]] remain popular.<ref>{{ cite web | first = Joe | last = Brockmeier | title = A survey of Linux Web development tools | url =  http://programming.linux.com/programming/05/10/03/1828224.shtml?tid=63&tid=47 | accessdate = 2006-12-16 }}</ref>
As well as these free and open source options, there are proprietary compilers and tools available from a range of companies such as the [[Intel C Compiler]], PathScale,<ref>http://www.pathscale.com/ekopath.html</ref> Micro Focus COBOL,<ref>http://www.microfocus.com</ref> [[Franz Inc]],<ref>http://www.franz.com/</ref> and the Portland Group.<ref>http://www.pgroup.com/</ref>
=== Enterprise usage ===
Linux is also used in some corporate environments as the desktop platform for its employees, with commercially available solutions including [[Red Hat Enterprise Linux]], [[SUSE Linux Enterprise Desktop]], and [[Linspire]].  Several government organizations have started the switch to using Linux.
=== Server usage ===
Historically, Linux has mainly been used as a [[Server (computing)|server]] operating system.  This is due to its relative stability and long uptimes, and the fact that desktop software with a graphical user interface is often unneeded.  Enterprise and non-enterprise Linux distributions may be found running on servers.  Linux is the cornerstone of the [[LAMP (software bundle)|LAMP]] server-software combination (Linux, [[Apache HTTP Server|Apache]], [[MySQL]], [[Perl]]/[[PHP]]/[[Python (programming language)|Python]]) which has achieved popularity among developers, and which is one of the more common platforms for website hosting. 
=== Embedded systems ===
Due to its low cost and its high configurability, an [[embedded Linux]] is often used in [[embedded systems]] such as television [[set-top box]]es, [[mobile phone]]s, and [[handheld device]]s. Linux has become a major competitor to the proprietary [[Symbian OS]] found in many mobile phones, and it is an alternative to the dominant [[Windows CE]] and [[Palm OS]] operating systems on [[handheld device]]s. The popular [[TiVo]] digital video recorder uses a customized version of Linux.<ref>{{ cite web | url = http://www.tivo.com/linux/linux.asp | title = TiVo - GNU/Linux Source Code | accessdate = 2006-12-12 }}</ref> Several network [[firewall]] and [[router]] standalone products, including several from [[Linksys]], use Linux internally, using its advanced firewalling and routing capabilities.
=== Supercomputing ===
Linux is commonly used as an operating system for [[supercomputer]]s.  As of [[January 5]] [[2007]], out of the top 500 systems, 376 (75.2%) run Linux.<ref>http://www.top500.org/stats/28/osfam/</ref>
=== Gaming ===
Although gaming under Linux is traditionally considered inferior to gaming under [[Windows]] or [[Mac OS X]], due to the reluctance of game development companies to support an operating system with relatively small desktop market share, there are still a large number of games available.  Prominent examples of open source games include [[Nethack]], [[The Ur-Quan Masters]], and [[Battle for Wesnoth]].  There are also emulators for playing binary game ROMs, which include [[ZSNES]] and [[Frotz]].  Some Windows games may be played using [[Wine (software)|Wine]] or [[Cedega]], and old MS-DOS games can be played with [[DOSBox]].  Finally, there are games such as [[Quake]] which have an open source engine that runs under Linux, and can be used to play the full game provided non-Free data files are present.
Library support for Linux gaming is provided by [[SDL|Simple DirectMedia Layer]], a wrapper around [[OpenGL]], audio libraries, and input devices.  [[NVidia]] and [[ATI Technologies|ATI]] have provided kernel modules that allow for most features of their graphics cards to be used under Linux.  Linux also runs on several game consoles, including the [[X-Box]], [[Playstation]], and [[Gamecube]].  This has allowed game developers without an expensive proprietary game development kit to target console hardware.
==== See also ====
* [[List of Linux games]]
* [[List of commercial Linux games]]
* [[List of professionally-developed Linux games]]
=== Education ===
In technical disciplines at universities and research centres worldwide, Linux is often the platform of choice.  This is due to several factors, including that Linux is available free of charge and includes a large body of free/open source software.  To some extent, technical competence of computer science and software engineering academics is also a contributor, as is stability, maintainability, and upgradability.  IBM ran an advertising campaign entitled "Linux is Education" featuring a young boy who was supposed to be "Linux".  The [[One Laptop Per Child]] project, a campaign to distribute laptop computers to millions of children in the developing world, also uses a Linux operating system.
== Commercial considerations and legal issues ==
As with any complex software project, there are many issues surrounding Linux from both commercial and legal standpoints.
=== Support ===
Technical support is provided by commercial suppliers and by other Linux users, usually in [[online forums]], [[IRC]], [[newsgroups]], and [[mailing lists]]. [[Linux User Group]]s have traditionally been organized to provide support for Linux in specific cities and regions.  The business model of commercial suppliers is generally dependent on charging for support, especially for business users. A number of companies offer a specialized business version of their distribution, which adds proprietary support packages and tools to administer higher numbers of installations or to simplify administrative tasks.
=== Development cost and source code composition ===
[[Image:Unix.svg|thumb|left|220px|A graphical history of [[Unix]] systems. Linux is a Unix-type system but its source code does not descend from the original Unix.]]
A 2001 study of [[Red Hat Linux]] 7.1 found that this distribution contained 30 million [[source lines of code]]. Using the [[COCOMO|Constructive Cost Model]], the study estimated that this distribution required about eight thousand man-years of development time. According to the study, if all this software had been developed by conventional [[proprietary software|proprietary]] means, it would have cost about 1.08 billion dollars (year 2000 U.S. dollars) to develop in the United States.<ref name = "estimating_size">{{ cite web | first = David A | last = Wheeler | date = 2002-07-29 | url = http://www.dwheeler.com/sloc/redhat71-v1/redhat71sloc.html | title = More Than a Gigabuck: Estimating GNU/Linux's Size | accessdate = 2006-05-11 }}</ref>
The majority of the code (71%) was written in the [[C programming language]], but many other languages were used, including [[C Plus Plus|C++]], [[Lisp programming language|Lisp]], [[assembly language]], [[Perl]], [[Fortran]],  [[Python (programming language)|Python]] and various [[shell script]]ing languages. Slightly over half of all lines of code were licensed under the GPL. The Linux kernel itself was 2.4 million lines of code, or 8% of the total. <ref name = "estimating_size"/>
In a later study, the same analysis was performed for Debian GNU/Linux version 2.2.<ref>{{ cite web | first = Jesús M | last = González-Barahona | coauthors = et al | date = [[3 January]] [[2002]] | url = http://people.debian.org/~jgb/debian-counting/counting-potatoes/ | title = Counting potatoes: The size of Debian 2.2 | accessdate = 2006-05-11 }}</ref> This distribution contained over fifty-five million source lines of code, and the study estimated that it would have cost 1.9 billion dollars (year 2000 U.S. dollars) to develop by conventional means.
=== Market share and uptake ===
{{See|Linux adoption}}
Many quantitative studies of open source software focus on topics including market share and reliability, with many studies specifically examining Linux.<ref>{{ cite web | first = David A | last = Wheeler | url = http://www.dwheeler.com/oss_fs_why.html | title = Why Open Source Software / Free Software (OSS/FS)? Look at the Numbers! | accessdate = 2006-04-01 }}</ref>
The Linux market is rapidly growing and the revenue of servers, desktops, and packaged software running Linux is expected to exceed $35.7 billion by 2008.<ref>{{ cite web | url = http://www.techweb.com/wire/showArticle.jhtml?articleID=55800522 | title = Linux To Ring Up $35 Billion By 2008 | accessdate = 2006-04-01 }}</ref> The actual installed user base may be higher than indicated by this figure, as most Linux distributions and applications are freely available and redistributable.
According to the market research company [[International Data Corporation|IDC]], 25% of servers and 2.8% of desktop computers ran Linux as of 2004.<ref>{{cite web | url = http://www.telegraph.co.uk/connected/main.jhtml?xml=/connected/2004/02/04/ecnconc04.xml | title = Microsoft eyes up a new kid on the block | publisher = The Daily Telegraph | first = Dominic | last = White | date = 2004-04-02 | accessdate = 2006-09-09 }}</ref> Proponents and analysts attribute the success of Linux to its security, reliability,<ref>{{ cite web | url = http://www-306.ibm.com/software/info/features/feb152005/ | title = Why customers are flocking to Linux }}</ref> low cost, and freedom from [[vendor lock-in]].<ref>{{cite web | url = http://www.ca.com/za/news/2005/20051010_linux.htm|title = The rise and rise of Linux }}</ref> The frictional cost of switching and lack of support for certain hardware and application programs designed for [[Microsoft Windows]], especially [[computer game|games]] or uncommon business software,<!--Canonical examples?--> have been two factors that have initially inhibited fast adoption. Lack of adoption due to hardware compatibility is no longer a true inhibition to adoption, however. As of early 2007, it is very uncommon for hardware to not work "out of the box" with most Linux distributions.
=== SCO litigation ===
{{main|SCO-Linux controversies}}
In March 2003, the [[SCO Group]] filed a [[SCO v. IBM|lawsuit]] against IBM, 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 [[DaimlerChrysler]] (dismissed in 2004), and [[AutoZone]], and by [[Red Hat]] and others against SCO. Furthermore, it is currently [[SCO v. Novell|disputed by Novell]] whether the SCO even owns the relevant Unix copyrights.
SCO's claims have been numerous and varied widely over time.  As per the [[Utah]] [[District Court]] ruling on July 3, 2006; 182 out of 294 items of evidence provided by SCO against [[IBM]] in discovery have been dismissed.<ref>{{ cite web | url = http://www.idm.net.au/story.asp?id=7297 | title = SCO Losing Linux Battle With IBM }}</ref>
=== Licensing ===
The Linux kernel and most GNU software are licensed under the [[GNU General Public License]] version 2. The GPL requires that all distributed source code modifications and derived works also be licensed under the GPL, and is sometimes referred to as a "share and share-alike" or "[[copyleft]]" license. In 1997, Linus Torvalds stated, "Making Linux GPL'd was definitely the best thing I ever did."<ref>{{ cite web | url = http://kde.sw.com.sg/food/linus.html | title = Linus Torvalds interview | accessdate = 2006-05-08 }}</ref> Other software may use other licenses; many libraries use the [[GNU Lesser General Public License]] (LGPL), a more permissive variant of the GPL, and the [[X Window System]] uses the [[MIT License]].  After more than ten years, the Free Software Foundation announced that they would be upgrading the GPL to version 3, citing increasing concerns with Intellectual Property laws, especially Software Patents.  Linus Torvalds has publicly stated he would not move the Linux kernel to GPL v.3. Torvalds opposes in particular certain [[Digital Rights Management]] exclusions in the GPL v3.
=== The Linux trademark ===
In the United States, the name ''Linux'' is a [[trademark]] registered to Linus Torvalds.<ref>{{ cite web | url = http://assignments.uspto.gov/assignments/q?db=tm&rno=1916230 | title = U.S. Reg No: 1916230 | publisher = United States Patent and Trademark Office | accessdate = 2006-04-01 }}</ref> Initially, nobody registered it, but on [[August 15]] [[1994]], [[William R. Della Croce, Jr.]] filed for the trademark ''Linux'', and then demanded royalties from Linux distributors. In 1996, Torvalds and some affected organizations sued to have the trademark assigned to Torvalds, and in 1997 the case was settled.<ref>{{cite web | url = http://www.linuxjournal.com/article/9065 | title = Linux Timeline | publisher = Linux Journal | date = [[31 May]] [[2006]] }}</ref> The licensing of the trademark has since been handled by the [[Linux Mark Institute]]. Torvalds has stated that he only trademarked the name to prevent someone else from using it, but was bound in 2005 by [[United States trademark law]] to take active measures to enforce the trademark. As a result, the LMI sent out a number of letters to distribution vendors requesting that a fee be paid for the use of the name, and a number of companies have complied.<ref>{{ cite web | url = http://www.infoworld.com/article/05/09/05/36OPopenent_1.html | title = Linus gets tough on Linux trademark | accessdate = 2006-09-04 | date = 2005-09-05 }}</ref>
== See also ==
{{portalpar|Free software|Floss draft.png}}
* [[List of Linux distributions]]
* [[Comparison of Linux distributions]]
* [[The Cathedral and the Bazaar]]
* [[Total cost of ownership]]
* [[DistroWatch]]
* [[:Category: Linux software|Linux software]]
== References ==
<div class="references-small">
* {{cite book|first=Linus, and David Diamond|last=Torvalds|title=[[Just for Fun|Just for Fun: The Story of an Accidental Revolutionary]]|publisher=Harper-Collins Business|ISBN=}}
* {{cite book|first=Glyn|last=Moody|title=Rebel Code: Linux and the Open Source Revolution|publisher=Perseus Publishing|id=ISBN 0-7139-9520-3}}
* {{cite web|first=R|last=Gedda|date=2004|url=http://www.linuxworld.com.au/index.php?id=568003838&fp=16&fpid=0|title=Linux breaks desktop barrier in 2004: Torvalds|accessdate=2004-01-16}}
* {{cite web|first=K|last=Mackenzie|url=http://australianit.news.com.au/articles/0,7204,8407881%5E15841%5E%5Enbv%5E,00.html|title=Linux Torvalds Q&A|date=2004|accessdate=2004-01-19}}
* {{cite web|first=Thomas C|last=Greene|url=http://www.theregister.co.uk/2001/12/18/mandrake_8_1_easier_than/|title=Mandrake 8.1 easier than Win-XP|publisher=The Register|accessdate=2005-12-22}}
</div>
{{reflist|2}}
== External links ==
{{Sisterlinks|Linux}}
* [http://www.linux.org/ Linux.org] — contains comprehensive information and resources about Linux.
* [http://www.kernel.org/ Kernel.org] — Linux kernel web site
* [http://www.tldp.org/ The Linux Documentation Project] — [[HOWTO]]s, [[FAQ]]s and other guides.
* [http://www.gnu.org/ GNU.org] — The GNU Project web site
* [http://www.fsf.org/ FSF.org] — The Free Software Foundation web site
* [http://www.linuxlinks.com/ LinuxLinks.com] - The Linux Portal site
*[http://www.computerworld.com/action/article.do?command=viewArticleBasic&taxonomyName=linux&articleId=9008738&taxonomyId=122&intsrc=kc_top    Two major Linux groups to merge] Jan, 2007
*[http://www.ibtimes.com/articles/20070122/linux-foudation-merger-windows-microsoft.htm Linux Community Unites to Fight Microsoft] Jan, 2007
{{unix-like}}
{{linux-distro}}
[[Category:Computing platforms]]
[[Category:Linux|*]]
[[Category:Free software]]

Revision as of 04:39, 24 January 2007

Linux is a Unix-like computer operating system family that uses the Linux kernel. A Linux system which includes system utilities and libraries from the GNU Project is sometimes referred to as GNU/Linux.

Initially developed and used primarily by individual enthusiasts on personal computers, Linux has since gained the support of corporations such as IBM, Sun Microsystems, Hewlett-Packard, and Novell, Inc., and has risen to prominence as an operating system for servers; Netcraft reported in September 2006 that eight of the ten most reliable internet hosting companies run Linux on their web servers.

Linux has been more widely ported to different computing platforms than any other operating system.It is used in devices ranging from supercomputers to mobile phones, and has a foothold in the personal computer and business desktop markets.


History

For more information, see: History of the Linux kernel.
File:Richard Matthew Stallman.jpeg
Richard Stallman, founder of the GNU project for a free operating system.

The history of Linux is closely tied to that of GNU. Plans for GNU were made in 1983 and in September of that year they were announced publicly when Richard Stallman founded the GNU Project. GNU was to be a complete Unix-like operating system composed entirely of free software. Software development work began in January 1984. By the beginning of the 1990s, the project had produced or collected most of the necessary components of this system, including libraries, compilers, text editors, and a Unix shell. Thus the GNU mid-level portions of the operating system were almost complete. The upper level could be supplied by the X Window System, but the lower level, which consisted of a kernel, device drivers, system-level utilities and daemons, was still mostly lacking. In 1990, the GNU project began developing the GNU Hurd kernel, based on the Mach microkernel, but development proved unexpectedly difficult and proceeded slowly, and to date has only been marginally usable.[1]

Linus Torvalds, creator of the Linux kernel.

In 1991, work on the Linux kernel began by Linus Torvalds while attending the University of Helsinki.[2] Torvalds originally created the Linux kernel as a replacement for the non-free Minix kernel. Although dependent on the Minix userspace at first, work from both Linux kernel developers and the GNU project allowed Linux to work with GNU components. Thus Linux filled the last major gap in running a complete, fully functional operating system built from free software.

Today, Torvalds continues to direct the development of the kernel. Stallman heads the Free Software Foundation, which in turn develops the GNU components. Finally, third-party non-GNU components are developed by individuals and corporations. These third-party components comprise a vast body of work and may include both kernel modules and userland applications and libraries. Linux vendors combine and distribute the kernel, GNU components, and non-GNU components with additional package management software in the form of Linux distributions.

Etymology

For more information, see: GNU/Linux naming controversy.


The name Linux derives from the use of the Linux kernel. As most if not all Linux distributions use GNU software, the Free Software Foundation views these Linux distributions as "variants" of the GNU system, and asks that such operating systems be referred to as GNU/Linux or a Linux-based GNU system.[3] However, the media and population at large refers to this family of operating systems as Linux. While some distributors make a point of using the aggregate form, most notably Debian with the Debian GNU/Linux distribution, its use outside of the enthusiast community is limited, and Linus Torvalds has said that he finds calling the operating system in general GNU/Linux "just ridiculous".[4] The distinction between the Linux kernel and distributions based on it plus the GNU system is a source of confusion to many newcomers, and the naming remains controversial.

Pronunciation

In 1992, Torvalds explained how he pronounces the word Linux:

Template:Cquotetxt


Torvalds has made available an audio sample which indicates his own pronunciation, in English and Swedish.[5][6] Nevertheless, English speakers tend to pronounce the name as [ˈlɪnʊks] or [ˈlɪnəks].

Distribution

For more information, see: Linux (kernel)#Portability and Linux distribution.


The Linux kernel was originally designed only for Intel 80386 microprocessors, but now supports a wide variety of computer architectures. Linux is one of the most widely ported operating systems, running on a diverse range of systems from the hand-held ARM-based iPAQ to the mainframe IBM System z9. Specialized distributions exist for less mainstream architectures. The ELKS kernel fork can run on Intel 8086 or Intel 80286 16-bit microprocessors, while the µClinux kernel may run on systems without a memory management unit. The kernel also runs on architectures that were not intended to use other than their original operating systems: this is the case of computers made by Apple Computer such as the iMac and PowerBook, Palm PDAs, Nintendo GameCube and Xbox.

Linux is predominantly used as part of a Linux distribution (commonly called a "distro"). These are put together by individuals, loose-knit teams, commercial and volunteer organizations. They commonly include additional system and application software, an installer system to ease initial system setup, and integrated management of software installation and upgrading. Distributions are created for many different purposes, including computer architecture support, localization to a specific region or language, real-time applications, and embedded systems, and many deliberately include only free software. Currently, over three hundred distributions are actively developed, with about a dozen distributions being most popular for general-purpose use.[7]

A typical general-purpose distribution includes the Linux kernel, some GNU libraries and tools, command-line shells, the graphical X Window System and an accompanying desktop environment such as KDE or GNOME, together with thousands of application software packages, from office suites to compilers, text editors, and scientific tools.

The most common method of installing Linux on a personal computer is by booting from a CD-ROM that contains the installation program and installable software. Such a CD can be burned from a downloaded ISO image, purchased alone for a low price, obtained as part of a box set, or in a few cases shipped for free by request. A box set may also include manuals and additional proprietary software. Mini CD images allow Linux to be installed from a disk with a small form factor. As with servers, personal computers that come with Linux already installed are available from vendors including Hewlett-Packard and Dell, although generally only for their business desktop line. Alternatives to traditional desktop installation include thin client installation and running directly from a Live CD. In a thin client installation, the operating system is loaded and run from a centralised machine over a network connection. In a Live CD setup, the computer boots the entire operating system from CD without first installing it on the computer's hard disk. On embedded devices, Linux is typically held in the device's firmware and may or may not be consumer-accessible.

Usage

Linux is used on a wide variety of machines for a wide variety of purposes.

Desktop

GNOME 2.16 running under Ubuntu Linux 6.10 showing the Nautilus file manager and the gedit text editor

Desktop Linux distributions typically feature a user interface comparable with that of Microsoft Windows and Mac OS X, though migrating users usually have to switch to alternative application software, and there may be a lack of commercial quality software in certain application domains, such as computer gaming, desktop publishing, and professional audio. However, there exist high-quality replacements for general-purpose desktop software, which includes applications such as spreadsheets, word processors, email clients, and web browsers. Additionally, a growing number of proprietary software vendors are supporting Linux.[8]

The high level of access granted to Linux's internals has led to Linux users traditionally tending to be more technically-inclined than users of Microsoft Windows and Mac OS. Linux's roots in the Unix operating system mean that in addition to graphical configuration tools and control panels available for many system settings and services, it is often either easier or necessary to use plain-text configuration files to configure the OS. While user access to these files and utilities is controlled by the system administrator, and in theory the user does not need to worry about them, in practice the administrator and user are often the same person on a desktop system.

Comparison of Windows and Linux

For more information, see: Comparison of Windows and Linux.


Due to the prevalence of Windows from the mid-1990s onwards, a comparison between Windows and Linux became a common topic of conversation in the computer industry. Linux and other free software projects have been frequently criticized for not going far enough to ensure ease of use.[9] However, the Berlin-based user experience organization Relevantive concluded in 2003 that the usability of Linux for a set of desktop-related tasks was "nearly equal to Windows XP."[10] Since then, there have been numerous independent studies and articles which indicate that a modern Linux desktop using either GNOME or KDE is on par with Microsoft Windows, even in a business setting.[11]

Although lack of application support is often cited as a reason to use Windows over Linux, compatibility layers such as Wine or NdisWrapper allow some Microsoft Windows applications and drivers to be used on Linux without requiring the vendor to adapt them. This allows users to more easily migrate from Windows to Linux since they can still run many of their Windows applications with little additional effort. In a similar fashion, Cygwin and Microsoft Windows Services for UNIX make it possible for users of Windows to run some GNU and other software normally only available on Linux and other Unix-like systems.

Programming

Most Linux distributions support a wide array of programming languages. Core system software such as libraries and basic utilities are usually written in C. Enterprise software is often written in C++, Java, Perl, or Python. The most common collection of utilities for building both Linux applications and operating system programs is found within the GNU toolchain, which includes the GNU Compiler Collection (GCC). Amongst others, GCC provides compilers for C, C++, Java, and Fortran. The Linux kernel itself is written to be compiled with GCC.

Most distributions also include support for Perl, Python and other dynamic languages. Less common, but still well-supported, are C# via the Mono project, Scheme, and Ruby. The two main widget toolkits used for contemporary GUI programming are Qt and the Gimp Toolkit, known as GTK+. Both support a wide variety of languages. There are a number of Integrated development environments available including MonoDevelop, KDevelop, Anjuta, NetBeans, and Eclipse while the traditional editors Emacs and Vim remain popular.[12]

As well as these free and open source options, there are proprietary compilers and tools available from a range of companies such as the Intel C Compiler, PathScale,[13] Micro Focus COBOL,[14] Franz Inc,[15] and the Portland Group.[16]

Enterprise usage

Linux is also used in some corporate environments as the desktop platform for its employees, with commercially available solutions including Red Hat Enterprise Linux, SUSE Linux Enterprise Desktop, and Linspire. Several government organizations have started the switch to using Linux.

Server usage

Historically, Linux has mainly been used as a server operating system. This is due to its relative stability and long uptimes, and the fact that desktop software with a graphical user interface is often unneeded. Enterprise and non-enterprise Linux distributions may be found running on servers. Linux is the cornerstone of the LAMP server-software combination (Linux, Apache, MySQL, Perl/PHP/Python) which has achieved popularity among developers, and which is one of the more common platforms for website hosting.

Embedded systems

Due to its low cost and its high configurability, an embedded Linux is often used in embedded systems such as television set-top boxes, mobile phones, and handheld devices. Linux has become a major competitor to the proprietary Symbian OS found in many mobile phones, and it is an alternative to the dominant Windows CE and Palm OS operating systems on handheld devices. The popular TiVo digital video recorder uses a customized version of Linux.[17] Several network firewall and router standalone products, including several from Linksys, use Linux internally, using its advanced firewalling and routing capabilities.

Supercomputing

Linux is commonly used as an operating system for supercomputers. As of January 5 2007, out of the top 500 systems, 376 (75.2%) run Linux.[18]

Gaming

Although gaming under Linux is traditionally considered inferior to gaming under Windows or Mac OS X, due to the reluctance of game development companies to support an operating system with relatively small desktop market share, there are still a large number of games available. Prominent examples of open source games include Nethack, The Ur-Quan Masters, and Battle for Wesnoth. There are also emulators for playing binary game ROMs, which include ZSNES and Frotz. Some Windows games may be played using Wine or Cedega, and old MS-DOS games can be played with DOSBox. Finally, there are games such as Quake which have an open source engine that runs under Linux, and can be used to play the full game provided non-Free data files are present.

Library support for Linux gaming is provided by Simple DirectMedia Layer, a wrapper around OpenGL, audio libraries, and input devices. NVidia and ATI have provided kernel modules that allow for most features of their graphics cards to be used under Linux. Linux also runs on several game consoles, including the X-Box, Playstation, and Gamecube. This has allowed game developers without an expensive proprietary game development kit to target console hardware.

See also

Education

In technical disciplines at universities and research centres worldwide, Linux is often the platform of choice. This is due to several factors, including that Linux is available free of charge and includes a large body of free/open source software. To some extent, technical competence of computer science and software engineering academics is also a contributor, as is stability, maintainability, and upgradability. IBM ran an advertising campaign entitled "Linux is Education" featuring a young boy who was supposed to be "Linux". The One Laptop Per Child project, a campaign to distribute laptop computers to millions of children in the developing world, also uses a Linux operating system.

Commercial considerations and legal issues

As with any complex software project, there are many issues surrounding Linux from both commercial and legal standpoints.

Support

Technical support is provided by commercial suppliers and by other Linux users, usually in online forums, IRC, newsgroups, and mailing lists. Linux User Groups have traditionally been organized to provide support for Linux in specific cities and regions. The business model of commercial suppliers is generally dependent on charging for support, especially for business users. A number of companies offer a specialized business version of their distribution, which adds proprietary support packages and tools to administer higher numbers of installations or to simplify administrative tasks.

Development cost and source code composition

A graphical history of Unix systems. Linux is a Unix-type system but its source code does not descend from the original Unix.

A 2001 study of Red Hat Linux 7.1 found that this distribution contained 30 million source lines of code. Using the Constructive Cost Model, the study estimated that this distribution required about eight thousand man-years of development time. According to the study, if all this software had been developed by conventional proprietary means, it would have cost about 1.08 billion dollars (year 2000 U.S. dollars) to develop in the United States.[19]

The majority of the code (71%) was written in the C programming language, but many other languages were used, including C++, Lisp, assembly language, Perl, Fortran, Python and various shell scripting languages. Slightly over half of all lines of code were licensed under the GPL. The Linux kernel itself was 2.4 million lines of code, or 8% of the total. [19]

In a later study, the same analysis was performed for Debian GNU/Linux version 2.2.[20] This distribution contained over fifty-five million source lines of code, and the study estimated that it would have cost 1.9 billion dollars (year 2000 U.S. dollars) to develop by conventional means.

Market share and uptake

Many quantitative studies of open source software focus on topics including market share and reliability, with many studies specifically examining Linux.[21] The Linux market is rapidly growing and the revenue of servers, desktops, and packaged software running Linux is expected to exceed $35.7 billion by 2008.[22] The actual installed user base may be higher than indicated by this figure, as most Linux distributions and applications are freely available and redistributable. According to the market research company IDC, 25% of servers and 2.8% of desktop computers ran Linux as of 2004.[23] Proponents and analysts attribute the success of Linux to its security, reliability,[24] low cost, and freedom from vendor lock-in.[25] The frictional cost of switching and lack of support for certain hardware and application programs designed for Microsoft Windows, especially games or uncommon business software, have been two factors that have initially inhibited fast adoption. Lack of adoption due to hardware compatibility is no longer a true inhibition to adoption, however. As of early 2007, it is very uncommon for hardware to not work "out of the box" with most Linux distributions.

SCO litigation

For more information, see: SCO-Linux controversies.


In March 2003, the SCO Group filed a lawsuit against IBM, 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 DaimlerChrysler (dismissed in 2004), and AutoZone, and by Red Hat and others against SCO. Furthermore, it is currently disputed by Novell whether the SCO even owns the relevant Unix copyrights.

SCO's claims have been numerous and varied widely over time. As per the Utah District Court ruling on July 3, 2006; 182 out of 294 items of evidence provided by SCO against IBM in discovery have been dismissed.[26]

Licensing

The Linux kernel and most GNU software are licensed under the GNU General Public License version 2. The GPL requires that all distributed source code modifications and derived works also be licensed under the GPL, and is sometimes referred to as a "share and share-alike" or "copyleft" license. In 1997, Linus Torvalds stated, "Making Linux GPL'd was definitely the best thing I ever did."[27] Other software may use other licenses; many libraries use the GNU Lesser General Public License (LGPL), a more permissive variant of the GPL, and the X Window System uses the MIT License. After more than ten years, the Free Software Foundation announced that they would be upgrading the GPL to version 3, citing increasing concerns with Intellectual Property laws, especially Software Patents. Linus Torvalds has publicly stated he would not move the Linux kernel to GPL v.3. Torvalds opposes in particular certain Digital Rights Management exclusions in the GPL v3.

The Linux trademark

In the United States, the name Linux is a trademark registered to Linus Torvalds.[28] Initially, nobody registered it, but on August 15 1994, William R. Della Croce, Jr. filed for the trademark Linux, and then demanded royalties from Linux distributors. In 1996, Torvalds and some affected organizations sued to have the trademark assigned to Torvalds, and in 1997 the case was settled.[29] The licensing of the trademark has since been handled by the Linux Mark Institute. Torvalds has stated that he only trademarked the name to prevent someone else from using it, but was bound in 2005 by United States trademark law to take active measures to enforce the trademark. As a result, the LMI sent out a number of letters to distribution vendors requesting that a fee be paid for the use of the name, and a number of companies have complied.[30]

See also

Template:Portalpar

References

  1. http://www.gnu.org/gnu/gnu-history.html
  2. Template:Cite newsgroup
  3. http://www.gnu.org/gnu/linux-and-gnu.html
  4. Moore, J.T.S. (Produced, Written, and Directed). (2001). Revolution OS [DVD].
  5. Howto pronouce Linux?. Retrieved on 2006-12-17.
  6. Linus pronouncing Linux in English and Swedish. Retrieved on 2007-01-20.
  7. The LWN.net Linux Distribution List. Retrieved on 2006-05-19.
  8. The Global Desktop Project, Building Technology and Communities. Retrieved on 2006-05-07.
  9. Blau, John. PC World - Linux Earns User-Friendly Rating, PC World, 2003-08-04. Retrieved on 2005-12-17].
  10. Relevantive Linux usability study. Retrieved on 2006-04-03.
  11. Dulaney, Emmett (June 2005). Desktop Linux: Ready for Prime Time?. Retrieved on 2006-06-19.
  12. Brockmeier, Joe. A survey of Linux Web development tools. Retrieved on 2006-12-16.
  13. http://www.pathscale.com/ekopath.html
  14. http://www.microfocus.com
  15. http://www.franz.com/
  16. http://www.pgroup.com/
  17. TiVo - GNU/Linux Source Code. Retrieved on 2006-12-12.
  18. http://www.top500.org/stats/28/osfam/
  19. 19.0 19.1 Wheeler, David A (2002-07-29). More Than a Gigabuck: Estimating GNU/Linux's Size. Retrieved on 2006-05-11.
  20. González-Barahona, Jesús M; et al (3 January 2002). Counting potatoes: The size of Debian 2.2. Retrieved on 2006-05-11.
  21. Wheeler, David A. Why Open Source Software / Free Software (OSS/FS)? Look at the Numbers!. Retrieved on 2006-04-01.
  22. Linux To Ring Up $35 Billion By 2008. Retrieved on 2006-04-01.
  23. White, Dominic (2004-04-02). Microsoft eyes up a new kid on the block. The Daily Telegraph. Retrieved on 2006-09-09.
  24. Why customers are flocking to Linux.
  25. The rise and rise of Linux.
  26. SCO Losing Linux Battle With IBM.
  27. Linus Torvalds interview. Retrieved on 2006-05-08.
  28. U.S. Reg No: 1916230. United States Patent and Trademark Office. Retrieved on 2006-04-01.
  29. Linux Timeline. Linux Journal (31 May 2006).
  30. Linus gets tough on Linux trademark (2005-09-05). Retrieved on 2006-09-04.

External links

Template:Sisterlinks

Template:Unix-like Template:Linux-distro