Linux distribution

A Linux distribution (often called a distro for short) is an operating system made from a software collection, which is based upon the Linux kernel and, often, a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices (for example, OpenWrt) and personal computers to powerful supercomputers (for example, Rocks Cluster Distribution).

A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most of the included software is free and open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Usually, Linux distributions optionally include some proprietary software that may not be available in source code form, such as binary blobs required for some device drivers.[1] Almost all Linux distributions are Unix-like; the most notable exception is Android, which does not include a command-line interface and programs made for typical Linux distributions.[2]

A Linux distribution may also be described as a particular assortment of application and utility software (various GNU tools and libraries, for example), packaged together with the Linux kernel in such a way that its capabilities meet the needs of many users.[3] The software is usually adapted to the distribution and then packaged into software packages by the distribution's maintainers. The software packages are available online in so-called repositories, which are storage locations usually distributed around the world.[4][5] Beside glue components, such as the distribution installers (for example, Debian-Installer and Anaconda) or the package management systems, there are only very few packages that are originally written from the ground up by the maintainers of a Linux distribution.

Almost six hundred Linux distributions exist, with close to five hundred out of those in active development, constantly being revised and improved.[6] Because of the huge availability of software, distributions have taken a wide variety of forms, including those suitable for use on desktops, servers, laptops, netbooks, mobile phones and tablets,[7][8] as well as minimal environments typically for use in embedded systems.[9][10] There are commercially backed distributions, such as Fedora (Red Hat), openSUSE (SUSE) and Ubuntu (Canonical Ltd.), and entirely community-driven distributions, such as Debian, Slackware, Gentoo and Arch Linux. Most distributions come ready to use and pre-compiled for a specific instruction set, while some distributions (such as Gentoo) are distributed mostly in source code form and compiled locally during installation.[11]

History

A timeline representing the development of various Linux distributions, including Android, as of 2013[12]

Linus Torvalds developed the Linux kernel and distributed its first version, 0.01, in 1991. Linux was initially distributed as source code only, and later as a pair of downloadable floppy disk images  one bootable and containing the Linux kernel itself, and the other with a set of GNU utilities and tools for setting up a file system. Since the installation procedure was complicated, especially in the face of growing amounts of available software, distributions sprang up to simplify this.[13]

Early distributions included the following:

The two oldest and still active distribution projects started in 1993. The SLS distribution was not well maintained, so in July 1993 a new distribution, called Slackware and based on SLS, was released by Patrick Volkerding.[14] Also dissatisfied with SLS, Ian Murdock set to create a free distribution by founding Debian, which had its first release in December 1993.[15]

Users were attracted to Linux distributions as alternatives to the DOS and Microsoft Windows operating systems on IBM PC compatible computers, Mac OS on the Apple Macintosh, and proprietary versions of Unix. Most early adopters were familiar with Unix from work or school. They embraced Linux distributions for their low (if any) cost, and availability of the source code for most or all of the software included.

Originally, the distributions were simply a convenience, but later they became the usual choice even for Unix or Linux experts.

To date, Linux has proven more popular in the server market, primarily for Web and database servers (for example, in the LAMP stack), and in embedded devices market than in the desktop market.

Components

A Linux distribution is usually built around a package management system, which puts together the Linux kernel, free and open-source software, and often some proprietary software.

Many Linux distributions provide an installation system akin to that provided with other modern operating systems. On the other hand, some distributions, including Gentoo Linux, provide only the binaries of a basic kernel, compilation tools, and an installer; the installer compiles all the requested software for the specific architecture of the user's computer, using these tools and the provided source code.

Package management

Distributions are normally segmented into packages. Each package contains a specific application or service. Examples of packages are a library for handling the PNG image format, a collection of fonts or a web browser.

