
Linux can give an old laptop or a cheap mini PC years of extra life, but "Linux is lightweight" isn't automatically true. A modern distribution with a full GNOME or KDE desktop and a few browser tabs will feel just as slow as the Windows version it replaced. The difference comes from the choices you make: the right distribution, a light desktop, sensible memory settings and one or two cheap hardware upgrades. This guide walks through each, in order of impact.
Quick answerInstall a lightweight distribution with XFCE or LXQt (Linux Lite, Xubuntu, Lubuntu, MX Linux, or antiX for very old machines), turn on zram, disable startup programs you don't need, use a browser with an ad blocker, and if the machine still has a hard disk, replace it with an SSD.
1. Know what "old" means for your machine
Check the hardware first: lscpu (CPU and whether it's 64-bit), free -h (RAM) and lsblk -d -o name,rota (rota 1 means a spinning hard disk). Roughly:
| Machine | Typical specs | Realistic target |
|---|---|---|
| Very old | 32-bit CPU or 1–2 GB RAM | antiX, Puppy-style distros, minimal window manager |
| Old | 64-bit dual-core, 2–4 GB RAM | Lubuntu, Linux Lite, MX Linux, Debian with LXQt/XFCE |
| Ageing but decent | Quad-core, 4–8 GB RAM | Xubuntu, Linux Mint XFCE, Fedora XFCE spin |
Most mainstream distributions no longer support 32-bit PCs, so a 32-bit machine limits you to the few projects that still build for it.
2. Choose a lightweight distribution
- Linux Lite 8.0: based on Ubuntu 26.04 LTS with XFCE, aimed at Windows switchers; recommends a 1.5 GHz dual-core CPU and 4 GB of RAM.
- Lubuntu 26.04: official Ubuntu flavour with the LXQt desktop, one of the lightest full desktops.
- Xubuntu 26.04: official Ubuntu flavour with XFCE 4.20; a good balance of features and speed.
- MX Linux: Debian-based, XFCE by default, with excellent tools for older hardware.
- antiX: extremely light, still offers 32-bit builds, runs on very little RAM.
- Debian netinst: install only what you need and add XFCE or LXQt on top.
Prefer an LTS or stable release so you aren't upgrading the system every six months.
3. Use a lightweight desktop
The desktop environment is the biggest single factor in memory use.
- XFCE: complete and familiar, light enough for 4 GB machines.
- LXQt: lighter still, modern Qt-based look.
- Window managers (Openbox, IceWM, i3): the lightest of all, but you assemble the desktop yourself.
Already installed Ubuntu with GNOME? You can add XFCE with sudo apt install xubuntu-desktop and pick it at the login screen.
4. Turn on zram
zram keeps a compressed swap area in RAM, so the system can hold more before it falls back to slow disk swap. On low-RAM machines it makes a very noticeable difference.
# Debian/Ubuntu-based
sudo apt install zram-tools
echo -e "ALGO=zstd\nPERCENT=50" | sudo tee /etc/default/zramswap
sudo systemctl restart zramswap
swapon --show
Fedora and some other distributions enable zram by default.
5. Trim startup programs and services
- Remove autostart entries you don't need (Session and Startup in XFCE, or LXQt's Session Settings).
- List enabled services with
systemctl list-unit-files --state=enabledand disable ones you don't use, such as Bluetooth on a desktop without Bluetooth (sudo systemctl disable --now bluetooth). - Uninstall unused apps; fewer packages also means smaller updates.
6. Tame the web browser
On old machines, the browser is usually the heaviest program by far.
- Install an ad and tracker blocker such as uBlock Origin; it cuts page weight dramatically.
- Keep the number of open tabs low, or enable tab discarding/sleeping.
- Check that hardware video decoding works for smoother video playback.
- Use lighter apps elsewhere: a simple text editor, a light file manager, a native music player instead of a web app.
7. Reduce visual effects
Turn off the compositor (XFCE: Window Manager Tweaks → Compositor), animations and transparency. Use a simple theme. On a weak graphics chip, this keeps the desktop responsive.
8. Upgrade the cheap parts
- SSD: replacing a hard disk with even a basic SATA SSD makes boot, app start and updates several times faster. It's the best value upgrade for any old PC.
- RAM: going from 2 to 4 GB or 4 to 8 GB removes most swapping. Used memory for older laptops is inexpensive.
- Clean and re-paste: dust and dried thermal paste make old CPUs throttle.
9. Monitor what's slow
Use btop or htop to see which process uses CPU and memory, systemd-analyze blame to find slow boot services, and iotop to spot disk-heavy processes. Fix the biggest consumer first instead of tweaking everything.
10. Offload the heavy work
An old machine can make a great thin client. Run demanding software on a remote server, such as a Linux VPS with a desktop over xrdp or a Windows RDP server, and connect from the old PC with Remmina. The local machine only has to display the screen.
Frequently asked questions
What is the best Linux for old laptops?
Lubuntu, Linux Lite, Xubuntu and MX Linux are the best all-round choices; antiX for very old or 32-bit machines.
How much RAM do I need for Linux?
About 2 GB is usable with LXQt or a window manager, and 4 GB is comfortable with XFCE. GNOME on Ubuntu 26.04 recommends 6 GB.
Does zram really help?
Yes, on machines with 4 GB or less. It lets more programs stay in memory before slow disk swap is used.
Can I run Linux on a 32-bit computer?
Yes, but only on the few distributions that still build 32-bit versions, such as antiX. Most mainstream distributions are 64-bit only.


