The kernel and the system
Strictly speaking, Linux is the kernel: the core program that manages memory, processes and hardware. A complete operating system adds libraries, command-line tools (many from the GNU project), a service manager, a graphical desktop and applications. That bundle is called a distribution.
Open source
Linux and most of its software are open source. You can read, modify and share the code under licences such as the GPL. That openness is why Linux appears in so many places.
Where Linux runs
- Most of the world's web servers and cloud infrastructure
- Android phones, which use the Linux kernel
- Routers, TVs, cars and other embedded devices
- Supercomputers and scientific workstations
- Desktops and laptops of millions of users
Next steps
Read Choosing a distribution, then try the command line.
Distribution, desktop and applications are separate choices
Beginners often hear Linux discussed as if it were one fixed product. In practice, a Linux system is built from layers, and you can change some of them without changing the rest.
A distribution decides the overall package: which software repositories you use, how updates are delivered, which installer and defaults are provided, and how conservative or fast-moving the system is. Two distributions can run the same desktop and many of the same programs, yet feel quite different to maintain. If you are comparing options, start with Distributions.
The desktop environment is a separate choice. It provides the panel, settings tools, file manager, app launcher and window behaviour. GNOME, KDE Plasma and Xfce are common examples. The same distribution may offer several desktops, and the same desktop can appear on many distributions.
Applications sit above that layer again. You might use the same browser, editor or media player whether you are on a laptop, a server with a remote session, or a small embedded device with a minimal interface.
That separation matters because it explains why Linux screenshots vary so much. A change in theme or desktop does not mean the underlying system is completely different. It also explains why some Linux machines have no desktop at all: many servers are installed with only the essentials and managed remotely.
How software normally gets onto a Linux system
On Linux, software is usually installed through the distribution rather than by downloading individual installers from many different places. The normal route is a package manager connected to software repositories maintained for that distribution. If you want the practical detail, see Packages.
A package is a prepared bundle of files plus metadata: version information, dependencies, and instructions for installation or removal. The package manager keeps track of what is installed and what other components it needs.
In day-to-day use, that gives you a few advantages:
- system libraries and applications are updated together
- dependencies are resolved automatically
- removal is cleaner, because the package manager knows which files belong to which package
- security fixes usually arrive through the same update mechanism as normal bug fixes
Different distributions use different tools, such as apt, dnf or pacman, but the idea is the same.
You can also compile software from source code, which gives more control but also more responsibility. You must handle build tools, optional features, dependencies and future updates yourself. For a beginner, repository packages are usually the safer and simpler starting point.
Some systems also support self-contained app formats alongside the main package manager. Those can be useful, but they do not replace the basic role of the distribution's own repositories.
The file system and permission model
Linux organises files under a single directory tree that starts at /. There are no separate drive letters in the usual Windows sense. Disks, USB storage and network shares are attached by mounting them somewhere inside that tree. The layout soon becomes familiar, especially if you spend time with the File system page.
A few directories appear on almost every system:
- /home for users' personal files and settings
- /etc for system-wide configuration
- /var for changing data such as logs, caches and queues
- /usr for most installed programs and shared files
Linux also separates ordinary work from administrative control. Each file has an owner, a group and a set of permissions. At the simplest level, those permissions decide who may read, write or execute a file.
That is why a normal user can edit documents in their home directory but cannot casually overwrite system files. Administrative changes are done as root, often through sudo. It can feel strict at first, but it prevents a lot of accidental damage and makes it clearer when you are changing something important.
This same model affects scripts, services and network tools. If a script will not run, or a program cannot open a file or bind to a port, permissions are one of the first things to check. The Users & permissions page goes into that in more detail.