The package is typically provided as compiled code, with installation and removal of packages handled by a package management system (PMS) rather than a simple file archiver. Each package intended for such a PMS contains meta-information such as a package description, version, and "dependencies". The package management system can evaluate this meta-information to allow package searches, to perform an automatic upgrade to a newer version, to check that all dependencies of a package are fulfilled, and/or to fulfill them automatically.

Although Linux distributions typically contain much more software than proprietary operating systems, it is normal for local administrators to also install software not included in the distribution. An example would be a newer version of a software application than that supplied with a distribution, or an alternative to that chosen by the distribution (for example, KDE Plasma Workspaces rather than GNOME or vice versa for the user interface layer). If the additional software is distributed in source-only form, this approach requires local compilation. However, if additional software is locally added, the "state" of the local system may fall out of synchronization with the state of the package manager's database. If so, the local administrator will be required to take additional measures to ensure the entire system is kept up to date. The package manager may no longer be able to do so automatically.

Most distributions install packages, including the kernel and other core operating system components, in a predetermined configuration. Few now require or even permit configuration adjustments at first install time. This makes installation less daunting, particularly for new users, but is not always acceptable. For specific requirements, much software must be carefully configured to be useful, to work correctly with other software, or to be secure, and local administrators are often obliged to spend time reviewing and reconfiguring assorted software.

Some distributions go to considerable lengths to specifically adjust and customize most or all of the software included in the distribution. Not all do so. Some distributions provide configuration tools to assist in this process.

By replacing everything provided in a distribution, an administrator may reach a "distribution-less" state: everything was retrieved, compiled, configured, and installed locally. It is possible to build such a system from scratch, avoiding a distribution altogether. One needs a way to generate the first binaries until the system is self-hosting. This can be done via compilation on another system capable of building binaries for the intended target (possibly by cross-compilation). For example, see Linux From Scratch.

Types and trends

Broadly, Linux distributions may be:

The diversity of Linux distributions is due to technical, organizational, and philosophical variation among vendors and users. The permissive licensing of free software means that any user with sufficient knowledge and interest can customize an existing distribution or design one to suit his or her own needs.

Installation-free distributions (live CD/USB)

Main articles: Live CD and Live USB

A "live" distribution is a Linux distribution that can be booted from removable storage media such as optical discs or USB flash drives, instead of being installed on and booted from a hard disk drive. The portability of installation-free distributions makes them advantageous for applications such as demonstrations, borrowing someone else's computer, rescue operations, or as installation media for a standard distribution.

When the operating system is booted from a read-only medium such as a CD or DVD, any user data that needs to be retained between sessions cannot be stored on the boot device but must be written to another storage device, such as a USB flash drive or a hard disk drive.[16]

Many Linux distributions provide a "live" form in addition to their conventional form, which is a network-based or removable-media image intended to be used only for installation; such distributions include SUSE, Ubuntu, Linux Mint, MEPIS and Fedora. Some distributions, including Knoppix, Puppy Linux, Devil-Linux, SuperGamer, SliTaz GNU/Linux and dyne:bolic, are designed primarily for live use. Additionally, some minimal distributions can be run directly from as little space as one floppy disk without the need to change the contents of the system's hard disk drive.[17]

Examples

The website DistroWatch lists many Linux distributions, and displays some of the ones that have the most web traffic on the site. The WikiMediaFoundation released an analysis of the browser User Agents of visitors to WMF websites until 2015, which includes details of the most popular Operating System identifiers, including some Linux distributions.[18] Many of the popular distributions are listed below.

Popular distributions

Targeting experienced users

Lightweight distributions

A lightweight Linux distribution is a Linux distribution that uses relatively few resources, which may result in performance improvements especially on old computers with slower CPUs and less RAM.

One big factor that determines the resource usage and speed of a desktop distribution is the window manager it uses.[23][24] For example, version 10.10 of Lubuntu uses the LXDE window manager and requires a minimum of 128 MB of RAM and a Pentium II processor; it is a lightweight variant of Ubuntu that, in comparison, uses Unity as a window manager and requires a 1 GHz processor and 1 GB of RAM.[25][26][27]

