We round up some top small Linux distributions
Small Is Beautiful
Beyond the realm of mainstream, enterprise-ready desktop giants lie a handful of miniscule Linux distributions that barely leave a noticeable footprint on a computer's resources. Here's a look at some of the leading small distros.
There is no universal definition of the word "small" when it is used to define a Linux distribution. For some users, a small distribution is one that has a minimal footprint on a computer's resources. For others, a small distribution is the one that is distributed in a nifty little package and can be lugged around in a portable USB key. Both types of distributions have their uses. Small-footprint distros help save old and resource-strapped computers from ending up in a landfill, while USB-style distros give their users a safe, secure, and private environment on a public computer, like in a library or hotel lobby. The candidates we've selected in this article do a bit of both (see also the "Not Considered" box).
Not Considered
Several distributions use lightweight apps, but aren't necessarily small enough to qualify for this article. Prime examples include the official Ubuntu spins based on the LXDE and Mate desktops, which are designed for hardware that doesn't have the power to run the main edition but aren't small in size. The Trinity Desktop Environment based Q4OS, the JWM-powered Star Linux, antiX, and 4MLinux miss out for the same reasons.
A lot of hardware is good enough to run the mainstream Linux distributions without any issues. However, the modern Linux desktop is a fairly resource hungry beast as well. Coupled with the fact that mainstream Linux distros are designed to appeal to a large number of users, they also have become too bloated. This has fueled the demand for lightweight options both for individual apps (see box titled "Lightweight Apps") and for complete distributions.
Lightweight Apps
Two traits are common to every lightweight distro; a lightweight desktop environment and lightweight apps. Lightweight alternatives exist for every type of software. For instance, office apps like the AbiWord word processor and the Gnumeric spreadsheet are a popular replacement for mainstream suites like LibreOffice and Calligra. Other popular small contenders include the Midori web browser, Xpdf PDF viewer, Fotoxx image editor, CMPlayer media player, and App Grid software center, among others. Some distros, most notably Puppy Linux, also replace the stock apps with custom ones that are optimized for the minimal environment under which they are running.
Some desktop environments have a lighter footprint on resources as compared to mainstream desktop environments like Gnome 3 and KDE 4. LXDE and Xfce are two of the popular options that are used by many distros. There's also Mate, which is a continuation of Gnome 2. Then there's Enlightenment, which includes some bling as well. Other distros don't even use a full-fledged desktop environment and opt instead for a simpler window manager, such as Openbox. Other lighter but esoteric window managers include IceWM, Fluxbox, FLWM, and Joe's Window Manager (JWM).
Just as it is difficult to define a distro as "small," defining hardware as "older" is also tricky. In addition to users who have hardware that's been outdated fairly recently, there's another kind who are holding on to their workhorses from the last decade. They usually just use their computer to browse the web, do some text editing, and watch some videos. It's a shame to force these users to dump their trusted machines and get the latest multicore computers loaded with several gigabytes of RAM or even a dedicated graphics card. However, chances are their workhorse isn't supported by the latest kernel, which keeps dropping support for older hardware that is no longer in vogue.
Carbon Dating Hardware
Forget about decades-old hardware; many popular distributions don't think it's viable to even support 32-bit architecture any more. Everything from new user projects such as Solus and elementary OS to the privacy-centric Tails Linux has dropped support for the 32-bit platform. Even mainstream projects like Arch and Ubuntu no longer offer installation ISOs for 32-bit machines. Despite the fact that 32-bit machines disappeared from the shelves quite a while back, they still adorn a lot of desks all over the world. Thankfully, you can still put these old machines to good use, and it really isn't a surprise that a large number of open source developers are working hard to make obsolete hardware usable again.
New software is always leveraging on the pace of hardware developments and rendering even relatively newer hardware obsolete. Examples of these relatively recent attic-ready hardware would be single-core or dual-core AMD Athlons and Intel Pentiums with about 2GB of RAM that they share with onboard graphics. A couple of years ago, mainstream distros would perform adequately on these machines, but not anymore. Then there are the hordes of netbooks that were pitched as light and portable replacements for laptops, but their under-powered hardware couldn't keep pace with the growing demands of the software. Using the distributions in this article, you'll be able to put your trusty old workhorse back into active service and even ensure you have a miniscule portable environment that you can safely use on a public computer. Whatever your needs, you'll be able to walk away with a distribution that meets your requirements.
Porteus
Porteus [1] is a portable distribution designed and optimized to run from removable media such as a USB flash drive, SD card, or even optical media like a CD. If the medium is writable, Porteus will save all changes inside a folder and load them on subsequent boots. The distribution is based on Slackware Linux using a modified version of the Linux Live scripts that help cut down bootup and shutdown times. The latest release supports newer UEFI machines and also includes the latest Intel firmware fix for the Spectre vulnerability.
Instead of a single ISO, Porteus is available as seven separate ISO images, each with a different desktop – from the heavyweight KDE and Cinnamon to the lightweight LXQt, LXDE, Openbox, and others. All seven flavors of Porteus support both 32- and 64-bit architectures, and the ISOs of most editions weigh in around 300MB each. This is because the distribution exists in a compressed state on the storage media, and the familiar Linux directory structure is created on-the-fly during boot.
Another unique aspect of Porteus is its use of modules, which are precompiled packages that you activate and deactivate as per your requirements. If you move these app modules to a designated directory inside the removable storage, the app is available in subsequent boots as well. The modules infrastructure works well in conjunction with the traditional binary packages. Porteus uses the Unified Slackware Package Manager (USM), which lets you fetch apps from across five different Slackware repositories. When you fetch packages via USM, you also get the option to convert them into modules (Figure 1). You can then activate the modules to use the app and make them survive reboots as well.
Porteus has a unique mechanism for getting onto a writable medium. Instead of dd
'ing its ISO file on to a USB stick, you need to loop mount it and copy its contents onto an ext4-formatted disk. Then run a script from inside the USB to make it bootable, and you're good to go. The process is explained in the official installation guide [2]. You can also install Porteus to an internal hard drive, though the developers don't recommend this option. Out of the box, Porteus doesn't ship with very many apps besides the ones that come with the desktop environment by default. But you can use USM and its repository to easily flesh out your environment and have them available on subsequent boots, which makes it very convenient (Figure 2).
The Porteus boot menu offers some interesting options. For example, you can use the boot menu to copy the entire Live environment to RAM, which requires more than 768MB of system memory. You can also opt to boot Porteus in text mode, initialize a PXE server, or access the Plop boot manager. By default, the Live session is persistent, which automatically saves all changes made to the Live environment. However, you do get the option to start a fresh session from the boot menu.
Puppy Linux
One of my all-time favorites, Puppy Linux [3], was one of the first of the miniscule distributions. Puppy had its first release way back in 2003. The distribution is built from the ground up and has grown beyond its original mandate of resurrecting older hardware that had been rendered useless due to lack of support in the mainstream distributions.
The project currently has four official versions. Three are based on Ubuntu's Bionic, Xenial, and Tahr releases, and one is based on Slackware 14.1. Despite their different base and package repositories, all variants use JWM, which is one of the lightest window managers.
You can transfer Puppy Linux to a rewritable medium like a USB disk or anchor it to your hard disk. The distribution's custom installer will help you with both these installation targets. The distribution supports two installation mechanisms. The default frugal mechanism copies Puppy files inside a partition that holds another distribution, while the full option takes over the entire partition and is recommended only for older machines. Puppy's installation process is rather unconventional and might even intimidate first-time users, but every step is well documented and easy to follow.
Once you're done with the installation, you'll be amazed by the distribution's cache of apps. There's no beating Puppy for out-of-the-box functionality. You'll find an app for virtually every task that you can perform with a desktop computer. Puppy's menu includes popular lightweight options such as Claws Mail, the Pale Moon web browser, the AbiWord editor, the mpv multimedia player, and more (Figure 3). Interspersed with them are Puppy's own custom apps – primarily to ease administration tasks. For a miniscule distribution, Puppy has some apps that you wouldn't find even in full-fledged distributions, including apps to block online ads, a softphone for Internet telephony, a secure downloader, a DVD burning app, and lots more.
Puppy Linux packages are called pets and have a .pet
extension. You can install packages using the distribution's custom Puppy Package Manager tool. By default, the package manager will fetch apps from the repositories of the Puppy variant you are using, but you can configure it to download packages from other Puppy repositories as well. You can also download SquashFS (SFS) files for some popular apps like Kodi, KdenLive, LibreOffice, WPS Office, and more (Figure 4). SFS files are compressed environments that package an app and all its dependencies. Think of them as modules in Porteus that can be activated and deactivated as well.
When you shut down Puppy for the first time, the distribution offers to save all changes inside a file that can optionally be encrypted for added security. Speaking of security, it should be noted that the distribution runs everything as the root user. The Puppy developers consider this to be a safe option but also give you the option to run the distribution as a non-privileged user, although the non-privileged option is currently considered experimental. Interestingly, Puppy Linux can also save changes from a Live session onto rewritable optical media as well. Puppy also scores highly for its ample documentation. The distribution bundles help documentation on several topics, such as working with Microsoft Office files, how to add codecs, installing software, and more. Help pages contain links to the documentation pages for most applications.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.