Linux: Difference between revisions

[pending revision][accepted revision]
Content deleted Content added
revert sitting penguin silliness
Bcxfu75k (talk | contribs)
Initial release date
 
Line 1:
{{Short description|Family of Unix-like operating systems}}
{{two other uses|operating systems that use the Linux kernel|the kernel itself|Linux kernel}}
{{About|the family of operating systems|the kernel|Linux kernel|other uses}}
{{pp-pc}}
{{Use mdy dates|date=May 2016}}
{{Use American English|date=October 2020}}
{{Infobox OS
| name = Linux (no automatically included version) <!-- this "hack" unties the infobox from the separate template that lists latest Linux kernel versions – this article is about Linux and not about the Linux kernel so listing kernel versions introduces confusion -->
| title = Linux
| logo = Tux.svg
| logo_size = 150px
| logo caption = [[Tux (mascot)|Tux]] the penguin, the mascot of Linux<ref name="LinuxOnLine2008">{{cite web | url = http://www.linux.org/info/logos.html | title = Linux Logos and Mascots |access-date=August 11, 2009 | last = Linux Online | year = 2008 | archive-url = https://web.archive.org/web/20100815085106/http://www.linux.org/info/logos.html | archive-date = August 15, 2010 }}</ref>
| logo_alt = Tux the penguin
| developer = Community contributors, <br /> [[Linus Torvalds]]
| programmed in = [[C (programming language)|C]], [[assembly language]]s, [[Rust programming language|Rust]] and others
| family = [[Unix-like]]
| working state = Current
| source model = [[Open-source software|Open source]]
| released = {{start date and age|1991|9|17}}<ref>{{Cite web|url=https://www.zdnet.com/article/linus-torvalds-reveals-the-true-30th-anniversary-of-linux-code/|title=Linus Torvalds reveals the 'true' anniversary of Linux code |access-date=August 29, 2025}}</ref>
| latest release version = <!-- The kernel version is displayed on the "Linux kernel" article; please don't insert it here, as this article covers Linux kernel + userland combos. -->
| latest release date =
| latest preview version = <!-- The kernel version is displayed on the "Linux kernel" article; please don't insert it here, as this article covers Linux kernel + userland combos. -->
| latest preview date =
| repo = {{URL|https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/}}
| marketing target = [[Cloud computing]], [[embedded device]]s, [[mainframe computer]]s, [[mobile device]]s, [[personal computer]]s, [[server (computing)|servers]], [[supercomputer]]s
| language = Multilingual
| updatemodel =
| supported platforms = [[DEC Alpha|Alpha]], [[ARC (processor)|ARC]], [[ARM architecture|ARM]], [[M·CORE|C-Sky]], [[Qualcomm Hexagon|Hexagon]], [[Loongson|LoongArch]], [[m68k]], [[Microblaze]], [[MIPS architecture|MIPS]], [[Nios II]], [[OpenRISC]], [[PA-RISC]], [[PowerPC]], [[RISC-V]], [[ESA/390|s390]], [[SuperH]], [[SPARC]], [[x86]], [[Xtensa]] <!-- Please do not include 64-bit extensions of 32-bit ISAs, e.g. sparc64, ppc64, x86-64, etc. -->
| kernel type = [[Monolithic kernel|Monolithic]]
| influenced by = [[Minix]], [[Unix]]
| userland = [[util-linux]] by standard,{{Efn|util-linux is the standard set of utilities for use as part of the Linux operating system.<ref>{{cite web|url=https://github.com/util-linux|title=The util-linux code repository.|website=[[GitHub]]|access-date=October 31, 2024}}</ref>}} various alternatives, such as [[Busybox]],{{Efn|BusyBox is a userland written with size-optimization and limited resources in mind, used in many embedded Linux distributions. BusyBox replaces most [[GNU Core Utilities]].<ref>{{cite web|url=https://busybox.net/about.html|title=The Busybox about page|website=busybox.net|access-date=November 30, 2021|archive-date=November 27, 2021|archive-url=https://web.archive.org/web/20211127134347/https://busybox.net/about.html|url-status=live}}</ref> One notable Desktop distribution using BusyBox is [[Alpine Linux]].<ref>{{cite web|url=https://alpinelinux.org/about/|title=The Alpine Linux about page|website=alpinelinux.org|access-date=November 30, 2021|archive-date=May 8, 2011|archive-url=https://web.archive.org/web/20110508001131/https://alpinelinux.org/about/|url-status=live}}</ref>}} [[GNU]],{{Efn|GNU is a userland used in various Linux distributions.<ref>{{cite web |url=http://www.linux.org/threads/gnu-userland.7429/ |title=GNU Userland |date=April 10, 2012 |archive-url=https://web.archive.org/web/20160308205852/http://www.linux.org/threads/gnu-userland.7429/ |archive-date=March 8, 2016}}</ref><ref>{{cite web |url=http://cyborginstitute.org/projects/administration/unix-fundamentals/ |title=Unix Fundamentals — System Administration for Cyborgs |archive-url=https://web.archive.org/web/20161005114243/http://cyborginstitute.org/projects/administration/unix-fundamentals/ |archive-date=October 5, 2016}}</ref><ref>{{cite web|url=http://openbookproject.net/courses/intro2ict/system/os_intro.html|title=Operating Systems — Introduction to Information and Communication Technology|url-status=live|archive-url=https://web.archive.org/web/20160221222415/http://openbookproject.net/courses/intro2ict/system/os_intro.html|archive-date=February 21, 2016}}</ref> The GNU userland contains system daemons, user applications, the GUI, and various libraries. [[GNU Core Utilities]] are an essential part of most distributions. Most Linux distributions use the [[X Window System|X Window]] system.<ref>{{cite web|url=http://www.tldp.org/FAQ/Linux-FAQ/x-windows.html|title=The X Window System|url-status=live|archive-url=https://web.archive.org/web/20160120234827/http://tldp.org/FAQ/Linux-FAQ/x-windows.html|archive-date=January 20, 2016}}</ref> Other components of the userland, such as the [[widget toolkit]], vary with the specific distribution, desktop environment, and user configuration.<ref>{{cite web|url=http://pclosmag.com/html/issues/201109/page08.html|title=PCLinuxOS Magazine – HTML|url-status=dead|archive-url=https://web.archive.org/web/20130515020543/http://pclosmag.com/html/Issues/201109/page08.html|archive-date=May 15, 2013}}</ref>}} [[Plan 9 from User Space]]{{Efn|Plan 9 from User Space (aka plan9port) is a port of many Plan 9 libraries and programs from their native Plan 9 environment to Unix-like operating systems, including Linux and FreeBSD.<ref>{{cite web|title = Plan 9 from User Space| url=https://9fans.github.io/plan9port/ |access-date = 31 October 2024}}</ref><ref>{{cite web|title = The Plan 9 from User Space code repository| website=[[GitHub]] | url=https://github.com/9fans/plan9port |access-date = 31 October 2024}}</ref>}} and [[Toybox]]{{Efn|Toybox is a userland that combines over 200 Unix command line utilities together into a single BSD-licensed executable. After a talk at the 2013 Embedded Linux Conference, Google merged toybox into AOSP and began shipping toybox in Android Marshmallow in 2015.<ref>{{cite web|url = http://www.landley.net/toybox/about.html|title = What is ToyBox?|work = Toybox project website|last = Landley|first = Robert|access-date = 31 October 2024|archive-date = November 5, 2023|archive-url = https://web.archive.org/web/20231105142556/http://www.landley.net/toybox/about.html|url-status = live}}</ref>}}
| ui = {{ubl|Most [[Linux distribution|distributions]] include a [[desktop environment]] ([[GUI]]).}}
| license = [[GPLv2]]<ref>{{cite web |url=https://www.kernel.org/category/faq.html |title=The Linux Kernel Archives: Frequently asked questions |website=kernel.org |date=September 2, 2014 |access-date=September 4, 2015 |url-status=live |archive-url=https://web.archive.org/web/20150905100143/https://www.kernel.org/category/faq.html |archive-date=September 5, 2015}}</ref>{{Efn|The name "Linux" itself is a trademark owned by [[Linus Torvalds]]<ref name="US_trademark">{{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 |access-date = April 1, 2006 |url-status=live |archive-url = https://web.archive.org/web/20130624203325/http://assignments.uspto.gov/assignments/q?db=tm&rno=1916230 |archive-date = June 24, 2013 |df = mdy-all }}</ref> and administered by the [[Linux Mark Institute]].}}
| other_articles = [[Linux kernel]] <br /> [[Linux distribution]]
}}<!-- Based on long-standing consensus, please do not change this to read that GNU/Linux is the correct name for Linux distributions incorporating GNU software; the change will be reverted. This has been extensively discussed. Please see [[MOS:LINUX]] for more information. -->
 
'''Linux''' ({{IPAc-en||ˈ|l|ɪ|n|ʊ|k|s}} {{respell|LIN|uuks}}<ref name="pronunciation-2">{{ cite newsgroup |newsgroup= comp.os.linux | title = Re: How to pronounce ''Linux''? |message-id= 1992Apr23.123216.22024@klaava.Helsinki.FI | date = April 23, 1992 |access-date=January 9, 2007 | url=https://groups.google.com/d/msg/comp.os.linux/L_TTOib3_08/yOG2vLtsp1MJ}}</ref>) is a family of [[open source]] [[Unix-like]] [[operating system]]s based on the [[Linux kernel]],<ref>{{ cite book | last = Eckert | first = Jason W. | year = 2012 | title = Linux+ Guide to Linux Certification | edition = Third | publisher = Cengage Learning | place = Boston, Massachusetts | page = 33 | isbn = 978-1111541538 | url = https://books.google.com/books?id=EHLH4S78LmsC&pg=PA33 | access-date = April 14, 2013 | quote = The shared commonality of the kernel is what defines a system's membership in the Linux family; the differing [[open-source software|OSS]] applications that can interact with the common kernel are what differentiate Linux distributions. | url-status=live | archive-url = https://web.archive.org/web/20130509031220/http://books.google.com/books?id=EHLH4S78LmsC&pg=PA33 | archive-date = May 9, 2013 | df = mdy-all }}</ref> an [[kernel (operating system)|operating system kernel]] first released on September 17, 1991, by [[Linus Torvalds]].<ref>{{cite web | title = Twenty Years of Linux according to Linus Torvalds | url = https://www.zdnet.com/article/twenty-years-of-linux-according-to-linus-torvalds/ | publisher = ZDNet | date = April 13, 2011 | access-date = September 19, 2016 | url-status=live | archive-url = https://web.archive.org/web/20160919232940/http://www.zdnet.com/article/twenty-years-of-linux-according-to-linus-torvalds/ | archive-date = September 19, 2016 | df = mdy-all }}</ref><ref>{{cite newsgroup | title = Free minix-like kernel sources for 386-AT | author = Linus Benedict Torvalds | date = October 5, 1991 | newsgroup = comp.os.minix | url = https://groups.google.com/group/comp.os.minix/msg/2194d253268b0a1b?pli=1 | access-date = September 30, 2011 | archive-date = March 2, 2013 | archive-url = https://web.archive.org/web/20130302010902/http://groups.google.com/group/comp.os.minix/msg/2194d253268b0a1b?pli=1 | url-status = live }}</ref><ref>{{cite web | title = What Is Linux: An Overview of the Linux Operating System | url = https://medium.com/@theinfovalley097/what-is-linux-an-overview-of-the-linux-operating-system-77bc7421c7e5?sk=b80b38575284317290c86e56001e43b1 | publisher = Medium | access-date = December 21, 2019 | df = mdy-all | archive-date = June 12, 2020 | archive-url = https://web.archive.org/web/20200612030853/https://medium.com/@theinfovalley097/what-is-linux-an-overview-of-the-linux-operating-system-77bc7421c7e5?sk=b80b38575284317290c86e56001e43b1 | url-status = live }}</ref> Linux is typically [[package manager|packaged]] as a [[Linux distribution]] (distro), which includes the kernel and supporting [[system software]] and [[library (computing)|libraries]]—most of which are provided by third parties—to create a complete operating system, designed as a clone of [[Unix]] and released under the [[copyleft]] [[GPL]] license.<ref>{{Cite web |date=October 8, 1998 |title=Mac, Windows And Now, Linux |url=https://archive.nytimes.com/www.nytimes.com/library/tech/98/10/circuits/articles/08linu.html |access-date=2024-12-04 |website=The New York Times}}</ref><!--END Brief introduction-->
{{infobox OS
 
| name = Linux
<!--Brief popular distros and key components-->[[List of Linux distributions|Thousands of Linux distributions]] exist, many based directly or indirectly on other distributions;<ref>{{Cite web |title=Major Distributions An overview of major Linux distributions and FreeBSD |url=https://distrowatch.com/dwres.php?resource=major |website=Distrowatch |access-date=November 15, 2024 |archive-date=April 2, 2013 |archive-url=https://web.archive.org/web/20130402195650/http://distrowatch.com/dwres.php?resource=major |url-status=live }}</ref><ref>{{Cite web |last=Andrus |first=Brian |date=2024-07-08 |title=Top 12 Most Popular Linux Distros |url=https://www.dreamhost.com/blog/linux-distros/ |access-date=2024-11-15 |website=DreamHost Blog |language=en-US}}</ref> popular Linux distributions<ref>{{cite web |last=DistroWatch |title=DistroWatch.com: Put the fun back into computing. Use Linux, BSD. |url=http://distrowatch.com/dwres.php?resource=major |url-status=dead |archive-url=https://web.archive.org/web/20130402195650/http://distrowatch.com/dwres.php?resource=major |archive-date=April 2, 2013 |access-date=2016-12-30 |website=distrowatch.com}}</ref><ref>{{Cite news |last=himanshu |first=Swapnil |title=Best Linux distros of 2016: Something for everyone |url=https://www.linux.com/news/best-linux-distros-2016/ |url-status=live |archive-url=https://web.archive.org/web/20161231170119/http://www.cio.com/article/3023349/linux/best-linux-distros-of-2016-something-for-everyone.html |archive-date=December 31, 2016 |access-date=2022-02-01 |newspaper=CIO}}</ref><ref>{{cite web |title=10 Top Most Popular Linux Distributions of 2016 |url=http://www.tecmint.com/top-best-linux-distributions-2016/ |url-status=live |archive-url=https://web.archive.org/web/20161230141717/http://www.tecmint.com/top-best-linux-distributions-2016/ |archive-date=December 30, 2016 |access-date=2016-12-30 |website=www.tecmint.com}}</ref> include [[Debian]], [[Fedora Linux]], [[Linux Mint]], [[Arch Linux]], and [[Ubuntu]], while commercial distributions include [[Red Hat Enterprise Linux]], [[SUSE Linux Enterprise]], and [[ChromeOS]]. Linux distributions are frequently used in server platforms.<ref>{{Cite web |last=Ha |first=Dan |date=2023-02-28 |title=9 reasons Linux is a popular choice for servers |url=https://www.logicmonitor.com/blog/9-reasons-linux-is-a-popular-choice-for-servers |access-date=2024-12-11 |website=LogicMonitor |language=en-US}}</ref><ref>{{Cite web |title=Linux OS on IBM Z Mainframe |url=https://www.ibm.com/z/linux |access-date=2024-12-11 |website=www.ibm.com |language=en}}</ref> Many Linux distributions use the word "Linux" in their name, but the [[Free Software Foundation]] uses and recommends the name "GNU/Linux" to emphasize the use and importance of [[GNU]] software in many distributions, [[GNU/Linux naming controversy|causing some controversy]].<ref name="gnu_linux_faq" /><ref name="linux-and-gnu">{{cite web |title=Linux and the GNU System |url=https://www.gnu.org/gnu/linux-and-gnu.html |url-status=live |archive-url=https://web.archive.org/web/20170319145123/http://www.gnu.org/gnu/linux-and-gnu.html |archive-date=March 19, 2017 |access-date=September 1, 2013 |publisher=Gnu.org |df=mdy-all}}</ref> Other than the Linux kernel, key components that make up a distribution may include a [[Display server|display server (windowing system)]], a [[package manager]], a bootloader and a [[Unix shell]].<!--END Brief popular distros and key components-->
| screenshot = [[Image:Tux.svg|150px|Tux the penguin, mascot of Linux]]
 
| caption = [[Tux]] the penguin, based on an image created by [[Larry Ewing]] in 1996, is the mascot of Linux.
<!--Status and use-->Linux is one of the most prominent examples of free and open-source [[software]] collaboration. While originally developed for [[x86]] based [[personal computer]]s, it has since been [[porting|ported]] to more [[computer hardware platforms|platforms]] than any other operating system,<ref>{{cite news |author=Barry Levine |date=August 26, 2013 |title=Linux' {{sic|22|th|nolink=yes}} Birthday Is Commemorated – Subtly – by Creator |url=http://www.cmswire.com/cms/information-management/linux-22th-birthday-is-commemorated-subtly-by-creator-022244.php |url-status=live |archive-url=https://web.archive.org/web/20150518155152/http://www.cmswire.com/cms/information-management/linux-22th-birthday-is-commemorated-subtly-by-creator-022244.php |archive-date=May 18, 2015 |access-date=May 10, 2015 |publisher=Simpler Media Group, Inc |quote="Originally developed for Intel x86-based PCs, Torvalds' "hobby" has now been released for more hardware platforms than any other OS in history."}}</ref> and is used on a wide variety of devices including PCs, [[workstations]], [[mainframes]] and [[embedded system]]s. Linux is the predominant operating system for [[Server (computing)|servers]] and is also used on all of the [[TOP500|world's 500 fastest supercomputers]].{{Efn|As measured by the [[TOP500]] list, which uses [[LINPACK benchmarks#HPL|HPL]] to measure computational power}} When combined with [[Android (operating system)|Android]], which is Linux-based and designed for [[smartphone]]s, they have the [[Usage share of operating systems|largest installed base]] of all [[general-purpose operating system]]s.<!--END Status and use--><!--Try to keep the intro simple and concise; detailed and trivial info can go in the Overview section-->{{TOC limit}}
| family = [[Unix-like]]
 
| latest_release_version = 2.6.19.2 ([[Linux kernel]])
== Overview ==
| latest_release_date = [[January 10]] [[2007]]
The Linux kernel was designed by [[Linus Torvalds]], following the lack of a working [[Kernel (operating system)|kernel]] for [[GNU]], a [[Unix]]-compatible operating system made entirely of [[free software]] that had been undergoing development since 1983 by [[Richard Stallman]]. A working Unix system called [[Minix]] was later released but its license was not entirely free at the time<ref name="meta" /> and it was made for an educative purpose. The first entirely free Unix for personal computers, [[386BSD]], did not appear until 1992, by which time Torvalds had already built and publicly released the first version of the [[Linux kernel]] on the [[Internet]].<ref>{{Cite web |url=https://dl.acm.org/doi/fullHtml/10.5555/324785.324786 |access-date=2024-11-21 |website=dl.acm.org |title=The Humble Beginnings of Linux |first1=Randolph |last1=Bentson }}</ref> Like GNU and 386BSD, Linux did not have any Unix code, being a fresh reimplementation, and therefore avoided the [[UNIX System Laboratories, Inc. v. Berkeley Software Design, Inc.|then legal issues]].<ref>{{Cite web |title=History of Unix, BSD, GNU, and Linux – CrystalLabs — Davor Ocelic's Blog |url=https://crystallabs.io/unix-bsd-gnu-linux-history/#386bsd |access-date=2024-11-22 |website=crystallabs.io |language=en |archive-date=November 22, 2024 |archive-url=https://web.archive.org/web/20241122010255/https://crystallabs.io/unix-bsd-gnu-linux-history/#386bsd |url-status=live }}</ref> Linux distributions became popular in the 1990s and effectively made Unix technologies accessible to home users on personal computers whereas previously it had been confined to sophisticated [[workstations]].<ref>{{Cite news |date=May 22, 1995 |title=LINUX: UNIX POWER FOR PEANUTS |url=https://www.washingtonpost.com/archive/business/1995/05/22/linux-unix-power-for-peanuts/4bfe23ec-12bc-4a88-b336-b4820df2235a/ |newspaper=[[Washington Post]]}}</ref>
| kernel_type = [[Monolithic kernel]]
| license = [[GNU General Public License]]
| working_state = Current
}}
 
Desktop Linux distributions include a [[windowing system]] such as [[X Window System|X11]] or [[Wayland (protocol)|Wayland]] and a [[desktop environment]] such as [[GNOME]], [[KDE Plasma]] or [[Xfce]]. Distributions intended for [[server (computing)|servers]] may not have a [[graphical user interface]] at all or include a [[solution stack]] such as [[LAMP (software bundle)|LAMP]].
'''Linux''' ([[IPA chart for English|IPA]] pronunciation: {{IPA|/ˈlɪnʊks/}}) is an [[umbrella term]] that refers to [[Unix-like]] computer [[operating system]]s that are built on the [[Linux kernel]]. A Linux-based system used in conjunction with [[GNU]] [[system utility|system utilities]] and [[Library (computer science)|libraries]] is sometimes referred to as '''GNU/Linux'''.<ref name="lsag">{{cite book
| url=http://www.tldp.org/LDP/sag/html/sag.html
| title=Linux System Administrator's Guide
| chapter=1.1
| edition=version 0.9
| date=2004
| accessdate=2007-01-18
| author=Alex Weeks
}}</ref>
 
The [[source code]] of Linux may be used, modified, and distributed commercially or non-commercially by anyone under the terms of its respective licenses, such as the [[GNU General Public License]] (GPL). The license means creating novel distributions is permitted by anyone<ref name="what">{{Cite web |title=What is Linux? |url=https://opensource.com/resources/linux |url-status=live |archive-url=https://web.archive.org/web/20200513110848/https://opensource.com/resources/linux |archive-date=May 13, 2020 |access-date=2020-05-12 |website=Opensource.com |language=en}}</ref> and is easier than it would be for an operating system such as [[MacOS]] or [[Microsoft Windows]].<ref>{{Cite web |title=Various Licenses and Comments about Them – GNU Project – Free Software Foundation |url=https://www.gnu.org/licenses/license-list.en.html |access-date=2024-11-15 |website=www.gnu.org |archive-date=July 20, 2017 |archive-url=https://web.archive.org/web/20170720140022/https://www.gnu.org/licenses/license-list.en.html |url-status=live }}</ref><ref>{{Cite web |title=GNU General Public License |url=https://www.gnu.org/licenses/gpl-3.0.html |website=GNU.org |access-date=November 15, 2024 |archive-date=February 5, 2021 |archive-url=https://web.archive.org/web/20210205145710/http://www.gnu.org/licenses/gpl-3.0.html |url-status=live }}</ref><ref>{{Cite web |last=Casad |first=Joe |title=Copyleft » Linux Magazine |url=https://www.linux-magazine.com/Issues/2017/200/The-GPL-and-the-birth-of-a-revolution |access-date=2024-11-15 |website=Linux Magazine |language=en-US |archive-date=October 14, 2024 |archive-url=https://web.archive.org/web/20241014052627/https://www.linux-magazine.com/Issues/2017/200/The-GPL-and-the-birth-of-a-revolution |url-status=live }}</ref> The Linux kernel, for example, is licensed under the GPLv2, with an exception for [[system call]]s that allows code that calls the kernel via system calls not to be licensed under the GPL.<ref>{{cite web |title=Linux kernel licensing rules |url=https://www.kernel.org/doc/html/v4.18/process/license-rules.html |url-status=live |archive-url=https://web.archive.org/web/20220906145357/https://www.kernel.org/doc/html/v4.18/process/license-rules.html |archive-date=September 6, 2022 |access-date=June 17, 2022 |work=Linux kernel documentation}}</ref><ref>{{GitHub|https://github.com/torvalds/linux/blob/master/LICENSES/exceptions/Linux-syscall-note}}</ref><ref name="what" />
Initially developed and used primarily by individual enthusiasts on [[personal computer]]s, 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 [[server (computing)|server]]s; [[Netcraft]] reported in September 2006 that eight of the ten most reliable internet hosting companies run Linux on their [[web server]]s.<ref>{{ cite web | title = Rackspace Most Reliable Hoster in September | url = http://news.netcraft.com/archives/2006/10/07/rackspace_most_reliable_hoster_in_september.html | publisher = Netcraft | date = [[October 7]] [[2006]] | accessdate = 2006-11-01 }}</ref>
 
Because of the dominance of Linux-based [[Android (operating system)|Android]] on [[smartphone]]s, Linux, including Android, has the [[Usage share of operating systems|largest installed base]] of all [[general-purpose operating system]]s {{as of|2022|5|lc=y}}.<ref>{{Cite web |title=Operating System Market Share Worldwide |url=https://gs.statcounter.com/os-market-share |url-status=live |archive-url=https://web.archive.org/web/20200215213114/https://gs.statcounter.com/os-market-share |archive-date=February 15, 2020 |access-date=October 18, 2020 |website=StatCounter Global Stats}}</ref><ref>{{cite web |last=McPherson |first=Amanda |date=December 13, 2012 |title=What a Year for Linux: Please Join us in Celebration |url=http://www.linuxfoundation.org/news-media/blogs/browse/2012/12/what-year-linux-please-join-us-celebration |url-status=dead |archive-url=https://web.archive.org/web/20140417232521/http://www.linuxfoundation.org/news-media/blogs/browse/2012/12/what-year-linux-please-join-us-celebration |archive-date=April 17, 2014 |access-date=April 16, 2014 |publisher=Linux Foundation}}</ref><ref>{{cite web |last=Linux Devices |date=November 28, 2006 |title=Trolltech rolls "complete" Linux smartphone stack |url=http://www.linuxfordevices.com/c/a/News/Trolltech-rolls-complete-Linux-smartphone-stack/ |url-status=dead |archive-url=https://archive.today/20120525231448/http://www.linuxfordevices.com/c/a/News/Trolltech-rolls-complete-Linux-smartphone-stack/ |archive-date=May 25, 2012 |access-date=January 12, 2017}}</ref> Linux is, {{as of|2024|3|lc=y}}, used by around 4 percent of [[desktop computer]]s.<ref name="statcounter-desktop">{{cite web |title=Desktop Operating System Market Share Worldwide |url=https://gs.statcounter.com/os-market-share/desktop/ |url-status=live |archive-url=https://web.archive.org/web/20240321183908/https://gs.statcounter.com/os-market-share/desktop/worldwide |archive-date=March 21, 2024 |access-date=March 23, 2024 |website=StatCounter Global Stats}}</ref> The [[Chromebook]], which runs the Linux kernel-based [[ChromeOS]],<ref>{{Cite web |title=ChromeOS Kernel |url=https://kernel-recipes.org/en/2022/wp-content/uploads/2022/06/ricardo.pdf |website=kernel-recipes.org}}</ref><ref>{{Cite web |date=2010-06-30 |title=How the Google Chrome OS Works |url=https://computer.howstuffworks.com/google-chrome-os.htm |access-date=2024-12-11 |website=HowStuffWorks |language=en-us}}</ref> dominates the US [[K–12]] education market and represents nearly 20 percent of sub-$300 [[Laptop|notebook]] sales in the US.<ref>{{cite web |author=Steven J. Vaughan-Nichols |title=Chromebook shipments leap by 67 percent |url=https://www.zdnet.com/article/chromebook-shipments-leap-by-67-percent/ |url-status=live |archive-url=https://web.archive.org/web/20150929055809/http://www.zdnet.com/article/chromebook-shipments-leap-by-67-percent/ |archive-date=September 29, 2015 |access-date=September 29, 2015 |work=ZDNet}}</ref> Linux is the leading operating system on servers (over 96.4% of the top one million web servers' operating systems are Linux),<ref>{{cite web |title=OS Market Share and Usage Trends |url=http://www.w3cook.com/os/summary/ |archive-url=https://web.archive.org/web/20150806093859/http://www.w3cook.com/os/summary |archive-date=6 August 2015 |website=W3Cook.com}}</ref> leads other [[Big iron (computing)|big iron]] systems such as [[mainframe computer]]s,{{Clarify|date=December 2024|reason=Some IBM mainframes ''run'' Linux; does this mean it leads ''other'' OSes that run on mainframes, or does it mean that Linux on commodity hardware leads mainframes regardless of whether the mainframes run Linux or z/OS or...}}<ref>{{cite web |last=Thibodeau |first=Patrick |year=2009 |title=IBM's newest mainframe is all Linux |url=https://www.computerworld.com/article/2521639/ibm-s-newest-mainframe-is-all-linux.html |archive-url=https://web.archive.org/web/20161111053745/http://www.computerworld.com/article/2521639/computer-hardware/ibm-s-newest-mainframe-is-all-linux.html |archive-date=November 11, 2016 |access-date=February 22, 2009 |publisher=Computerworld |publication-date=December 9, 2009}}</ref> and is used on all of the [[TOP500|world's 500 fastest supercomputers]]{{Efn|As measured by the [[TOP500]] list, which uses [[LINPACK benchmarks#HPL|HPL]] to measure computational power}} ({{as of|November 2017|lc=true}}, having gradually displaced all competitors).<ref>{{cite web |last=Vaughan-Nichols |first=Steven J. |year=2017 |title=Linux totally dominates supercomputers |url=https://www.zdnet.com/article/linux-totally-dominates-supercomputers/ |archive-url=https://web.archive.org/web/20171114211600/http://www.zdnet.com/article/linux-totally-dominates-supercomputers/ |archive-date=November 14, 2017 |access-date=October 25, 2018 |publisher=ZDNet |publication-date=November 14, 2017}}</ref><ref name="rules_supercomputers">{{cite news |last=Lyons |first=Daniel |date=March 15, 2005 |title=Linux rules supercomputers |url=https://www.forbes.com/2005/03/15/cz_dl_0315linux.html |url-status=live |archive-url=https://web.archive.org/web/20070224235804/http://www.forbes.com/home/enterprisetech/2005/03/15/cz_dl_0315linux.html |archive-date=February 24, 2007 |access-date=February 22, 2007 |work=Forbes |df=mdy-all}}</ref>
Linux has been more widely [[port (computing)|port]]ed to different computing platforms than any other operating system.<ref>http://www.freeos.com/articles/4737/</ref> It is used in devices ranging from [[supercomputer]]s to [[mobile phone]]s, and has a foothold in the personal computer and business desktop markets.
 
Linux also runs on [[embedded system]]s, i.e., devices whose operating system is typically built into the [[firmware]] and is highly tailored to the system. This includes [[router (computing)|routers]], [[automation]] controls, [[smart home technology|smart home devices]], [[video game console]]s, [[television]]s (Samsung and LG [[smart TV]]s),<ref name="Linux Smart TVs">{{cite web |author=Eric Brown |date=Mar 29, 2019 |title=Linux continues advance in smart TV market |url=http://linuxgizmos.com/linux-continues-advance-in-smart-tv-market/ |url-status=live |archive-url=https://web.archive.org/web/20200629105311/http://linuxgizmos.com/linux-continues-advance-in-smart-tv-market/ |archive-date=June 29, 2020 |access-date=May 15, 2020 |website=linuxgizmos.com}}</ref><ref>{{cite web |title=Sony Open Source Code Distribution Service |url=http://products.sel.sony.com/opensource/ |url-status=dead |archive-url=https://web.archive.org/web/20111004171109/http://products.sel.sony.com/opensource/ |archive-date=October 4, 2011 |access-date=October 8, 2011 |publisher=Sony Electronics |df=mdy-all}}</ref><ref>{{cite web |title=Sharp Liquid Crystal Television Instruction Manual |url=http://files.sharpusa.com/Downloads/ForHome/HomeEntertainment/LCDTVs/Manuals/Archive/tel_man_LC32_37_42HT3U.pdf |url-status=dead |archive-url=https://web.archive.org/web/20120111111044/http://files.sharpusa.com/Downloads/ForHome/HomeEntertainment/LCDTVs/Manuals/Archive/tel_man_LC32_37_42HT3U.pdf |archive-date=January 11, 2012 |access-date=October 8, 2011 |publisher=Sharp Electronics |page=24 |df=mdy-all}}</ref> [[automobiles]] (Tesla, Audi, Mercedes-Benz, Hyundai, and Toyota),<ref name="Linux cars">{{cite web |author=Steven J. Vaughan-Nichols |date=January 4, 2019 |title=It's a Linux-powered car world |url=https://www.zdnet.com/article/its-a-linux-powered-car-world/ |url-status=live |archive-url=https://web.archive.org/web/20200803053324/https://www.zdnet.com/article/its-a-linux-powered-car-world/ |archive-date=August 3, 2020 |access-date=May 15, 2020 |website=ZDNet}}</ref> and [[spacecraft]] ([[Falcon 9]] rocket, [[SpaceX Dragon 2|Dragon]] crew capsule, and the [[Ingenuity (helicopter)|Ingenuity]] Mars helicopter).<ref name="auto">{{Cite web |title=From Earth to orbit with Linux and SpaceX |url=https://www.zdnet.com/article/from-earth-to-orbit-with-linux-and-spacex/ |url-status=live |archive-url=https://web.archive.org/web/20200803060356/https://www.zdnet.com/google-amp/article/from-earth-to-orbit-with-linux-and-spacex/ |archive-date=August 3, 2020 |access-date=June 6, 2020 |website=[[ZDNet]]}}</ref><ref>{{Cite web |date=August 18, 2021 |title=Linux on Mars! |url=https://www.itpro.com/software/linux/360542/linux-on-mars |url-status=live |archive-url=https://web.archive.org/web/20220519145641/https://www.itpro.com/software/linux/360542/linux-on-mars |archive-date=May 19, 2022 |access-date=2022-06-30 |website=IT PRO |language=en}}</ref>
Linux is the most prominent example of [[free software]] and of [[open source]] development. The vast majority of the underlying [[source code]] is available for anyone to use, modify, and redistribute freely, and in some instances the entire operating system consists of free/open source software.
 
== History ==
{{mainMain|History of the Linux kernel}}
[[Image:Richard Matthew Stallman.jpeg|thumb|left|[[Richard Stallman]], founder of the [[GNU project]] for a free operating system.]]
 
=== Precursors ===
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 [[Library (computer science)|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 the development of this ambitious Mach-based design proved unexpectedly difficult and proceeded slowly, and to date has only been marginally usable.<ref>http://www.gnu.org/gnu/gnu-history.html</ref>
[[File:Linus Torvalds (cropped).jpg|thumb|right|upright|[[Linus Torvalds]], principal author of the Linux kernel ]]
 
The [[Unix]] operating system was conceived of and implemented in 1969, at [[AT&T Corporation|AT&T]]'s [[Bell Labs]] in the United States, by [[Ken Thompson]], [[Dennis Ritchie]], [[Douglas McIlroy]], and [[Joe Ossanna]].<ref>{{Citation| title = The UNIX System: The Evolution of the UNIX Time-sharing System| last = Ritchie| first = D.M.| journal = AT&T Bell Laboratories Technical Journal| volume = 63| number = 8| date = October 1984| page = 1577| doi = 10.1002/j.1538-7305.1984.tb00054.x| s2cid = 571269| quote = However, UNIX was born in 1969 ...}}</ref> First released in 1971, Unix was written entirely in [[assembly language]], as was common practice at the time. In 1973, in a key pioneering approach, it was rewritten in the [[C (programming language)|C]] programming language by Dennis Ritchie (except for some hardware and I/O routines). The availability of a [[high-level language]] implementation of Unix made its [[porting]] to different computer platforms easier.<ref>{{cite web|url=https://opensource.com/article/17/9/open-source-licensing|title=Open source licensing: What every technologist should know|last=Meeker|first=Heather|date=September 21, 2017|website=Opensource.com|archive-url=https://web.archive.org/web/20170924185302/https://opensource.com/article/17/9/open-source-licensing|archive-date=September 24, 2017|url-status=live|access-date=September 24, 2017}}</ref>
[[Image:Linus Torvalds.jpeg|thumb|right|[[Linus Torvalds]], creator of the [[Linux kernel]].]]
 
As a 1956 [[antitrust case]] forbade AT&T from entering the computer business,<ref>{{cite web|url=https://www.latimes.com/archives/la-xpm-1995-09-21-fi-48462-story.html|title=AT&T Breakup II: Highlights in the History of a Telecommunications Giant|work=[[Los Angeles Times]]|date=September 21, 1995 }}</ref> AT&T provided the operating system's [[source code]] to anyone who asked. As a result, Unix use grew quickly and it became widely adopted by [[academic institution]]s and businesses. In 1984, [[Breakup of the Bell System|AT&T divested itself]] of its [[Regional Bell Operating Company|regional operating companies]], and was released from its obligation not to enter the computer business; freed of that obligation, Bell Labs began selling Unix as a [[Proprietary software|proprietary]] product, where users were not legally allowed to modify it.<ref name="Vetter2021">{{cite book | author = Michael Vetter | date = 10 August 2021 | title = Acquisitions and Open Source Software Development | publisher = Springer Nature | page = 13 | isbn = 978-3-658-35084-0 | url = https://books.google.com/books?id=L_Q8EAAAQBAJ | access-date = 5 August 2022 | archive-date = August 5, 2022 | archive-url = https://web.archive.org/web/20220805143225/https://books.google.com/books?id=L_Q8EAAAQBAJ | url-status = live }}</ref><ref name="Tozzi2017">{{cite book | author = Christopher Tozzi | date = 11 August 2017 | title = For Fun and Profit: A History of the Free and Open Source Software Revolution | publisher = MIT Press | page = 52 | isbn = 978-0-262-03647-4 | url = https://books.google.com/books?id=MXosDwAAQBAJ | access-date = 5 August 2022 | archive-date = August 5, 2022 | archive-url = https://web.archive.org/web/20220805143226/https://books.google.com/books?id=MXosDwAAQBAJ | url-status = live }}</ref>
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 kernel and operating system at first, Torvalds and other early Linux kernel developers adapted their work to the GNU components and user-space programs, and later, when the GNU developers learned of Linux, they adapted parts of GNU to work with it. Thus Linux filled the last major gap in GNU, and the first complete, fully functional, and free-as-in-freedom operating system was born.
 
[[Onyx Systems]] began selling early microcomputer-based Unix workstations in 1980. Later, [[Sun Microsystems]], founded as a spin-off of a student project at [[Stanford University]], also began selling Unix-based desktop workstations in 1982. While Sun workstations did not use commodity PC hardware, for which Linux was later originally developed, it represented the first successful commercial attempt at distributing a primarily single-user microcomputer that ran a Unix operating system.<ref>{{cite book |url=https://www.oreilly.com/library/view/the-cathedral/0596001088/ch01.html |title=The Cathedral and the Bazaar |first=S. Raymond |last=Eric |publisher=O'Reilly & Associates, Inc |___location=Sebastopol, California |page=12 |isbn=0-596-00108-8 |date=October 1999 |access-date=July 21, 2022 |quote=In 1982, a group of Unix hackers from Stanford and Berkeley founded Sun Microsystems on the belief that Unix running on relatively inexpensive 68000-based hardware would prove a winning combination for a wide variety of applications. They were right, and their vision set the pattern for an entire industry. While still priced out of reach of most individuals, workstations were cheap for corporations and universities; networks of them (one to a user) rapidly replaced the older VAXes and other time-sharing systems |archive-date=July 18, 2022 |archive-url=https://web.archive.org/web/20220718070144/https://www.oreilly.com/library/view/the-cathedral/0596001088/ch01.html |url-status=live }}</ref><ref>{{cite news |url=https://www.latimes.com/archives/la-xpm-1988-01-31-fi-39535-story.html |title=Sun Microsystems Is Blazing a Red-Hot Trail in Computers: $300-Million AT&T; Deal Moves Firm to Set Sights on IBM |first=Carla |last=Lazzareschi |newspaper=Los Angeles Times |date=January 31, 1988 |access-date=July 21, 2022 |archive-date=July 21, 2022 |archive-url=https://web.archive.org/web/20220721100144/https://www.latimes.com/archives/la-xpm-1988-01-31-fi-39535-story.html |url-status=live }}</ref>
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.
 
With Unix increasingly "locked in" as a proprietary product, the [[GNU Project]], started in 1983 by [[Richard Stallman]], had the goal of creating a "complete Unix-compatible software system" composed entirely of [[free software]]. Work began in 1984.<ref name="gnu_announce">{{cite web |url=https://www.gnu.org/gnu/initial-announcement.html |title=About the GNU Project – Initial Announcement |publisher=Gnu.org |date=June 23, 2008 |access-date=March 9, 2009 |url-status=live |archive-url=https://web.archive.org/web/20090305002259/http://www.gnu.org/gnu/initial-announcement.html |archive-date=March 5, 2009}}</ref> Later, in 1985, Stallman started the [[Free Software Foundation]] and wrote the [[GNU General Public License]] (GNU GPL) in 1989. By the early 1990s, many of the programs required in an operating system (such as libraries, [[compiler]]s, [[text editor]]s, a [[Shell (computing)#Command-line shells|command-line shell]], and a [[windowing system]]) were completed, although low-level elements such as [[device driver]]s, [[daemon (computing)|daemons]], and the [[kernel (operating system)|kernel]], called [[GNU Hurd]], were stalled and incomplete.<ref>{{cite web |url=http://thevarguy.com/open-source-application-software-companies/050415/open-source-history-why-did-linux-succeed |title=Open Source History: Why Did Linux Succeed? |author=Christopher Tozzi |date=August 23, 2016 |access-date=August 17, 2017 |url-status=usurped |archive-url=https://web.archive.org/web/20170817205211/http://thevarguy.com/open-source-application-software-companies/050415/open-source-history-why-did-linux-succeed |archive-date=August 17, 2017 }}</ref>
=== Etymology ===
{{main|GNU/Linux naming controversy}}
 
[[Minix]] was created by [[Andrew S. Tanenbaum]], a [[computer science]] professor, and released in 1987 as a minimal Unix-like operating system targeted at students and others who wanted to learn operating system principles. Although the [[Source-available software|complete source code of Minix was freely available]], the licensing terms prevented it from being [[free software]] until the licensing changed in April 2000.<ref name="minix-lic">{{Cite web|url=http://minix1.woodhull.com/faq/mxlicense.html |title=MINIX is now available under the BSD license |archive-url=https://web.archive.org/web/20160304083114/http://minix1.woodhull.com/faq/mxlicense.html |archive-date=March 4, 2016 |url-status=live |date=April 9, 2000 |website=minix1.woodhull.com}}</ref>
The name Linux derives from the use of the [[Linux kernel]]. As most if not all Linux distributions use GNU software, some people insist on [[GNU/Linux]] as the correct name. However, the media and population at large refers to this family of operating systems as Linux. The goal of the GNU project is to produce a Unix-compatible operating system consisting entirely of free software, and all general-purpose Linux distributions rely on numerous GNU components. 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, while some distributors make a point of using the combined form, most notably [[Debian]] with its ''[[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. In all cases context dictates whether Linux refers to an operating system or the kernel.
 
=== PronunciationCreation ===
While attending the [[University of Helsinki]] in the fall of 1990, Torvalds enrolled in a Unix course.<ref>{{cite web |url=https://www.wired.com/1997/08/linux-5 |title=The Greatest OS That (N)ever Was |first=Glyn |last=Moody |publisher=Wired |date=August 1, 1997 |access-date=July 20, 2022 |archive-date=July 25, 2022 |archive-url=https://web.archive.org/web/20220725204746/http://www.wired.com/1997/08/linux-5/ |url-status=live }}</ref> The course used a [[MicroVAX]] minicomputer running [[Ultrix]], and one of the required texts was ''[[Operating Systems: Design and Implementation]]'' by [[Andrew S. Tanenbaum]]. This textbook included a copy of Tanenbaum's [[Minix]] operating system. It was with this course that Torvalds first became exposed to Unix. In 1991, he became curious about operating systems.<ref>{{cite newsgroup | title = What would you like to see most in minix? | newsgroup = comp.os.minix | message-id = 1991Aug25.205708.9541@klaava.Helsinki.FI | url = https://groups.google.com/group/comp.os.minix/msg/b813d52cbc5a044b | last = Torvalds | first = Linus | access-date = September 9, 2006 | archive-date = May 9, 2013 | archive-url = https://web.archive.org/web/20130509134305/http://groups.google.com/group/comp.os.minix/msg/b813d52cbc5a044b | url-status = live }}</ref> Frustrated by the licensing of Minix, which at the time limited it to educational use only,<ref name="minix-lic" /> he began to work on his operating system kernel, which eventually became the Linux kernel.
In 1992, Torvalds explained how he pronounces the word ''Linux'':
 
On July 3, 1991, to implement Unix [[system call]]s, Linus Torvalds attempted unsuccessfully to obtain a digital copy of the [[POSIX]] standards [[Software documentation|documentation]] with a request to the ''comp.os.minix'' [[Usenet newsgroup|newsgroup]].<ref>{{cite book |last1=Torvalds |first1=Linus |last2=Diamond |first2=David |date=2001 |title=Just for Fun: The Story of an Accidental Revolutionary |___location=[[New York City]] |publisher=[[HarperCollins]] |pages=78–80 |isbn=0-06-662073-2}}</ref> After not finding the POSIX documentation, Torvalds initially resorted to determining system calls from [[SunOS]] documentation owned by the university for use in operating its [[Sun Microsystems]] server. He also learned some system calls from Tanenbaum's Minix text.
{{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>}}
 
Torvalds began the development of the Linux kernel on Minix and applications written for Minix were also used on Linux. Later, Linux matured and further Linux kernel development took place on Linux systems.<ref>{{cite newsgroup|title=Chicken and egg: How was the first linux gcc binary created??|author=Linus Torvalds|date=October 14, 1992|newsgroup=comp.os.minix|message-id=1992Oct12.100843.26287@klaava.Helsinki.FI|url=https://groups.google.com/group/comp.os.linux/msg/4ae6db18d3f49b0e|access-date=August 17, 2013|archive-date=May 9, 2013|archive-url=https://web.archive.org/web/20130509140002/http://groups.google.com/group/comp.os.linux/msg/4ae6db18d3f49b0e|url-status=live}}</ref> GNU applications also replaced all Minix components, because it was advantageous to use the freely available code from the GNU Project with the fledgling operating system; code licensed under the GNU GPL can be reused in other computer programs as long as they also are released under the same or a compatible license. Torvalds initiated a switch from his original license, which prohibited commercial redistribution, to the GNU GPL.<ref>{{cite web |url=https://www.kernel.org/pub/linux/kernel/Historic/old-versions/RELNOTES-0.12 |title=Release notes for Linux v0.12 |last=Torvalds |first=Linus |author-link=Linus Torvalds |date=January 5, 1992 |publisher=Linux Kernel Archives |archive-url=https://web.archive.org/web/20070819045030/http://www.kernel.org/pub/linux/kernel/Historic/old-versions/RELNOTES-0.12 |archive-date=August 19, 2007 |access-date=July 23, 2007 |quote=The Linux copyright will change: I've had a couple of requests to make it compatible with the GNU copyleft, removing the "you may not distribute it for money" condition. I agree. I propose that the copyright be changed so that it confirms to GNU ─ pending approval of the persons who have helped write code. I assume this is going to be no problem for anybody: If you have grievances ("I wrote that code assuming the copyright would stay the same") mail me. Otherwise, The GNU copyleft takes effect since the first of February. If you do not know the gist of the GNU copyright ─ read it.}}</ref> Developers worked to integrate GNU components with the Linux kernel, creating a fully functional and free operating system.<ref name="gnu history">{{cite web |url=https://www.gnu.org/gnu/gnu-history.html |title=Overview of the GNU System |publisher=Gnu.org |access-date=March 9, 2009 |url-status=live |archive-url=https://web.archive.org/web/20090228140819/http://www.gnu.org/gnu/gnu-history.html |archive-date=February 28, 2009}}</ref>
<!-- The above is an exact quote from the Usenet post. Do not copyedit it. -->
 
Although not released until 1992, due to [[UNIX System Laboratories, Inc. v. Berkeley Software Design, Inc.|legal complications]], the development of [[386BSD]], from which [[NetBSD]], [[OpenBSD]] and [[FreeBSD]] descended, predated that of Linux. Linus Torvalds has stated that if the [[GNU kernel]] or 386BSD had been available in 1991, he probably would not have created Linux.<ref>{{cite web |url=http://www.dina.dk/~abraham/Linus_vs_Tanenbaum.html |title=Linus vs. Tanenbaum debate |archive-url=https://web.archive.org/web/20121003060514/http://www.dina.dk/~abraham/Linus_vs_Tanenbaum.html |archive-date=October 3, 2012 |access-date=February 19, 2014}}</ref><ref name="meta">{{cite web|url=http://gondwanaland.com/meta/history/interview.html|title=The Choice of a GNU Generation – An Interview With Linus Torvalds|last=Linksvayer|first=Mike|year=1993|work=Meta magazine|access-date=January 20, 2009|url-status=live|archive-url=https://web.archive.org/web/20090225212557/http://gondwanaland.com/meta/history/interview.html|archive-date=February 25, 2009}}</ref>
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]}}.
 
=== {{Anchor|FREAX}}Naming ===
== Distribution ==
[[File:Linux 0 12.jpg|thumb|5.25-inch [[floppy disk]]s holding a very early version of Linux]]
{{main|Linux (kernel)#Portability|Linux distribution}}
 
Linus Torvalds had wanted to call his invention "Freax", a [[portmanteau]] of "free", "freak", and "x" (as an allusion to Unix). During the start of his work on the system, some of the project's [[makefile]]s included the name "Freax" for about half a year. Torvalds considered the name "Linux" but dismissed it as too egotistical.<ref name="fun">Torvalds, Linus and Diamond, David, ''Just for Fun: The Story of an Accidental Revolutionary'', 2001, {{ISBN|0-06-662072-4}}</ref>
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]].
 
To facilitate development, the files were uploaded to the [[File Transfer Protocol|FTP server]] of [[FUNET]] in September 1991. Ari Lemmke, Torvalds' coworker at the [[Helsinki University of Technology]] (HUT) who was one of the volunteer administrators for the FTP server at the time, did not think that "Freax" was a good name, so he named the project "Linux" on the server without consulting Torvalds.<ref name="fun" /> Later, however, Torvalds consented to "Linux".
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>
 
According to a [[Usenet newsgroup|newsgroup]] post by Torvalds,<ref name="pronunciation-2"/> the word "Linux" should be pronounced ({{IPAc-en|audio=Linus-linux.ogg|ˈ|l|ɪ|n|ʊ|k|s}} {{respell|LIN|uuks}}) with a short 'i' as in 'print' and 'u' as in 'put'. To further demonstrate how the word "Linux" should be pronounced, he included an audio guide with the kernel source code.<ref name="Pronounce">{{cite web|url = https://www.kernel.org/pub/linux/kernel/SillySounds|title = Index of /pub/linux/kernel/SillySounds|access-date = August 3, 2009|last = Torvalds|first = Linus|date = March 1994|url-status=live|archive-url = https://web.archive.org/web/20091008074754/http://www.kernel.org/pub/linux/kernel/SillySounds/|archive-date = October 8, 2009|df = mdy-all}}</ref> However, in this recording, he pronounces Linux as ''{{IPA|/ˈlinʊks/}}'' ({{respell|LEEN|uuks}}) with a short but [[close front unrounded vowel]], instead of a [[near-close near-front unrounded vowel]] as in his newsgroup post.
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.
 
=== Commercial and popular uptake ===
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.
{{Main|Linux adoption}}{{Multiple image
| image1 = Nexus 5X (White).jpg
| image2 = ChromebookStaplesStore.jpg
| footer = From top-left clockwise: [[Nexus 5X]] running Android, [[Chromebook]]s, [[Server (computing)|server platform]], [[In-flight entertainment system]]
| direction = horizontal
| image3 = In flight system Linux bootup flat.jpg
| perrow = 2 / 2
| total_width = 320
| image4 = Custom Miniature Linux Server (2005).jpeg
}}
The adoption of Linux in production environments, rather than being used only by hobbyists, started to take off first in the mid-1990s in the supercomputing community, where organizations such as [[NASA]] started replacing their increasingly expensive machines with [[computer cluster|clusters]] of inexpensive commodity computers running Linux. Commercial use began when [[Dell]] and [[IBM]], followed by [[Hewlett-Packard]], started offering Linux support to escape [[Microsoft]]'s monopoly in the desktop operating system market.<ref name="security">{{cite book |title=Practical UNIX and Internet Security |first1=Simson |last1=Garfinkel |first2=Gene |last2=Spafford |first3=Alan |last3=Schwartz |publisher=O'Reilly |year=2003 |page=21}}</ref>
 
Today, Linux systems are used throughout computing, from [[embedded system]]s to virtually all [[supercomputer]]s,<ref name="rules_supercomputers"/><ref>{{cite web |title=Linux system development on an embedded device |url=http://www-128.ibm.com/developerworks/library/l-embdev.html |first1=Anand |last1=Santhanam |author2=Vishal Kulkarni |work=DeveloperWorks |publisher=IBM |date=March 1, 2002 |access-date=July 26, 2007 |archive-url=https://web.archive.org/web/20070329123926/http://www-128.ibm.com/developerworks/library/l-embdev.html |archive-date=March 29, 2007}}</ref> and have secured a place in server installations such as the popular [[LAMP (software bundle)|LAMP]] application stack. The use of Linux distributions in home and enterprise desktops has been growing.<ref name="galli2007">{{cite news | first=Peter | last=Galli | title=Vista Aiding Linux Desktop, Strategist Says | date=August 8, 2007 | publisher=Ziff Davis Enterprise Inc. | url=http://www.eweek.com/c/a/Linux-and-Open-Source/Vista-Aiding-Linux-Desktop-Strategist-Says/ | work=eWEEK | access-date=November 19, 2007 | url-status=live | archive-url=http://arquivo.pt/wayback/20090709050715/http://www.eweek.com/c/a/Linux-and-Open-Source/Vista-Aiding-Linux-Desktop-Strategist-Says/ | archive-date=July 9, 2009 | df=mdy-all }}</ref><ref name="paul2007">{{cite news | first=Ryan | last=Paul | title=Linux market share set to surpass Win 98, OS X still ahead of Vista | date=September 3, 2007 | publisher=Ars Technica, LLC | url=https://arstechnica.com/news.ars/post/20070903-linux-marketshare-set-to-surpass-windows-98.html | work=Ars Technica | access-date=November 19, 2007 | url-status=live | archive-url=https://web.archive.org/web/20071116080339/http://arstechnica.com/news.ars/post/20070903-linux-marketshare-set-to-surpass-windows-98.html | archive-date=November 16, 2007 | df=mdy-all }}</ref><ref name="beer2007">{{cite news|first=Stan |last=Beer |title=Vista to play second fiddle to XP until 2009: Gartner |date=January 23, 2007 |url=http://www.itwire.com.au/content/view/8842/53/ |work=iTWire |access-date=November 19, 2007 |url-status=dead |archive-url=https://web.archive.org/web/20081203204529/http://www.itwire.com.au/content/view/8842/53/ |archive-date=December 3, 2008 }}</ref><ref name="applications2007">{{cite web |url=http://marketshare.hitslink.com/report.aspx?qprid=2&qpmr=15&qpdt=1&qpct=3&qptimeframe=Y |title=Operating System Marketshare for Year 2007 |access-date=November 19, 2007 |date=November 19, 2007 |work=Market Share |publisher=Net Applications |url-status=live |archive-url=https://web.archive.org/web/20130624203258/http://marketshare.hitslink.com/report.aspx?qprid=2&qpmr=15&qpdt=1&qpct=3&qptimeframe=Y |archive-date=June 24, 2013}}</ref><ref name="xitimonitor2007">{{cite news |title=Vista slowly continues its growth; Linux more aggressive than Mac OS during the summer |date=September 24, 2007 |publisher=AT Internet/XiTi.com |url=http://www.xitimonitor.com/en-us/internet-users-equipment/operating-systems-august-2007/index-1-2-7-107.html |work=XiTiMonitor |access-date=November 19, 2007 |archive-url=https://web.archive.org/web/20071214013746/http://www.xitimonitor.com/en-us/internet-users-equipment/operating-systems-august-2007/index-1-2-7-107.html |archive-date=December 14, 2007}}</ref><ref name="globalstats2007">{{cite web |url=http://www.w3counter.com/globalstats.php |title=Global Web Stats |access-date=November 19, 2007 |date=November 10, 2007 |work=W3Counter |publisher=Awio Web Services LLC |url-status=live |archive-url=https://archive.today/20120628/http://www.w3counter.com/globalstats.php |archive-date=June 28, 2012}}</ref><ref name="zeitgeist2004">{{cite web |url=http://www.google.com/press/zeitgeist/zeitgeist-jun04.html |title=June 2004 Zeitgeist |access-date=November 19, 2007 |date=August 12, 2004 |work=Google Press Center |publisher=Google Inc. |url-status=live |archive-url=https://web.archive.org/web/20110711135752/http://www.google.com/press/zeitgeist/zeitgeist-jun04.html |archive-date=July 11, 2011}}</ref>
== Usage ==
 
Linux distributions have also become popular in the [[netbook]] market, with many devices shipping with customized Linux distributions installed, and Google releasing their own [[ChromeOS]] designed for netbooks.
Linux is used on a wide variety of machines for a wide variety of purposes.
 
Linux's greatest success in the consumer market is perhaps the mobile device market, with Android being the dominant operating system on [[smartphone]]s and very popular on [[Tablet computer|tablets]] and, more recently, on [[wearable technology|wearables]], and vehicles. [[Linux gaming]] is also on the rise with [[Valve Corporation|Valve]] showing its support for Linux and rolling out [[SteamOS]], its own gaming-oriented Linux distribution, which was later implemented in their [[Steam Deck]] platform. Linux distributions have also gained popularity with various local and national governments, such as the federal government of [[Brazil]].<ref>{{cite web|last1=McMillan|first1=Robert|title=IBM, Brazilian government launch Linux effort|url=http://www.infoworld.com/article/2675550/operating-systems/ibm--brazilian-government-launch-linux-effort.html|website=www.infoworld.com|date=October 10, 2003|publisher=IDG News Service|access-date=February 16, 2015|url-status=live|archive-url=https://web.archive.org/web/20150315055524/http://www.infoworld.com/article/2675550/operating-systems/ibm--brazilian-government-launch-linux-effort.html|archive-date=March 15, 2015}}</ref>
=== 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]]
 
=== Development ===
After a burst of development in the first half of the 2000's, Linux has grown to have a user interface comparable with that of [[Windows]] and [[Mac OS X]]. Desktop users coming from [[Mac OS X]] or [[Windows]] 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>
Linus Torvalds is the lead maintainer for the Linux kernel and guides its development, while [[Greg Kroah-Hartman]] is the lead maintainer for the stable branch.<ref>{{cite web |url=https://www.linuxfoundation.org/about/ |title=About Us – The Linux Foundation |access-date=2018-10-01 |archive-date=October 28, 2018 |archive-url=https://web.archive.org/web/20181028015400/https://www.linuxfoundation.org/about/ |url-status=live }}</ref> [[Zoë Kooyman]] is the executive director of the Free Software Foundation,<ref>{{Cite web |title=Staff and Board — Free Software Foundation — Working together for free software |url=https://www.fsf.org/about/staff-and-board |archive-url=https://web.archive.org/web/20231121082724/https://www.fsf.org/about/staff-and-board |archive-date=2023-11-21 |access-date=2023-11-22 |website=Free Software Foundation}}</ref> which in turn supports the GNU components.<ref>{{cite web |url=http://www.fsf.org/about/ |title=Free software is a matter of liberty, not price — Free Software Foundation — working together for free software |publisher=Fsf.org |access-date=July 12, 2012 |url-status=dead |archive-url=https://web.archive.org/web/20120714122536/http://www.fsf.org/about |archive-date=July 14, 2012 }}</ref> Finally, individuals and corporations develop third-party non-GNU components. These third-party components comprise a vast body of work and may include both kernel modules and user applications and libraries.
 
Linux vendors and communities combine and distribute the kernel, GNU components, and non-GNU components, with additional [[package management]] software in the form of Linux distributions.
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.
 
== Design ==
==== Comparison of Windows and Linux ====
{{See also|Linux kernel#Architecture and features}}
Many developers of [[open source|open-source]] software agree that the Linux kernel was not designed but rather [[evolution|evolved]] through [[natural selection]]. Torvalds considers that although the design of Unix served as a scaffolding, "Linux grew with a lot of mutations – and because the mutations were less than random, they were faster and more directed than [[Mutation#Induced mutation|alpha-particles in DNA]]."<ref>Email correspondence on the Linux Kernel development mailing list {{cite web |author1=Linus Torvalds |title=Re: Coding style, a non-issue |url=https://lwn.net/2001/1206/a/no-design.php3 |website=kernel.org |date=November 30, 2001 |access-date=August 10, 2020 |archive-date=August 12, 2021 |archive-url=https://web.archive.org/web/20210812201159/https://lwn.net/2001/1206/a/no-design.php3 |url-status=live }}</ref> [[Eric S. Raymond]] considers Linux's revolutionary aspects to be social, not technical: before Linux, complex software was designed carefully by small groups, but "Linux evolved in a completely different way. From nearly the beginning, it was rather casually hacked on by huge numbers of volunteers coordinating only through the Internet. Quality was maintained not by rigid standards or autocracy but by the naively simple strategy of releasing every week and getting feedback from hundreds of users within days, creating a sort of rapid Darwinian selection on the mutations introduced by developers."<ref>{{cite book |last1=Raymond |first1=Eric S. |editor1-last=O'Reilly |editor1-first=Tim |title=The Cathedral and the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary |date=2001 |publisher=O'Reilly & Associates |isbn=0-596-00108-8 |page=16 |edition=Second}}</ref> [[Bryan Cantrill]], an engineer of a competing OS, agrees that "Linux wasn't designed, it evolved", but considers this to be a limitation, proposing that some features, especially those related to security,<ref>"You have to design it you [[Fitness landscape|cannot asymptotically reach]] Security." Cantrill 2017</ref> cannot be evolved into, "this is not a biological system at the end of the day, it's a software system."<ref>{{cite AV media |date=November 26, 2015 |url=https://www.youtube.com/watch?v=Ya6h2zKlpaQ |title=The Cantrill Strikes Back {{!}} BSD Now 117 |publisher=[[Jupiter Broadcasting]] |via=[[YouTube]] |access-date=September 7, 2021 |archive-url=https://web.archive.org/web/20201214063300/https://www.youtube.com/watch?v=Ya6h2zKlpaQ |archive-date=December 14, 2020 |url-status=live}}</ref>
 
A Linux-based system is a modular Unix-like operating system, deriving much of its basic design from principles established in Unix during the 1970s and 1980s. Such a system uses a [[monolithic kernel]], the Linux kernel, which handles process control, networking, access to the [[peripheral]]s, and [[file system]]s. [[Device driver]]s are either integrated directly with the kernel or added as modules that are loaded while the system is running.<ref>{{cite web | url = https://stackoverflow.com/questions/1806585/why-is-linux-called-a-monolithic-kernel | title = Why is Linux called a monolithic kernel? | year = 2009 | access-date = October 16, 2013 | publisher = stackoverflow.com | url-status=live | archive-url = https://web.archive.org/web/20131017065550/http://stackoverflow.com/questions/1806585/why-is-linux-called-a-monolithic-kernel | archive-date = October 17, 2013 | df = mdy-all }}</ref>
{{main|Comparison of Windows and Linux}}
 
The GNU [[user space and kernel space|userland]] is a key part of most systems based on the Linux kernel, with Android being the notable exception. The [[glibc|GNU C library]], an implementation of the [[C standard library]], works as a wrapper for the system calls of the Linux kernel necessary to the kernel-userspace interface, the [[GNU toolchain|toolchain]] is a broad collection of programming tools vital to Linux development (including the [[GNU Compiler Collection|compilers]] used to build the Linux kernel itself), and the [[GNU Core Utilities|coreutils]] implement many basic [[List of Unix commands|Unix tools]]. The GNU Project also develops [[Bash (Unix shell)|Bash]], a popular [[Command-line interface|CLI]] shell. The [[graphical user interface]] (or GUI) used by most Linux systems is built on top of an implementation of the [[X Window System]].<ref name="oreilly-anatomy">{{cite web|url=https://personalpages.manchester.ac.uk/staff/m.dodge/cybergeography/atlas/linux_anatomy.pdf|title=Anatomy of a Linux System|date=July 23–26, 2001|publisher=O'Reilly|access-date=October 10, 2018|archive-date=September 4, 2019|archive-url=https://web.archive.org/web/20190904023052/https://personalpages.manchester.ac.uk/staff/m.dodge/cybergeography/atlas/linux_anatomy.pdf|url-status=live}}</ref> More recently, some of the Linux community has sought to move to using [[Wayland (protocol)|Wayland]] as the display server protocol, replacing X11.<ref>{{Cite web |title=Wayland vs. Xorg: Will Wayland Replace Xorg? |url=https://www.cbtnuggets.com/blog/technology/devops/wayland-vs-xorg-wayland-replace-xorg |access-date=2024-12-26 |website=CBT Nuggets |language=en}}</ref><ref>{{Cite web |title=What's the deal with X11 and Wayland? – TUXEDO Computers |url=https://www.tuxedocomputers.com/en/Whats-the-deal-with-X11-and-Wayland-_1.tuxedo |access-date=2024-12-26 |website=www.tuxedocomputers.com}}</ref>
Due to the prevalence of Windows, 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.
 
Many other open-source software projects contribute to Linux 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.
|-
| {{Linux layers}}
|}
 
Installed components of a Linux system include the following:<ref name="oreilly-anatomy" /><ref>{{cite web |url=http://www.ibm.com/developerworks/library/l-linuxboot/ |title=Inside the Linux boot process |last=M. Tim Jones |date=May 31, 2006 |publisher=IBM Developer Works |archive-url=https://web.archive.org/web/20131017052010/http://www.ibm.com/developerworks/library/l-linuxboot/ |archive-date=October 17, 2013 |access-date=October 16, 2013}}</ref>
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>
* A [[bootloader]], for example [[GNU GRUB]], [[LILO (bootloader)|LILO]], [[SYSLINUX]] or [[systemd-boot]]. This is a program that loads the Linux kernel into the computer's [[main memory]], by being executed by the computer when it is turned on and after the [[firmware]] initialization is performed.
* An [[init]] program, such as the traditional [[sysvinit]] and the newer [[systemd]], [[OpenRC]] and [[Upstart (software)|Upstart]]. This is the first [[Process (computing)|process]] launched by the Linux kernel, and is at the root of the process tree. It starts processes such as system services and login prompts (whether graphical or in terminal mode).
* [[Library (computing)|Software libraries]], which contain code that can be used by running processes. On Linux systems using [[Executable and Linkable Format|ELF]]-format executable files, the [[dynamic linker]] that manages the use of dynamic libraries is known as [[ld-linux.so]]. If the system is set up for the user to compile software themselves, [[header file]]s will also be included to describe the [[API|programming interface]] of installed libraries. Besides the most commonly used software library on Linux systems, the [[GNU C Library]] (glibc), there are numerous other libraries, such as [[Simple DirectMedia Layer|SDL]] and [[Mesa (computer graphics)|Mesa]].
** The [[C standard library]] is the library necessary to run programs written in [[C (programming language)|C]] on a computer system, with the GNU C Library being the standard. It provides an implementation of the POSIX API, as well as extensions to that API. For embedded systems, alternatives such as [[musl]], [[EGLIBC]] (a glibc fork once used by Debian) and [[uClibc]] (which was designed for [[uClinux]]) have been developed, although the last two are no longer maintained. Android uses its own C library, [[Bionic (software)|Bionic]]. However, musl can additionally be used as a replacement for glibc on desktop and laptop systems, as seen on certain Linux distributions like [[Void Linux]].
* Basic Unix commands, with GNU coreutils being the standard implementation. Alternatives exist for embedded systems, such as the copyleft [[BusyBox]], and the BSD-licensed [[Toybox]].
* [[Widget toolkit]]s are the libraries used to build [[graphical user interface]]s (GUIs) for software applications. Numerous widget toolkits are available, including [[GTK]] and Clutter developed by the [[GNOME Project]], [[Qt (software)|Qt]] developed by the [[Qt Project]] and led by [[The Qt Company]], and [[Enlightenment Foundation Libraries]] (EFL) developed primarily by the [[Enlightenment (software)|Enlightenment]] team.
* A [[package manager|package management system]], such as [[dpkg]] and [[RPM Package Manager|RPM]]. Alternatively packages can be compiled from binary or source [[Tar (computing)|tarballs]].
* User interface programs such as command shells or windowing environments.
 
=== User interface ===
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>
The [[user interface]], also known as the [[shell (computing)|shell]], is either a command-line interface (CLI), a graphical user interface (GUI), or controls attached to the associated hardware, which is common for embedded systems. For desktop systems, the default user interface is usually graphical, although the CLI is commonly available through [[terminal emulator]] windows or on a separate [[virtual console]].
[[File:GNOME Shell.png|thumb|GNOME Shell]]
CLI shells are text-based user interfaces, which use text for both input and output. The dominant shell used in Linux is the [[bash (Unix shell)|Bourne-Again Shell]] (bash), originally developed for the GNU Project; [[List of command-line interpreters|other shells]] such as [[Z shell|Zsh]] are also used.<ref>{{Cite web |title=What are the Different Types of Shells in Linux? {{!}} DigitalOcean |url=https://www.digitalocean.com/community/tutorials/different-types-of-shells-in-linux |access-date=2024-11-17 |website=www.digitalocean.com |language=en}}</ref><ref>{{Cite web |title=Understanding Linux Shells |url=https://www.hivelocity.net/kb/understanding-linux-shells/ |access-date=2024-11-17 |website=Hivelocity Hosting |language=en-US}}</ref> Most low-level Linux components, including various parts of the [[Userland (computing)|userland]], use the CLI exclusively. The CLI is particularly suited for automation of repetitive or delayed tasks and provides very simple [[inter-process communication]].
[[File:VirtualBox debian64 XFCE Hebrew.png|thumb|[[Debian]] running the [[Xfce]] desktop environment]]
[[File:Fedora Linux 40 KDE Plasma.png|thumb|[[Fedora Linux]] running the [[KDE Plasma|Plasma]] desktop environment]]
On desktop systems, the most popular user interfaces are the [[GUI shell]]s, packaged together with extensive [[desktop environment]]s, such as [[KDE Plasma]], [[GNOME]], [[MATE (desktop environment)|MATE]], [[Cinnamon (desktop environment)|Cinnamon]], [[LXDE]], [[Elementary OS|Pantheon]], and [[Xfce]], though a variety of additional user interfaces exist. Most popular user interfaces are based on the X Window System, often simply called "X" or "X11". It provides [[network transparency]] and permits a graphical application running on one system to be displayed on another where a user may interact with the application; however, certain extensions of the X Window System are not capable of working over the network.<ref>{{cite web |url = https://lwn.net/Articles/553415/ |title = The Wayland Situation: Facts About X vs. Wayland (Phoronix) |date = June 8, 2013 |access-date = October 11, 2013 |publisher = [[LWN.net]] |author = Jake Edge |url-status=live |archive-url = https://web.archive.org/web/20131022030529/http://lwn.net/Articles/553415/ |archive-date = October 22, 2013 |df = mdy-all }}</ref> Several X display servers exist, with the reference implementation, [[X.Org Server]], being the most popular.[[File:I3 window manager screenshot.png|thumb|[[I3 (window manager)|I3]] [[Tiling window manager]]]]
Several types of [[window manager]]s exist for X11, including [[Tiling window manager|tiling]], [[Dynamic window manager|dynamic]], [[stacking window manager|stacking]], and [[compositing window manager|compositing]]. Window managers provide means to control the placement and appearance of individual application windows, and interact with the X Window System. Simpler [[X window manager]]s such as [[dwm]], [[ratpoison]], or [[i3 (window manager)|i3wm]] provide a [[Minimalism (computing)|minimalist]] functionality, while more elaborate window managers such as [[FVWM]], [[Enlightenment (software)|Enlightenment]], or [[Window Maker]] provide more features such as a built-in [[taskbar]] and [[theme (computing)|themes]], but are still lightweight when compared to desktop environments. Desktop environments include window managers as part of their standard installations, such as [[Mutter (software)|Mutter]] (GNOME), [[KWin]] (KDE), or [[Xfwm]] (xfce), although users may choose to use a different window manager if preferred.
 
Wayland is a display server protocol intended as a replacement for the X11 protocol; {{As of|2022|lc=yes}}, it has received relatively wide adoption.<ref>{{Cite web | last=Miller | first=Matthew | url=https://fedoramagazine.org/announcing-fedora-36/ | title=Announcing Fedora 36 | access-date=2022-10-28 | date=May 6, 2022 | archive-date=August 2, 2022 | archive-url=https://web.archive.org/web/20220802155254/https://fedoramagazine.org/announcing-fedora-36/ | url-status=live }}</ref> Unlike X11, Wayland does not need an external window manager and compositing manager. Therefore, a Wayland compositor takes the role of the display server, window manager, and compositing manager. Weston is the reference implementation of Wayland, while GNOME's Mutter and KDE's KWin are being ported to Wayland as standalone display servers. Enlightenment has already been successfully ported since version 19.<ref>{{Cite web |last=Leiva-Gomez |first=Miguel |date=May 18, 2023 |title=What Is Wayland and What Does It Mean for Linux Users? |url=https://www.maketecheasier.com/what-is-wayland/ |access-date=June 18, 2024 |website=www.maketecheasier.com |language=en-US |archive-date=January 27, 2021 |archive-url=https://web.archive.org/web/20210127202354/https://www.maketecheasier.com/what-is-wayland/ |url-status=live }}</ref> Additionally, many window managers have been made for Wayland, such as Sway or Hyprland, as well as other graphical utilities such as Waybar or Rofi.
=== Enterprise usage ===
 
=== Video input infrastructure ===
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.
{{Main|Video4Linux}}
 
Linux currently has two modern kernel-userspace APIs for handling video input devices: [[Video4Linux|V4L2]] API for video streams and radio, and [[DVB]] API for digital TV reception.<ref>{{cite web | url = http://linuxtv.org/ | title = Linux TV: Television with Linux | access-date = October 16, 2013 | publisher = linuxtv.org | url-status=live | archive-url = https://web.archive.org/web/20131106185814/http://linuxtv.org/ | archive-date = November 6, 2013 | df = mdy-all }}</ref>
=== Server usage ===
 
Due to the complexity and diversity of different devices, and due to the large number of formats and standards handled by those APIs, this infrastructure needs to evolve to better fit other devices. Also, a good userspace device library is the key to the success of having userspace applications to be able to work with all formats supported by those devices.<ref>{{cite web | url = https://lwn.net/Articles/203924/ | title = The Video4Linux2 API: an introduction | date = October 11, 2006 | access-date = October 16, 2013 | author = Jonathan Corbet | publisher = [[LWN.net]] | url-status=live | archive-url = https://web.archive.org/web/20131007115957/http://lwn.net/Articles/203924/ | archive-date = October 7, 2013 | df = mdy-all }}</ref><ref>{{cite web | url = http://linuxtv.org/downloads/v4l-dvb-apis/compat.html | title = Part I. Video for Linux Two API Specification | work = Chapter 7. Changes | access-date = October 16, 2013 | publisher = linuxtv.org | url-status=dead | archive-url = https://web.archive.org/web/20131017050817/http://linuxtv.org/downloads/v4l-dvb-apis/compat.html | archive-date = October 17, 2013 | df = mdy-all }}</ref>
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.
 
=== EmbeddedDevelopment systems ===
[[File:Unix timeline.en.svg|thumb|upright=2.25|Simplified history of Unix-like operating systems. Linux shares similar architecture and concepts (as part of the [[POSIX]] standard) but does not share non-free source code with the original [[Unix]] or Minix.]]
{{Main|Linux distribution|Free software}}
 
The primary difference between Linux and many other popular contemporary operating systems is that the Linux kernel and other components are free and open-source software. Linux is not the only such operating system, although it is by far the most widely used.<ref name="MarketShare09NOV">{{cite web|url = http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=8|title = Operating System Market Share|access-date = December 11, 2009|last = Operating System Market Share|date = November 2009|url-status=live|archive-url = https://web.archive.org/web/20100125022803/http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=8|archive-date = January 25, 2010|df = mdy-all}}</ref> Some [[free software license|free]] and [[open-source license|open-source software licenses]] are based on the principle of [[copyleft]], a kind of reciprocity: any work derived from a copyleft piece of software must also be copyleft itself. The most common free software license, the GNU General Public License (GPL), is a form of copyleft and is used for the Linux kernel and many of the components from the GNU Project.<ref>{{Cite web |title=What is Copyleft? – GNU Project – Free Software Foundation |url=https://www.gnu.org/licenses/copyleft.en.html |url-status=live |archive-url=https://web.archive.org/web/20151006133153/https://www.gnu.org/licenses/copyleft.en.html |archive-date=October 6, 2015 |access-date=2020-05-12 |website=www.gnu.org |language=en}}</ref>
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.
 
Linux-based distributions are intended by developers for [[interoperability]] with other operating systems and established computing standards. Linux systems adhere to POSIX,<ref>{{cite web | url = http://www.ukuug.org/newsletter/linux-newsletter/linux@uk21/posix.shtml | title = POSIX.1 (FIPS 151-2) Certification | url-status=live | archive-url = https://web.archive.org/web/20120226091425/http://www.ukuug.org/newsletter/linux-newsletter/linux@uk21/posix.shtml | archive-date = February 26, 2012 | df = mdy-all }}</ref> [[Single UNIX Specification]] (SUS),<ref>{{cite web | title = How source code compatible is Debian with other Unix systems? | url = http://www.debian.org/doc/FAQ/ch-compat.en.html#s-otherunices | work = Debian FAQ | publisher = the Debian project | url-status=live | archive-url = https://web.archive.org/web/20111016004547/http://www.debian.org/doc/FAQ/ch-compat.en.html#s-otherunices | archive-date = October 16, 2011 | df = mdy-all }}</ref> [[Linux Standard Base]] (LSB), [[International Organization for Standardization|ISO]], and [[American National Standards Institute|ANSI]] standards where possible, although to date only one Linux distribution has been POSIX.1 certified, Linux-FT.<ref>{{cite web |url=http://www.linuxjournal.com/article/0131 |title=Certifying Linux |last=Eissfeldt |first=Heiko |date=August 1, 1996 |publisher=Linux Journal |archive-url=https://web.archive.org/web/20160404122450/http://www.linuxjournal.com/article/0131 |archive-date=April 4, 2016}}</ref><ref>{{cite web |url=http://www.debian.org/doc/FAQ/ch-compat.en.html |title=The Debian GNU/Linux FAQ – Compatibility issues |archive-url=https://web.archive.org/web/20111010111215/http://www.debian.org/doc/FAQ/ch-compat.en.html |archive-date=October 10, 2011 |access-date=September 17, 2011}}</ref> [[The Open Group]] has tested and certified at least two Linux distributions as qualifying for the Unix trademark, [[EulerOS]] and [[Inspur K-UX]].<ref name="proven20230117">{{Cite web |last=Proven |first=Liam |date=2023-01-17 |title=Unix is dead. Long live Unix! |url=https://www.theregister.com/2023/01/17/unix_is_dead/ |archive-url=http://web.archive.org/web/20250505230444/https://www.theregister.com/2023/01/17/unix_is_dead/ |archive-date=2025-05-05 |access-date=2025-05-13 |website=The Register |language=en}}</ref>
=== Supercomputing ===
 
Free software projects, although developed through [[collaboration]], are often produced independently of each other. The fact that the software licenses explicitly permit redistribution, however, provides a basis for larger-scale projects that collect the software produced by stand-alone projects and make it available all at once in the form of a Linux distribution.
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>
 
Many Linux distributions manage a remote collection of system software and application software packages available for download and installation through a network connection. This allows users to adapt the operating system to their specific needs. Distributions are maintained by individuals, loose-knit teams, volunteer organizations, and commercial entities. A distribution is responsible for the default configuration of the installed Linux kernel, general system security, and more generally integration of the different software packages into a coherent whole. Distributions typically use a package manager such as [[APT (software)|apt]], [[yum (software)|yum]], [[ZYpp|zypper]], [[Pacman (package manager)|pacman]] or [[Portage (software)|portage]] to install, remove, and update all of a system's software from one central ___location.<ref>{{Cite web|title=The evolution of package managers|url=https://opensource.com/article/18/7/evolution-package-managers|last=comments|first=26 Jul 2018 Steve OvensFeed 151up 9|website=Opensource.com|language=en|access-date=2020-05-12|archive-date=July 26, 2018|archive-url=https://web.archive.org/web/20180726211300/https://opensource.com/article/18/7/evolution-package-managers|url-status=live}}</ref>
=== Gaming ===
 
=== Community ===
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 [[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.
{{See also|Free software movement|Linux user group}}
 
A distribution is largely driven by its developer and user communities. Some vendors develop and fund their distributions on a volunteer basis, [[Debian]] being a well-known example. Others maintain a community version of their commercial distributions, as [[Red Hat]] does with [[Fedora Linux|Fedora]], and [[SUSE S.A.|SUSE]] does with [[openSUSE]].<ref>{{Cite web|url=http://getfedora.org/|title=Get Fedora|website=getfedora.org|language=en|access-date=2020-02-24|archive-date=July 11, 2020|archive-url=https://web.archive.org/web/20200711030627/https://getfedora.org/|url-status=live}}</ref><ref>{{Cite web|url=https://www.opensuse.org/|title=The makers' choice for sysadmins, developers and desktop users.|last=design|first=Cynthia Sanchez: front-end and UI, Zvezdana Marjanovic: graphic|website=openSUSE|access-date=2020-02-24|archive-date=August 5, 2005|archive-url=https://web.archive.org/web/20050805025740/https://www.opensuse.org/|url-status=live}}</ref>
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.
 
In many cities and regions, local associations known as [[Linux User Group]]s (LUGs) seek to promote their preferred distribution and by extension free software. They hold meetings and provide free demonstrations, training, technical support, and operating system installation to new users. Many Internet communities also provide support to Linux users and developers. Most distributions and free software / open-source projects have [[Internet Relay Chat|IRC]] chatrooms or [[newsgroup]]s. [[Internet forum|Online forums]] are another means of support, with notable examples being [[Stack Exchange|Unix & Linux Stack Exchange]],<ref>{{cite book |last1=Inshanally |first1=Philip |title=CompTIA Linux+ Certification Guide: A comprehensive guide to achieving LX0-103 and LX0-104 certifications with mock exams |date=26 September 2018 |publisher=Packt Publishing Ltd |isbn=978-1-78934-253-6 |page=180 |url=https://books.google.com/books?id=08JwDwAAQBAJ |language=en}}</ref><ref>{{cite book |last1=Barrett |first1=Daniel J. |title=Linux kurz & gut: Die wichtigen Befehle |date=27 August 2024 |publisher=O'Reilly |isbn=978-3-96010-868-9 |page=61 |url=https://books.google.com/books?id=6aAXEQAAQBAJ |language=de}}</ref> [[LinuxQuestions.org]] and the various distribution-specific support and community forums, such as ones for [[Ubuntu]], Fedora, [[Arch Linux]], [[Gentoo Linux|Gentoo]], etc. Linux distributions host [[mailing list]]s; commonly there will be a specific topic such as usage or development for a given list.
==== See also ====
* [[List of Linux games]]
* [[List of commercial Linux games]]
* [[List of professionally-developed Linux games]]
 
There are several technology websites with a Linux focus. Print magazines on Linux often bundle [[cover disk]]s that carry software or even complete Linux distributions.<ref>{{cite web | url=http://www.linuxformat.co.uk/dvd/ | title=Linux Format DVD contents | author=[[Linux Format]] | access-date=January 17, 2008 |archive-url = https://web.archive.org/web/20080808113845/http://www.linuxformat.co.uk/dvd/|archive-date=August 8, 2008 }}</ref><ref>{{cite web | url=http://www.linux-magazine.com/resources/current_issue | title=Current Issue | author=linux-magazine.com | access-date=January 17, 2008 | author-link=Linux Magazine | url-status=dead | archive-url=https://web.archive.org/web/20080110033853/http://www.linux-magazine.com/resources/current_issue | archive-date=January 10, 2008 | df=mdy-all }}</ref>
=== Education ===
 
Although Linux distributions are generally available without charge, several large corporations sell, support, and contribute to the development of the components of the system and free software. An analysis of the Linux kernel in 2017 showed that well over 85% of the code was developed by programmers who are being paid for their work, leaving about 8.2% to unpaid developers and 4.1% unclassified.<ref name = "Linux Foundation 2021-11-14">{{Cite web|title=State of Linux Kernel Development 2017|url=https://www.linuxfoundation.org/tools/state-of-linux-kernel-development-2017/|access-date=2021-11-14|website=Linux Foundation|language=en-US|archive-date=November 14, 2021|archive-url=https://web.archive.org/web/20211114072617/https://www.linuxfoundation.org/tools/state-of-linux-kernel-development-2017/|url-status=live}}</ref> Some of the major corporations that provide contributions include [[Intel]], [[Samsung]], [[Google]], [[AMD]], [[Oracle Corporation|Oracle]], and [[Facebook]].<ref name="Linux Foundation 2021-11-14" /> Several corporations, notably Red Hat, [[Canonical (company)|Canonical]], and [[SUSE S.A.|SUSE]] have built a significant business around Linux distributions.
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.
 
The [[free software license]]s, on which the various software packages of a distribution built on the Linux kernel are based, explicitly accommodate and encourage commercialization; the relationship between a Linux distribution as a whole and individual vendors may be seen as [[symbiosis|symbiotic]]. One common [[business model]] of commercial suppliers is charging for support, especially for business users. A number of companies also 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.<ref>{{Cite web |title=From Freedom to Profit: Red Hat's Latest Move – An In-Depth Review of its Impact on Free Software and Open Source Values |url=https://www.linuxcareers.com/resources/blog/2023/07/from-freedom-to-profit-how-red-hats-latest-move-reveals-a-shift-in-free-software-and-open-source-v/ |access-date=2024-11-16 |website=Linux Careers |language=en}}</ref>
== Commercial considerations and legal issues ==
 
Another business model is to give away the software to sell hardware. This used to be the norm in the computer industry, with operating systems such as [[CP/M]], [[Apple DOS]], and versions of the [[classic Mac OS]] before 7.6 freely copyable (but not modifiable). As computer hardware standardized throughout the 1980s, it became more difficult for hardware manufacturers to profit from this tactic, as the OS would run on any manufacturer's computer that shared the same architecture.<ref>{{Cite web |last=Thompson |first=Ben |date=2020-11-11 |title=Apple's Shifting Differentiation |url=https://stratechery.com/2020/apples-shifting-differentiation/ |access-date=2024-12-17 |website=Stratechery by Ben Thompson |language=en-US}}</ref><ref>{{Cite web |last=Equity |first=International Brand |date=2024-05-28 |title=Apple Business Model Analysis |url=https://www.internationalbrandequity.com/apple-business-model-analysis/ |access-date=2024-12-17 |website=International Brand Equity (IBE) |language=en-US}}</ref>
As with any complex software project, there are many issues surrounding Linux from both commercial and legal standpoints.
 
=== SupportProgramming on Linux ===
Most [[programming language]]s support Linux either directly or through third-party community based [[Porting|ports]].<ref>{{cite web |url=https://gcc.gnu.org/wiki/GFortran |title=gfortran — the GNU Fortran compiler, part of GCC |website=GNU GCC |access-date=3 May 2020 |archive-date=April 18, 2020 |archive-url=https://web.archive.org/web/20200418073603/http://gcc.gnu.org/wiki/GFortran |url-status=live }}</ref> The original development tools used for building both Linux applications and operating system programs are found within the [[GNU toolchain]], which includes the [[GNU Compiler Collection]] (GCC) and the [[GNU Build System]]. Amongst others, GCC provides compilers for [[Ada (programming language)|Ada]], [[C (programming language)|C]], [[C++]], [[Go (programming language)|Go]] and [[Fortran]]. Many programming languages have a cross-platform reference implementation that supports Linux, for example [[PHP]], [[Perl]], [[Ruby (programming language)|Ruby]], [[Python (programming language)|Python]], [[Java (programming language)|Java]], [[Go (programming language)|Go]], [[Rust (programming language)|Rust]] and [[Haskell]]. First released in 2003, the [[LLVM]] project provides an alternative cross-platform open-source compiler for many languages. [[Proprietary software|Proprietary]] compilers for Linux include the [[Intel C++ Compiler]], [[Sun Studio (software)|Sun Studio]], and [[IBM XL C/C++ Compilers|IBM XL C/C++ Compiler]]. [[BASIC]] is available in [[procedural programming|procedural]] form from [[QB64]], [[PureBasic]], [[Yabasic]], [[GLBasic]], [[Basic4GL]], [[XBasic]], [[wxBasic]], [[SdlBasic]], and [[Basic-256]], as well as [[object oriented programming|object oriented]] through [[Gambas]], [[FreeBASIC]], B4X, [[Basic for Qt]], Phoenix Object Basic, [[NS Basic]], ProvideX, [[Chipmunk Basic]], [[RapidQ]] and [[Xojo]]. [[Pascal (programming language)|Pascal]] is implemented through [[GNU Pascal]], [[Free Pascal]], and [[Virtual Pascal]], as well as graphically via [[Lazarus (software)|Lazarus]], [[PascalABC.NET]], or [[Delphi (software)|Delphi]] using [[FireMonkey]] (previously through [[Borland Kylix]]).<ref>{{Cite web |title=GCC, the GNU Compiler Collection |url=https://www.gnu.org/software/gcc/libstdc++/ |archive-url=https://web.archive.org/web/20240827181824/https://www.gnu.org/software/gcc/libstdc++/ |archive-date=August 27, 2024 |access-date=2024-12-17 |website=www.gnu.org |language=en |url-status=live }}</ref><ref>{{Cite web |title=GCC vs. Clang/LLVM: An In-Depth Comparison of C/C++ Compilers |url=https://www.alibabacloud.com/blog/gcc-vs--clangllvm-an-in-depth-comparison-of-cc%2B%2B-compilers_595309}}</ref>
 
A common feature of Unix-like systems, Linux includes traditional specific-purpose programming languages targeted at [[scripting language|scripting]], text processing and system configuration and management in general. Linux distributions support [[shell script]]s, [[AWK|awk]], [[sed]] and [[make (software)|make]]. Many programs also have an embedded programming language to support configuring or programming themselves. For example, [[regular expression]]s are supported in programs like [[grep]] and [[locate (Unix)|locate]], the traditional Unix message transfer agent [[Sendmail]] contains its own [[Turing completeness|Turing complete]] scripting system, and the advanced text editor [[GNU Emacs]] is built around a general purpose [[Emacs Lisp|Lisp]] interpreter.<ref>{{Cite web |last=Das |first=Shakti |date=2023-10-01 |title=Understanding Regular Expressions in Shell Scripting |url=https://learnscripting.org/understanding-regular-expressions-in-shell-scripting/ |access-date=2024-12-17 |website=Learn Scripting |language=en-US}}</ref><ref>{{Cite web |date=2020-03-11 |title=Regular Expressions in Grep (Regex) |url=https://linuxize.com/post/regular-expressions-in-grep/ |access-date=2024-12-17 |website=linuxize.com |language=en-us |archive-date=January 17, 2025 |archive-url=https://web.archive.org/web/20250117085247/https://linuxize.com/post/regular-expressions-in-grep/ |url-status=live }}</ref><ref>{{Cite web |title=Sculpting text with regex, grep, sed and awk |url=https://matt.might.net/articles/sculpting-text/ |access-date=2024-12-17 |website=matt.might.net |archive-date=December 17, 2024 |archive-url=https://web.archive.org/web/20241217044131/https://matt.might.net/articles/sculpting-text/ |url-status=live }}</ref>
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.
 
Most distributions also include support for [[PHP]], [[Perl]], [[Ruby (programming language)|Ruby]], [[Python (programming language)|Python]] and other [[dynamic programming language|dynamic languages]]. While not as common, Linux also supports [[C Sharp (programming language)|C#]] and other [[Common Language Infrastructure|CLI]] [[List of CLI languages|languages]] (via [[Mono (software)|Mono]]), [[Vala (programming language)|Vala]], and [[Scheme (programming language)|Scheme]]. [[Guile (programming language)|Guile Scheme]] acts as an [[scripting language|extension language]] targeting the GNU system utilities, seeking to make the conventionally small, [[static typing|static]], compiled C programs of [[Unix philosophy|Unix design]] rapidly and dynamically extensible via an elegant, [[functional programming|functional]] high-level scripting system; many GNU programs can be compiled with optional Guile [[language binding|bindings]] to this end. A number of [[Java virtual machine]]s and development kits run on Linux, including the original Sun Microsystems JVM ([[HotSpot (virtual machine)|HotSpot]]), and IBM's J2SE RE, as well as many open-source projects like [[Kaffe]] and [[Jikes RVM]]; [[Kotlin (programming language)|Kotlin]], [[Scala (programming language)|Scala]], [[Apache Groovy|Groovy]] and other [[List of JVM languages|JVM languages]] are also available.
=== 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.]]
 
[[GNOME]] and [[KDE]] are popular desktop environments and provide a framework for developing applications. These projects are based on the [[GTK]] and [[Qt (toolkit)|Qt]] widget toolkits, respectively, which can also be used independently of the larger framework. Both support a wide variety of languages. There are [[:Category:Linux integrated development environments|a number]] of [[Integrated development environment]]s available including [[Anjuta]], [[Code::Blocks]], [[CodeLite]], [[Eclipse (software)|Eclipse]], [[Geany]], [[ActiveState Komodo]], [[KDevelop]], [[Lazarus (software)|Lazarus]], [[MonoDevelop]], [[NetBeans]], and [[Qt Creator]], while the long-established editors [[Vim (text editor)|Vim]], [[GNU nano|nano]] and [[Emacs]] 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 | access-date = December 16, 2006 | url-status=dead | archive-url = https://web.archive.org/web/20061019021449/http://programming.linux.com/programming/05/10/03/1828224.shtml?tid=63&tid=47 | archive-date = October 19, 2006 | df = mdy-all }}</ref>
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>
 
== Hardware support ==
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"/>
[[File:Linux kernel ubiquity.svg|thumb|right|upright=2.25|Linux is ubiquitously found on various types of hardware.]]
{{See also|List of Linux-supported computer architectures}}
 
The Linux kernel is a widely ported operating system kernel, available for devices ranging from mobile phones to supercomputers; it runs on a highly diverse range of [[computer architecture]]s, including [[ARM architecture family|ARM]]-based Android smartphones and the [[IBM Z]] mainframes. Specialized distributions and kernel forks exist for less mainstream architectures; for example, the [[Embeddable Linux Kernel Subset|ELKS]] kernel [[fork (software development)|fork]] can run on [[Intel 8086]] or [[Intel 80286]] 16-bit microprocessors,<ref>{{Cite web |last=Intel |first=Altus |date=2024-09-25 |title=Elks 0.8 Released: Linux for 16-bit Intel CPUs |url=https://www.altusintel.com/public-yycw20/?tt=1727291705 |access-date=2024-11-16 |website=Altus Intel |language=en-AU |archive-date=November 27, 2024 |archive-url=https://web.archive.org/web/20241127114636/https://www.altusintel.com/public-yycw20/?tt=1727291705 |url-status=live }}</ref> while the [[μClinux]] kernel fork may run on systems without a [[memory management unit]].<ref>{{Cite web |date=2019-06-26 |title=UClinux |url=https://community.intel.com/t5/FPGA-Wiki/UClinux/ta-p/735614 |access-date=2024-11-16 |website=community.intel.com |language=en}}</ref> The kernel also runs on architectures that were only ever intended to use a proprietary manufacturer-created operating system, such as [[Macintosh]] computers<ref>{{Cite web|last=Das|first=Ankush|date=2021-01-21|title=Finally! Linux Runs Gracefully On Apple M1 Chip|url=https://news.itsfoss.com/linux-apple-m1/|access-date=2021-11-13|website=It's FOSS News|language=en-US|archive-date=November 13, 2021|archive-url=https://web.archive.org/web/20211113113053/https://news.itsfoss.com/linux-apple-m1/|url-status=live}}</ref><ref>{{Cite news|last=Jimenez|first=Jorge|date=2021-10-08|title=Developers finally get Linux running on an Apple M1-powered Mac|language=en|work=PC Gamer|url=https://www.pcgamer.com/developers-finally-get-linux-running-on-an-apple-m1-powered-mac/|access-date=2021-11-13|archive-date=January 11, 2023|archive-url=https://web.archive.org/web/20230111042438/https://www.pcgamer.com/developers-finally-get-linux-running-on-an-apple-m1-powered-mac/|url-status=live}}</ref> (with [[PowerPC]], [[Intel]], and [[Apple silicon]] processors), [[Personal digital assistant|PDAs]], [[video game console]]s, [[Portable media player|portable music players]], and mobile phones.
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.
 
Linux has a reputation for supporting old hardware very well by maintaining standardized drivers for a long time.<ref>{{Cite web |last=Proven |first=Liam |date=2022-11-10 |title=OpenPrinting keeps old printers working, even on Windows |url=https://www.theregister.com/2022/11/10/openprinting_keeps_old_printers_working/ |access-date=2023-01-07 |website=[[The Register]] |language=en |archive-date=January 7, 2023 |archive-url=https://web.archive.org/web/20230107164300/https://www.theregister.com/2022/11/10/openprinting_keeps_old_printers_working/ |url-status=live }}</ref> There are several industry associations and hardware [[Convention (meeting)|conferences]] devoted to maintaining and improving support for diverse hardware under Linux, such as [[FreedomHEC]]. Over time, support for different hardware has improved in Linux, resulting in any off-the-shelf purchase having a "good chance" of being compatible.<ref>{{cite web |url=http://www.linux.com/news/hardware/drivers/8203-is-my-hardware-linux-compatible-find-out-here |title=Is my hardware Linux-compatible? Find out here |date=August 14, 2007 |author=Bruce Byfield |website=Linux.com |access-date=September 4, 2015 |url-status=live |archive-url=https://web.archive.org/web/20150905214148/http://www.linux.com/news/hardware/drivers/8203-is-my-hardware-linux-compatible-find-out-here |archive-date=September 5, 2015}}</ref>
=== Market share and uptake ===
{{See|Linux adoption}}
 
In 2014, a new initiative was launched to automatically collect a database of all tested hardware configurations.<ref name="linuxhw">{{cite web | url = https://linux-hardware.org/ | title = Linux Hardware | access-date = 2020-06-26 | publisher = Linux Hardware Project | archive-date = January 26, 2021 | archive-url = https://web.archive.org/web/20210126054431/https://linux-hardware.org/ | url-status = live }}</ref>
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 late 2006, it is very uncommon for hardware to not work "out of the box" with most Linux distributions.
 
=== SCOUses litigation ===
{{mainMain|SCO-Linux controversiesrange of use}}
 
== Market share and uptake ==
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.
{{Main|Linux adoption}}
{{See also|Usage share of operating systems}}
 
Many quantitative studies of free/open-source software focus on topics including market share and reliability, with numerous 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! | access-date = April 1, 2006 | url-status=live | archive-url = https://web.archive.org/web/20060405112628/http://www.dwheeler.com/oss_fs_why.html | archive-date = April 5, 2006 | df = mdy-all }}</ref> The Linux market is growing, and the Linux operating system market size is expected to see a growth of 19.2% by 2027, reaching $15.64 billion, compared to $3.89 billion in 2019.<ref>{{Cite web|title=Linux Operating System Market Size, Share and Forecast [2020–2027]|url=https://www.fortunebusinessinsights.com/linux-operating-system-market-103037|access-date=2021-11-12|website=www.fortunebusinessinsights.com|archive-date=November 12, 2021|archive-url=https://web.archive.org/web/20211112140435/https://www.fortunebusinessinsights.com/linux-operating-system-market-103037|url-status=live}}</ref> Analysts project a Compound Annual Growth Rate (CAGR) of 13.7% between 2024 and 2032, culminating in a market size of US$34.90 billion by the latter year.{{citation needed|date=February 2025}} Analysts and proponents attribute the relative success of Linux to its security, reliability, low cost, and freedom from [[vendor lock-in]].<ref>{{cite web | url = http://www.ca.com/za/news/2005/20051010_linux.htm| archive-url = https://web.archive.org/web/20070217125550/http://www.ca.com/za/news/2005/20051010_linux.htm| archive-date = February 17, 2007| title = The rise and rise of Linux|date=October 10, 2005|publisher=Computer Associates International}}</ref><ref>{{cite web | url = http://www-306.ibm.com/software/info/features/feb152005/ | archive-url = https://web.archive.org/web/20080603232638/http://www-306.ibm.com/software/info/features/feb152005/ | archive-date = June 3, 2008 | title = Why customers are flocking to Linux |author=Jeffrey S. Smith|publisher=IBM}}</ref>
SCO's claims have been numerous and varied widely over time. As per the [[Utah]] [[District Court]] ruling on July 3, 2006; 182 claims out of 294 claims made by SCO against [[IBM]] have been dismissed.<ref>{{ cite web | url = http://www.idm.net.au/story.asp?id=7297 | title = SCO Losing Linux Battle With IBM }}</ref>
 
; Desktops and laptops
=== Licensing ===
: According to [[web analytics|web server statistics]] (that is, based on the numbers recorded from visits to websites by client devices), in October 2024, the estimated market share of Linux on [[desktop computer]]s was around 4.3%. In comparison, [[Microsoft Windows]] had a market share of around 73.4%, while [[macOS]] covered around 15.5%.<ref name="statcounter-desktop" />
 
; Web servers
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.
 
: W3Cook publishes stats that use the top 1,000,000 Alexa domains,<ref>{{cite web|title=W3Cook FAQ|url=http://www.w3cook.com/faq/home|website=W3Cook.com|access-date=June 30, 2015|url-status=dead|archive-url=https://web.archive.org/web/20150627014517/http://www.w3cook.com/faq/home|archive-date=June 27, 2015}}</ref> which {{as of|2015|5|lc=yes}} estimate that 96.55% of web servers run Linux, 1.73% run Windows, and 1.72% run FreeBSD.<ref>{{cite web|title=OS Market Share and Usage Trends|url=http://www.w3cook.com/os/summary/|website=W3Cook.com|access-date=June 30, 2015|archive-url = https://web.archive.org/web/20150806093859/http://www.w3cook.com/os/summary//|archive-date = August 6, 2015}}</ref>
=== The Linux trademark ===
 
:W3Techs publishes stats that use the top 10,000,000 Alexa domains and the top 1,000,000 Tranco domains, updated monthly<ref>{{cite web|title=Technologies Overview – methodology information|url=http://w3techs.com/technologies|website=W3Techs|access-date=June 30, 2015}}</ref> and {{as of|November 2020|lc=true}} estimate that Linux is used by 39% of the web servers, versus 21.9% being used by [[Microsoft Windows]].<ref>{{Cite web|title=Linux vs. Windows usage statistics, November 2021|url=https://w3techs.com/technologies/comparison/os-linux,os-windows|access-date=2021-11-14|website=W3Techs |url-status=live |archive-url= https://archive.today/20220330220409/https://w3techs.com/technologies/comparison/os-linux,os-windows |archive-date= 30 March 2022 }}</ref> 40.1% used other types of Unix.<ref>{{Cite web|title=Usage Statistics and Market Share of Unix for Websites, November 2021|url=https://w3techs.com/technologies/details/os-unix|access-date=2021-11-14|website=W3Techs |url-status=live |archive-url=https://archive.today/20210925100010/https://w3techs.com/technologies/details/os-unix |archive-date= 25 September 2021 }}</ref>
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 is now 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>
 
:[[International Data Corporation|IDC]]'s Q1 2007 report indicated that Linux held 12.7% of the overall server market at that time;<ref name="Linux-watch.com IDC's Q1 2007 report">{{cite web |url=http://www.linux-watch.com/news/NS5369154346.html |title=─ IDC Q1 2007 report |publisher=Linux-watch.com |date=May 29, 2007 |access-date=March 9, 2009 |url-status=dead |archive-url=https://archive.today/20210401200750/https://www.webcitation.org/5mq1DzaMY?url=http://www.linux-watch.com/news/NS5369154346.html |archive-date=April 1, 2021}}</ref> this estimate was based on the number of Linux servers sold by various companies, and did not include server hardware purchased separately that had Linux installed on it later.
== See also ==
As of 2024, estimates suggest Linux accounts for at least 80% of the public cloud workload, partly thanks to its widespread use in platforms like Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.<ref>{{Cite web |title=Server Operating System Market Size {{!}} Mordor Intelligence |url=https://www.mordorintelligence.com/industry-reports/server-operating-system-market |access-date=2024-12-17 |website=www.mordorintelligence.com |language=en |archive-date=December 19, 2024 |archive-url=https://web.archive.org/web/20241219184331/https://www.mordorintelligence.com/industry-reports/server-operating-system-market |url-status=live }}</ref><ref>{{Cite web |title=Worldwide Server Market Summary and Outlook, 4Q23 |url=https://www.idc.com/getdoc.jsp?containerId=US50267124 |access-date=2024-12-17 |website=IDC: The premier global market intelligence company}}</ref><ref>{{Cite web |last=Elad |first=Barry |date=2024-02-03 |title=Linux Statistics 2024 By Market Share, Usage Data, Number Of Users and Facts |url=https://www.enterpriseappstoday.com/stats/linux-statistics.html |access-date=2024-12-17 |website=Enterprise Apps Today |language=en-US}}</ref><blockquote>ZDNet report that 96.3% of the top one million web servers are running Linux.<ref>{{Cite web |title=Linux Statistics 2024 |url=https://truelist.co/blog/linux-statistics/ |access-date=2024-12-17 |website=TrueList |language=en-US}}</ref><ref>{{Cite web |last=Elad |first=Barry |date=2024-02-03 |title=Linux Statistics 2024 By Market Share, Usage Data, Number Of Users and Facts |url=https://www.enterpriseappstoday.com/stats/linux-statistics.html |access-date=2024-12-17 |website=Enterprise Apps Today |language=en-US}}</ref>
{{portalpar|Free software|Floss draft.png}}
 
W3Techs state that Linux powers at least 39.2% of websites whose operating system is known, with other estimates saying 55%.<ref>{{Cite web |title=Linux Statistics 2024 |url=https://truelist.co/blog/linux-statistics/ |access-date=2024-12-17 |website=TrueList |language=en-US}}</ref><ref>{{Cite web |title=Usage Statistics and Market Share of Linux for Websites, December 2024 |url=https://w3techs.com/technologies/details/os-linux |access-date=2024-12-17 |website=w3techs.com |archive-date=October 1, 2021 |archive-url=https://web.archive.org/web/20211001013143/https://w3techs.com/technologies/details/os-linux |url-status=live }}</ref></blockquote>
* [[List of Linux distributions]]
; Mobile devices
: Android, which is based on the Linux kernel, has become the dominant operating system for smartphones. In April 2023, 68.61% of mobile devices accessing websites using [[StatCounter]] were from Android.<ref>{{Cite web |title=Mobile Operating System Market Share Worldwide |url=https://gs.statcounter.com/os-market-share/mobile/worldwide |access-date=2023-05-30 |website=StatCounter Global Stats |language=en |archive-date=October 11, 2020 |archive-url=https://web.archive.org/web/20201011012110/https://gs.statcounter.com/os-market-share/mobile/worldwide |url-status=live }}</ref> Android is also a popular operating system for tablets, being responsible for more than 60% of tablet sales {{as of|2013|lc=true}}.<ref>{{Cite news|url = http://www.gartner.com/newsroom/id/2674215|title = Gartner Says Worldwide Tablet Sales Grew 68 Percent in 2013, With Android Capturing 62 Percent of the Market|last = Egham|date = March 3, 2014|access-date = June 13, 2014|url-status=dead|archive-url = https://web.archive.org/web/20140417073251/http://www.gartner.com/newsroom/id/2674215|archive-date = April 17, 2014|df = mdy-all}}</ref> According to web server statistics, {{as of|2021|10|lc=yes}} Android has a market share of about 71%, with [[iOS]] holding 28%, and the remaining 1% attributed to various niche platforms.<ref>{{cite web|title=Mobile/Tablet Operating System Market Share|url=https://netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobile%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D|website=Netmarketshare.com|access-date=October 14, 2021|url-status=live|archive-url=https://web.archive.org/web/20210628033222/https://netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobile%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222019-11%22%2C%22dateEnd%22%3A%222020-10%22%2C%22segments%22%3A%22-1000%22%7D|archive-date=June 28, 2021}}</ref>
 
; Film production
: For years, Linux has been the platform of choice in the film industry. The first major film produced on Linux servers was 1997's ''[[Titanic (1997 film)|Titanic]]''.<ref>{{cite web|last=Strauss|first=Daryll|title=Linux Helps Bring Titanic to Life|url=http://www.linuxjournal.com/article/2494?page=0,0|access-date=July 28, 2011|url-status=dead|archive-url=https://web.archive.org/web/20120112151726/http://www.linuxjournal.com/article/2494?page=0,0|archive-date=January 12, 2012}}</ref><ref>{{cite web|last=Rowe|first=Robin|title=Linux and Star Trek|url=http://www.linuxjournal.com/article/6339|access-date=July 28, 2011|url-status=dead|archive-url=https://web.archive.org/web/20110712200616/http://www.linuxjournal.com/article/6339|archive-date=July 12, 2011}}</ref> Since then major studios including [[DreamWorks Animation]], [[Pixar]], [[Weta Digital]], and [[Industrial Light & Magic]] have migrated to Linux.<ref>{{cite web | url = http://www.linuxjournal.com/article/5472 | title = Industry of Change: Linux Storms Hollywood | access-date = March 11, 2009 | url-status = dead | archive-url = https://web.archive.org/web/20090411054311/http://www.linuxjournal.com/article/5472 | archive-date = April 11, 2009 | df = mdy-all }}</ref><ref>{{cite web | url = http://video.fosdem.org/2008/maintracks/FOSDEM2008-tuxwithshades.ogg | title = Tux with Shades, Linux in Hollywood | access-date = March 11, 2009 | archive-date = January 11, 2023 | archive-url = https://web.archive.org/web/20230111042527/https://ftp.heanet.ie/mirrors/fosdem-video/2008/maintracks/FOSDEM2008-tuxwithshades.ogg | url-status = live }}</ref><ref>{{cite web | url = http://www.wetafx.co.nz/jobs/ | title = Weta Digital – Jobs | access-date = November 17, 2010 | url-status = dead | archive-url = https://web.archive.org/web/20101230083916/http://www.wetafx.co.nz/jobs | archive-date = December 30, 2010 | df = mdy-all }}</ref> According to the Linux Movies Group, more than 95% of the servers and desktops at large animation and visual effects companies use Linux.<ref>{{cite web | url = http://www.linuxmovies.org/2011/06/26/linux-movies-hollywood-loves-linux/ | title = LinuxMovies.org – Advancing Linux Motion Picture Technology | access-date = March 16, 2012 | url-status=dead | archive-url = https://web.archive.org/web/20120301232751/http://www.linuxmovies.org/2011/06/26/linux-movies-hollywood-loves-linux/ | archive-date = March 1, 2012 | df = mdy-all }}</ref>
 
; Use in government
: Linux distributions have also gained popularity with various local and national governments. News of the Russian military creating its own Linux distribution has also surfaced, and has come to fruition as the G.H.ost Project.<ref>{{cite web | url = http://www.osor.eu/news/lv-minister-open-standards-improve-efficiency-and-transparency | title = LV: Minister: "Open standards improve efficiency and transparency" | access-date = February 21, 2009 | url-status=live | archive-url = https://web.archive.org/web/20110809142726/http://www.osor.eu/news/lv-minister-open-standards-improve-efficiency-and-transparency | archive-date = August 9, 2011 | df = mdy-all }}</ref> The Indian state of [[Kerala]] has gone to the extent of mandating that all state high schools run Linux on their computers.<ref>{{cite web | url = http://www.businessweek.com/globalbiz/content/sep2006/gb20060921_463452.htm | title = Linux Spreads its Wings in India | access-date = February 21, 2009 | url-status=dead | archive-url = https://web.archive.org/web/20110728114950/http://www.businessweek.com/globalbiz/content/sep2006/gb20060921_463452.htm | archive-date = July 28, 2011 | df = mdy-all }}</ref><ref>{{cite web | url = http://www.indianexpress.com/news/kerala-shuts-windows-schools-to-use-only-linux/280323/0 | title = Kerala shuts windows, schools to use only Linux | date = March 4, 2008 | access-date = June 22, 2009 | url-status=live | archive-url = https://web.archive.org/web/20110515032441/http://www.indianexpress.com/news/kerala-shuts-windows-schools-to-use-only-linux/280323/0 | archive-date = May 15, 2011 | df = mdy-all }}</ref> [[People's Republic of China|China]] uses Linux exclusively as the operating system for its [[Loongson]] processor family to achieve technology independence.<ref>{{cite web|url=http://www.mdronline.com/watch/watch_Issue.asp?Volname=Issue+%23110308&on=1 |title=China's Microprocessor Dilemma |publisher=[[Microprocessor Report]] |url-access=subscription |archive-url=https://web.archive.org/web/20090918002910/http://www.mdronline.com/watch/watch_Issue.asp?Volname=Issue%2B%23110308&on=1 |archive-date=September 18, 2009 |url-status=dead |access-date=April 15, 2009 }}</ref> In Spain, some regions have developed their own Linux distributions, which are widely used in education and official institutions, like gnuLinEx in Extremadura and Guadalinex in Andalusia. [[France]] and [[Germany]] have also taken steps toward the adoption of Linux.<ref>{{cite news | url=http://seattlepi.com/business/48925_linuxop01.shtml | title=Some countries are choosing Linux systems over Microsoft | access-date=February 21, 2009 | work=Seattle Post-Intelligencer | first=Jim | last=Krane | date=November 30, 2001 | url-status=live | archive-url=https://web.archive.org/web/20120315075128/http://www.seattlepi.com/business/article/Some-countries-are-choosing-Linux-systems-over-1073338.php | archive-date=March 15, 2012 | df=mdy-all }}</ref> North Korea's [[Red Star OS]], developed {{as of|2002|lc=true}}, is based on a version of Fedora Linux.<ref>{{cite news | url = https://www.theguardian.com/world/2015/dec/27/north-koreas-computer-operating-system-revealed-by-researchers | title = North Korea's 'paranoid' computer operating system revealed | access-date = December 31, 2015 | work = The Guardian | date = December 27, 2015 | url-status=live | archive-url = https://web.archive.org/web/20151231021946/http://www.theguardian.com/world/2015/dec/27/north-koreas-computer-operating-system-revealed-by-researchers | archive-date = December 31, 2015 | df = mdy-all }}</ref>
 
== Copyright, trademark, and naming ==
{{See also|GNU/Linux naming controversy|SCO–Linux disputes}}
 
The Linux kernel is [[software license|licensed]] under the GNU General Public License (GPL), version 2. The GPL requires that anyone who distributes software based on source code under this license must make the originating source code (and any modifications) available to the recipient under the same terms.<ref>{{cite web | url = https://www.gnu.org/licenses/gpl-2.0.html | title = GNU General Public License, version 2 | date = June 2, 1991 | access-date = December 5, 2013 | publisher = GNU Project | url-status=live | archive-url = https://web.archive.org/web/20131207171309/http://www.gnu.org/licenses/gpl-2.0.html | archive-date = December 7, 2013 | df = mdy-all }}</ref> Other key components of a typical Linux distribution are also mainly licensed under the GPL, but they may use other licenses; many libraries use the [[GNU Lesser General Public License]] (LGPL), a more permissive variant of the GPL, and the [[X.Org Server|X.Org]] implementation of the X Window System uses the [[MIT License]].
 
Torvalds states that the Linux kernel will not move from version 2 of the GPL to version 3.<ref>{{cite web | url=https://lkml.org/lkml/2006/1/25/273 | title=Re: GPL V3 and Linux ─ Dead Copyright Holders | author=Torvalds, Linus | date=January 26, 2006 | publisher=[[Linux Kernel Mailing List]] | url-status=live | archive-url=https://web.archive.org/web/20140709004223/https://lkml.org/lkml/2006/1/25/273 | archive-date=July 9, 2014 | df=mdy-all }}</ref><ref>{{cite web | url=https://lkml.org/lkml/2006/9/25/161 | title=Re: GPLv3 Position Statement | author=Torvalds, Linus | date=September 25, 2006 | publisher=[[Linux Kernel Mailing List]] | url-status=live | archive-url=https://web.archive.org/web/20140422105221/http://lkml.org/lkml/2006/9/25/161 | archive-date=April 22, 2014 | df=mdy-all }}</ref> He specifically dislikes some provisions in the new license which prohibit the use of the software in [[digital rights management]].<ref>{{cite web | url = https://gnu.org/licenses/quick-guide-gplv3.html#neutralizing-laws-that-prohibit-free-software-but-not-forbidding-drm | title = Neutralizing Laws That Prohibit Free Software — But Not Forbidding DRM | work = A Quick Guide to GPLv3 | date = July 29, 2013 | access-date = December 5, 2013 | author = Brett Smith | publisher = GNU Project | url-status=live | archive-url = https://web.archive.org/web/20131201091449/http://www.gnu.org/licenses/quick-guide-gplv3.html#neutralizing-laws-that-prohibit-free-software-but-not-forbidding-drm | archive-date = December 1, 2013 | df = mdy-all }}</ref> It would also be impractical to obtain permission from all the copyright holders, who number in the thousands.<ref>{{cite web |url=http://www.linux-watch.com/news/NS3301105877.html |archive-url=https://archive.today/20130103161648/http://www.linux-watch.com/news/NS3301105877.html |url-status=dead |archive-date=January 3, 2013 |title=Keeping an Eye on the Penguin |publisher=Linux-watch.com |date=February 7, 2006 |access-date=November 9, 2010 }}</ref>
 
A 2001 study of [[Red Hat Linux]] 7.1 found that this distribution contained 30 million [[source lines of code]].<ref name = "estimating_size"/> Using the [[COCOMO|Constructive Cost Model]], the study estimated that this distribution required about eight thousand person-years of development time. According to the study, if all this software had been developed by conventional proprietary means, it would have cost about {{USD}}{{Format price|{{inflation|US-GDP|1080000000|2000}}}}{{Inflation/fn|US-GDP}} to develop in {{Inflation/year|US-GDP}} in the United States.<ref name="estimating_size">{{cite web | first = David A | last = Wheeler | date = July 29, 2002 | url = http://www.dwheeler.com/sloc/redhat71-v1/redhat71sloc.html | title = More Than a Gigabuck: Estimating GNU/Linux's Size | access-date = May 11, 2006 | url-status=dead | archive-url = https://web.archive.org/web/20060421145300/http://dwheeler.com/sloc/redhat71-v1/redhat71sloc.html | archive-date = April 21, 2006 | df = mdy-all }}</ref> Most of the source code (71%) was written in the C programming language, but many other languages were used, including [[C++]], [[Lisp (programming language)|Lisp]], assembly language, Perl, Python, [[Fortran]], 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 version 4.0 (etch, which was released in 2007).<ref>{{cite web | first1 = Juan José | last1 = Amor | date = June 17, 2007 | url = http://libflow.com/d/8drl8n07/Measuring_Etch%3A_The_Size_of_Debian_4.0 | title = Measuring Etch: the size of Debian 4.0 | access-date = September 16, 2007 | display-authors = etal | url-status=live | archive-url = https://web.archive.org/web/20140728033855/http://libflow.com/d/8drl8n07/Measuring_Etch%3A_The_Size_of_Debian_4.0 | archive-date = July 28, 2014 | df = mdy-all }}</ref> This distribution contained close to 283 million source lines of code, and the study estimated that it would have required about seventy three thousand man-years and cost {{USD}}{{Format price|{{inflation|US-GDP|7170186240|2007}}}}{{Inflation/fn|US-GDP}} (in {{Inflation/year|US-GDP}} dollars) to develop by conventional means. <!-- original paper quoted 5358000000 euros, but Wikipedia does not have an inflation calculator for euros; converted to USD via June 17, 2007 exchange rate as provided by http://www.bankofcanada.ca/en/rates/exchform.html and double-checked against other sources of historical exchange rates ... it is also more useful to quote the number in dollars, for comparison to other dollar amounts quoted in this article, e.g. the 2001 study above -->
 
{{Anchor|POWDER}}
[[File:LinuxWasch3.jpg|thumb|right|The name "Linux" is also used for a laundry detergent made by Swiss company Rösch.<ref>{{cite web |date=June 19, 2015 |title=There Is a Linux Detergent Out There and It's Trademarked |url=https://news.softpedia.com/news/There-a-Linux-Detergent-Out-There-and-It-s-Trademarked-484782.shtml |url-status=live |archive-url=https://web.archive.org/web/20150622092634/https://news.softpedia.com/news/There-a-Linux-Detergent-Out-There-and-It-s-Trademarked-484782.shtml |archive-date=June 22, 2015 |access-date=August 15, 2024 |website=[[Softpedia]] |last=Stahe |first=Sylviu}}</ref>]]
 
In the United States, the name ''Linux'' is a trademark registered to Linus Torvalds.<ref name="US_trademark"/> Initially, nobody registered it. However, 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 him 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 = May 31, 2006 | url-status=live | archive-url = https://web.archive.org/web/20130203160342/http://www.linuxjournal.com/article/9065 | archive-date = February 3, 2013 | df = mdy-all }}</ref> The licensing of the trademark has since been handled by the [[Linux Mark Institute]] (LMI). Torvalds has stated that he trademarked the name only to prevent someone else from using it. LMI originally charged a nominal sublicensing fee for use of the Linux name as part of trademarks,<ref>{{cite news |author=Neil McAllister |title=Linus gets tough on Linux trademark |url=http://www.infoworld.com/article/05/09/05/36OPopenent_1.html |work=[[InfoWorld]] |date=September 5, 2005 |access-date=February 24, 2008 |archive-url=https://web.archive.org/web/20080412055615/http://www.infoworld.com/article/05/09/05/36OPopenent_1.html |archive-date=April 12, 2008}}</ref> but later changed this in favor of offering a free, perpetual worldwide sublicense.<ref>{{cite web | url = http://www.linuxmark.org | title = Linux Mark Institute | access-date = February 24, 2008 | quote = LMI has restructured its sublicensing program. Our new sublicense agreement is: Free – approved sublicense holders pay no fees; Perpetual – sublicense terminates only in breach of the agreement or when your organization ceases to use its mark; Worldwide – one sublicense covers your use of the mark anywhere in the world | url-status=live | archive-url = https://web.archive.org/web/20080213024227/http://www.linuxmark.org/ | archive-date = February 13, 2008 | df = mdy-all }}</ref>
[[File:Gnulinux.svg|thumb|[[Tux (mascot)|Tux]] sometimes is stylized with incorporation of the [[GNU]] logo]]
The Free Software Foundation (FSF) prefers ''GNU/Linux'' as the name when referring to the operating system as a whole, because it considers Linux distributions to be [[GNU variants|variants]] of the GNU operating system initiated in 1983 by [[Richard Stallman]], president of the FSF.<ref name="gnu_linux_faq">{{cite web | url = https://www.gnu.org/gnu/gnu-linux-faq.html | title = GNU/Linux FAQ | publisher = Gnu.org | access-date = September 1, 2013 | url-status=live | archive-url = https://web.archive.org/web/20130907132420/http://www.gnu.org/gnu/gnu-linux-faq.html | archive-date = September 7, 2013 | df = mdy-all }}</ref><ref name="linux-and-gnu"/> The foundation explicitly takes no issue over the name Android for the Android OS, which is also an operating system based on the Linux kernel, as GNU is not a part of it.
 
A minority of public figures and software projects other than Stallman and the FSF, notably distributions consisting of only free software, such as Debian (which had been sponsored by the FSF up to 1996),<ref>{{cite web |url=http://tech-insider.org/free-software/research/1996/0428.html |title=The FSF is no longer sponsoring Debian |date=April 28, 1996 |access-date=February 8, 2014 |author=Richard Stallman |publisher=tech-insider.org |url-status=live |archive-url=https://web.archive.org/web/20140221230241/http://tech-insider.org/free-software/research/1996/0428.html |archive-date=February 21, 2014}}</ref> also use ''GNU/Linux'' when referring to the operating system as a whole.<ref name="tivo">{{cite web | url = http://www.tivo.com/linux/linux.asp | title = TiVo ─ GNU/Linux Source Code |access-date=December 12, 2006 |archive-url=https://web.archive.org/web/20070519150730/http://www.tivo.com/linux/linux.asp |archive-date=May 19, 2007}}</ref><ref>{{cite web |url=http://www.debian.org/intro/about |title=About Debian |publisher=debian.org |date=December 8, 2013 |access-date=January 30, 2014 |url-status=live |archive-url=https://web.archive.org/web/20140123071309/http://www.debian.org/intro/about |archive-date=January 23, 2014}}</ref><ref>{{cite web |url=http://vger.kernel.org/lkml/#s1-1 |title=The linux-kernel mailing list FAQ |author1=Andrew D. Balsa |display-authors=et al|date=October 17, 2009 |website=vger.kernel.org |archive-url=https://web.archive.org/web/20121001231709/http://vger.kernel.org/lkml/ |archive-date=October 1, 2012 |url-status=live |access-date=June 13, 2013 |quote=...we have tried to use the word "Linux" or the expression "Linux kernel" to designate the kernel, and GNU/Linux to designate the entire body of GNU/GPL'ed OS software,... ...many people forget that the linux kernel mailing list is a forum for discussion of kernel-related matters, not GNU/Linux in general...}}</ref> Most media and common usage, however, refers to this family of operating systems simply as ''Linux'', as do many large Linux distributions (for example, [[SUSE Linux]] and [[Red Hat Enterprise Linux]]).
 
{{As of|2011|May}}, about 8% to 13% of the [[Source lines of code|lines of code]] of the Linux distribution Ubuntu (version "Natty") is made of GNU components (the range depending on whether GNOME is considered part of GNU); meanwhile, 6% is taken by the Linux kernel, increased to 9% when including its direct dependencies.<ref name="how-much-gnu">{{cite web|url=http://pedrocr.pt/text/how-much-gnu-in-gnu-linux/|title=How much GNU is there in GNU/Linux?|last=Côrte-Real|first=Pedro|date=May 31, 2011|work=Split Perspective|access-date=January 28, 2014|url-status=live|archive-url=https://web.archive.org/web/20140207120339/http://pedrocr.pt/text/how-much-gnu-in-gnu-linux/|archive-date=February 7, 2014}} ([[Wikipedia:SPS|self-published]] data)</ref>
 
== See also ==
{{Div col|colwidth=25em}}
* [[Comparison of Linux distributions]]
* [[TheComparison Cathedralof open-source and theclosed-source Bazaarsoftware]]
* [[Total costComparison of ownershipoperating systems]]
* [[Comparison of X Window System desktop environments]]
* [[DistroWatch]]
* [[:Category:Criticism Linuxof desktop software|Linux software]]
* [[Criticism of Linux]]
* [[Linux kernel version history]]
* [[Linux Documentation Project]]
* [[Linux From Scratch]]
* [[Linux Software Map]]
* [[List of Linux distributions]]
* [[List of Linux games|List of games released on Linux]]
* [[List of operating systems]]
* [[Loadable kernel module]]
* [[Usage share of operating systems]]
* [[Timeline of operating systems]]
{{div col end}}
 
== Notes ==
{{Notelist}}
 
== References ==
{{reflist}}
 
<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 ==
{{Sister project links}}
{{Sisterlinks|Linux}}
* {{usurped|1=[https://web.archive.org/web/20100211130125/http://www.makelinux.net/system/new Graphical map of Linux Internals]}} (archived)
* [https://www.kernel.org/ Linux kernel website and archives]
* [https://archive.org/details/git-history-of-linux The History of Linux in GIT Repository Format 1992–2010] (archived)
 
{{Linux}}
* [http://www.linux.org/ Linux.org] — contains comprehensive information and resources about Linux.
{{Linux people}}
* [http://www.kernel.org/ Kernel.org] — Linux kernel web site
{{Linux distributions}}
* [http://www.tldp.org/ The Linux Documentation Project] — [[HOWTO]]s, [[FAQ]]s and other guides.
{{Unix}}
* [http://www.gnu.org/ GNU.org] — The GNU Project web site
{{FOSS}}
* [http://www.fsf.org/ FSF.org] — The Free Software Foundation web site
{{Operating system}}{{Portal bar|Free and open-source software|Linux}}
* [http://www.linuxlinks.com/ LinuxLinks.com] - The Linux Portal site
* [http://www.kroah.com/lkn/ Linux Kernel in a Nutshell] - published by O'Reilly under the terms of the Creative Commons Attribution-ShareAlike 2.5 license
* [http://ibtimes.com/articles/20070118/adobe-flash-linux.htm Adobe Releases Flash Player 9 for Linux ] Jan, 2007
 
{{Authority control}}
{{unix-like}}
{{linux-distro}}
 
[[Category:Linux| ]]
[[Category:1991 software]]
[[Category:Computing platforms]]
[[Category:Linux|*Cross-platform software]]
[[Category:FreeFinnish softwareinventions]]
[[Category:Free software programmed in C]]
 
[[Category:Linus Torvalds]]
{{Link FA|ar}}
[[Category:Operating systems]]
{{Link FA|de}}
[[Category:Unix variants]]
{{Link FA|fr}}
[[Category:Open source projects]]
 
[[af:GNU/Linux]]
[[als:Linux]]
[[ar:لينكس]]
[[an:Linux]]
[[ast:Linux]]
[[bn:লিনাক্স]]
[[zh-min-nan:Linux]]
[[bs:Linux]]
[[bg:Линукс]]
[[ca:GNU/Linux]]
[[cs:Linux]]
[[cy:Linux]]
[[da:GNU/Linux]]
[[de:Linux]]
[[et:Linux]]
[[el:Linux]]
[[es:Linux]]
[[eo:Linukso]]
[[eu:Linux]]
[[fa:لینوکس]]
[[fr:Linux]]
[[gl:Linux]]
[[ko:리눅스]]
[[hy:Linux]]
[[hi:लिनक्स]]
[[hr:Linux]]
[[ilo:GNU/Linux]]
[[id:Linux]]
[[ia:Linux]]
[[is:GNU/Linux]]
[[it:GNU/Linux]]
[[he:גנו/לינוקס]]
[[kn:ಲಿನಕ್ಸ್]]
[[ka:ლინუქსი]]
[[kk:Linux]]
[[ku:GNU/Linux]]
[[la:Linux]]
[[lv:Linux]]
[[lb:Linux]]
[[lt:Linux]]
[[li:Linux]]
[[hu:Linux]]
[[mk:Линукс]]
[[mg:Linux]]
[[mr:लिनक्स]]
[[ms:Linux]]
[[nl:Linux]]
[[ja:Linux]]
[[no:Linux]]
[[nn:Linux]]
[[nds:Linux]]
[[pl:Linux]]
[[pt:Linux]]
[[ro:Linux]]
[[qu:Linux]]
[[ru:GNU/Linux]]
[[sq:Linux]]
[[scn:Linux]]
[[simple:Linux]]
[[sk:Linux]]
[[sl:Linux]]
[[sr:Линукс]]
[[sh:Linux]]
[[fi:Linux]]
[[sv:Linux]]
[[tl:Linux]]
[[ta:க்னூ/லினக்ஸ்]]
[[th:ลินุกซ์]]
[[vi:Linux]]
[[tr:Linux]]
[[uk:Лінукс]]
[[ur:لینکس]]
[[uz:GNU/Linux]]
[[zh-yue:Linux]]
[[zh:Linux]]