Niche distributions

Other distributions target specific niches, such as:

Android

Terminal Emulator in Android

Whether Google's Android counts as a Linux distribution is a matter of definition. It uses the Linux kernel, so the Linux Foundation[28] and Chris DiBona,[29] Google's open source chief, agree that Android is a Linux distribution; others, such as Google engineer Patrick Brady, disagree by noting the lack of support for many GNU tools in Android, including the glibc.[30]

Interdistribution issues

The Free Standards Group is an organization formed by major software and hardware vendors that aims to improve interoperability between different distributions. Among their proposed standards are the Linux Standard Base, which defines a common ABI and packaging system for Linux, and the Filesystem Hierarchy Standard which recommends a standard filenaming chart, notably the basic directory names found on the root of the tree of any Linux filesystem. Those standards, however, see limited use, even among the distributions developed by members of the organization.

The diversity of Linux distributions means that not all software runs on all distributions, depending on what libraries and other system attributes are required. Packaged software and software repositories are usually specific to a particular distribution, though cross-installation is sometimes possible on closely related distributions.

Tools for choosing a distribution

Virtual machines such as VirtualBox and VMware Workstation virtualize hardware allowing users to test live media on a virtual machine. Some websites like DistroWatch offer lists of popular distributions, and link to screenshots of operating systems as a way to get a first impression of various distributions.

There are tools available to help people select an appropriate distribution, such as several versions of the Linux Distribution Chooser,[31] and the universal package search tool whohas.[32] There are easy ways to try out several Linux distributions before deciding on one: Multi Distro is a Live CD that contains nine space-saving distributions.[33]

Installation

There are many ways to install a Linux distribution. The most common method of installing Linux is by booting from an optical disk that contains the installation program and installable software. Such a disk can be burned from a downloaded ISO image, purchased alone for a low price, provided as a cover disk with a magazine, shipped for free by request, or obtained as part of a box set that may also include manuals and additional commercial software.

Early Linux distributions were installed using sets of floppies but this has been abandoned by all major distributions. Nowadays most distributions offer CD and DVD sets with the vital packages on the first disc and less important packages on later ones. They usually also allow installation over a network after booting from either a set of floppies or a CD with only a small amount of data on it.[34]

New users tend to begin by partitioning a hard drive in order to keep their previously installed operating system. The Linux distribution can then be installed on its own separate partition without affecting previously saved data.

In a Live CD setup, the computer boots the entire operating system from CD without first installing it on the computer's hard disk. Some distributions have a Live CD installer, where the computer boots the operating system from the disk, and then proceeds to install it onto the computer's hard disk, providing a seamless transition from the OS running from the CD to the OS running from the hard disk.

Both servers and personal computers that come with Linux already installed are available from vendors including Hewlett-Packard, Dell and System76.

On embedded devices, Linux is typically held in the device's firmware and may or may not be consumer-accessible.

Anaconda, one of the more popular installers, is used by Red Hat Enterprise Linux, Fedora and other distributions to simplify the installation process. Debian, Ubuntu and many others use Debian-Installer.

Installation via an existing operating system

Some distributions let the user install Linux on top of their current system, such as WinLinux or coLinux. Linux is installed to the Windows hard disk partition, and can be started from inside Windows itself

Virtual machines (such as VirtualBox or VMware) also make it possible for Linux to be run inside another OS. The VM software simulates a separate computer onto which the Linux system is installed. After installation, the virtual machine can be booted as if it were an independent computer.

Various tools are also available to perform full dual-boot installations from existing platforms without a CD, most notably:

Proprietary software

Some specific proprietary software products are not available in any form for Linux. As of September 2015, the Steam gaming service has 1,500 games available on Linux, compared to 2,323 games for Mac and 6,500 Windows games.[36][37][38] Emulation and API-translation projects like Wine and CrossOver make it possible to run non-Linux-based software on Linux systems, either by emulating a proprietary operating system or by translating proprietary API calls (e.g., calls to Microsoft's Win32 or DirectX APIs) into native Linux API calls. A virtual machine can also be used to run a proprietary OS (like Microsoft Windows) on top of Linux.

OEM contracts

Computer hardware is usually sold with an operating system other than Linux already installed by the original equipment manufacturer (OEM). In the case of IBM PC compatibles the OS is usually Microsoft Windows; in the case of Apple Macintosh computers it has always been a version of Apple's OS, currently OS X; Sun Microsystems sold SPARC hardware with the Solaris installed; video game consoles such as the Xbox, PlayStation, and Wii each have their own proprietary OS. This limits Linux's market share: consumers are unaware that an alternative exists, they must make a conscious effort to use a different operating system, and they must either perform the actual installation themselves, or depend on support from a friend, relative, or computer professional.

However, it is possible to buy hardware with Linux already installed. Lenovo, Hewlett-Packard, Dell, Affordy,[39] and System76 all sell general-purpose Linux laptops,[40] and custom-order PC manufacturers will also build Linux systems (but possibly with the Windows key on the keyboard). Fixstars Solutions (formerly Terra Soft) sells Macintosh computers and PlayStation 3 consoles with Yellow Dog Linux installed.

It is more common to find embedded devices sold with Linux as the default manufacturer-supported OS, including the Linksys NSLU2 NAS device, TiVo's line of personal video recorders, and Linux-based cellphones (including Android smartphones), PDAs, and portable music players.

The end user license agreement (EULA) for Apple gives the consumer the opportunity to reject the license and obtain a refund. The current Microsoft Windows license lets the manufacturer determine the refund policy.[41] With previous versions of Windows, it was possible to obtain a refund if the manufacturer failed to provide the refund by litigation in the small claims courts.[42] On 15 February 1999, a group of Linux users in Orange County, California held a "Windows Refund Day" protest in an attempt to pressure Microsoft into issuing them refunds.[43] In France, the Linuxfrench and AFUL (French speaking Libre Software Users' Association) organizations along with free software activist Roberto Di Cosmo started a "Windows Detax" movement,[44] which led to a 2006 petition against "racketiciels" (translation: Racketware) with 39,415 signatories and the DGCCRF branch of the French government filing several complaints against bundled software. On March 24, 2014, a new international petition was launched by AFUL on the Avaaz platform,[45] translated into several languages and supported by many organizations around the world.

See also

References

  1. "Explaining Why We Don't Endorse Other Systems". gnu.org. 2014-06-30. Retrieved 2015-01-05.
  2. "Android, forking, and control". LWN.net. Retrieved March 29, 2014.
  3. "Linux Operating Systems: Distributions". swift.siphos.be. 2014-11-27. Retrieved 2015-01-08.
  4. Chris Hoffman (2012-06-27). "HTG Explains: How Software Installation & Package Managers Work On Linux". howtogeek.com. Retrieved 2015-01-15.
  5. "The status of CentOS mirrors". centos.org. 2015-01-15. Retrieved 2015-01-15.
  6. "The LWN.net Linux Distribution List". LWN.net. Retrieved 2015-09-11.
  7. Jim Martin. "How to install Ubuntu Touch on your Android phone or tablet". PC Advisor.
  8. David Hayward. "Install Linux on your x86 tablet: five distros to choose from". TechRadar.
  9. Brian Proffitt (2010-02-03). "The Top 7 Best Linux Distributions for You". linux.com. Retrieved 2015-01-11.
  10. Eric Brown (2014-11-04). "Mobile Linux Distros Keep on Morphing". linux.com. Retrieved 2015-01-11.
  11. "Debian and Other Distros". debian.org. 2013-12-07. Retrieved 2015-01-05.
  12. "GNU/Linux Distribution Timeline". Futurist.se. Retrieved March 25, 2014.
  13. Berlich, Ruediger (April 2001). "ALL YOU NEED TO KNOW ABOUT... The early history of Linux, Part 2, Re: distribution" (PDF). LinuxUser. Retrieved May 4, 2013.
  14. "The Slackware Linux Project: Slackware Release Announcement". Slackware.com. July 16, 1993. Retrieved July 29, 2011.
  15. "A Brief History of Debian - Debian Releases". debian.org. May 4, 2013. Retrieved July 19, 2014.
  16. Jonathan Corbet (2011-06-15). "Debating overlayfs". LWN.net. Retrieved 2015-01-05.
  17. "PiTuX  a micro serial terminal distro". asashi.net. Retrieved 2015-01-06.
  18. https://stats.wikimedia.org/archive/squid_reports/2015-01-new/SquidReportOperatingSystems.htm
  19. "Mandriva Linux will return to the community". mandriva.com. Retrieved January 14, 2015.
  20. 1 2 "The LWN.net Linux Distribution List". LWN.net. Retrieved 2015-01-15.
  21. "New Security Policy Report". manjaro.github.io. Manjaro Linux. Retrieved January 12, 2015.
  22. Slackware Linux Basics, Chapter 2
  23. Larabel, Michael. "Phoronix: Power & Memory Usage Of GNOME, KDE, LXDE & Xfce". Phoronix. Retrieved 30 July 2011.
  24. RAM use of LXDE vs Xfce in Porteus again confirms that LXDE is about half of that of Xfce
  25. Lubuntu Developers (December 2010). "Lubuntu". Retrieved 14 December 2010.
  26. Behling, Mario (October 2010). "lubuntu 10.10 released". Archived from the original on November 24, 2010. Retrieved 14 December 2010.
  27. Canonical Ltd (October 2010). "Recommended Minimum System Requirements". Retrieved 14 December 2010.
  28. Ask AC: Is Android Linux?. "Ask AC: Is Android Linux?". Android Central. Retrieved March 14, 2013.
  29. derStandard.at. "Google: "Android is the Linux desktop dream come true" - Suchmaschinen - derStandard.at " Web". Derstandard.at. Retrieved March 14, 2013.
  30. Paul, Ryan (February 24, 2009). "Dream(sheep++): A developer’s introduction to Google Android". Ars Technica. Retrieved April 22, 2013.
  31. "Distro Selector". Desktop Linux At Home. Retrieved July 29, 2011.
  32. "Philipp's Homepage: whohas". Philippwesche.org. February 11, 2010. Retrieved July 29, 2011.
  33. "Multi Distro is Linux times 9 on a single CD-R". Linux.com. Retrieved July 29, 2011.
  34. "Network install from a minimal CD". Debian. Retrieved July 29, 2011.
  35. Debian Webmaster, webmaster@debian.org. "Debian - Details of package win32-loader in Lenny". Packages.debian.org. Retrieved July 29, 2011.
  36. Jared Newman (21 September 2015). "Steam for Linux tops 1,500 games as launch of Valve's Steam Machines nears". PCWorld.
  37. "Steam’s living room hardware blitz gets off to a muddy start". Ars Technica.
  38. "The state of Linux gaming in the SteamOS era". Ars Technica.
  39. "Affordy - TITAN Computers". Shop.affordy.com. Retrieved July 29, 2011.
  40. "Laptops/Notebooks with Linux Preinstalled". Mcelrath.org. June 10, 2010. Retrieved July 29, 2011.
  41. "Microsoft Software License Terms: Windows 7 Professional" (PDF).
  42. "Getting a Windows Refund in California Small Claims Court". Linuxjournal.com. Retrieved July 29, 2011.
  43. "Windows Refund Day". Marc.merlins.org. February 15, 1999. Retrieved July 29, 2011.
  44. Detaxe.org (French) Say no to bundled software - Say yes to informed consumers
  45. "(en) Computers in the post-Snowden era: choose before paying!".

External links

This article is issued from Wikipedia - version of the Sunday, February 14, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.