Join Nostr
2026-03-17 18:48:22 UTC
in reply to

Ryan on Nostr: Depends on the distro, but usually just install a package. I know on Debian an apt ...

Depends on the distro, but usually just install a package. I know on Debian an apt install zram-config will do the trick. If you already have swap you may need to mess around a bit with swapoff, but it's pretty simple usually. The link I posted goes over the basic config.

From AI:
To set up zRAM on Linux, follow these steps:
* Install the package: Run sudo apt install zram-config (Debian/Ubuntu) or sudo dnf install zram-generator (Fedora).
* Start the service: Use sudo systemctl enable --now zram-config or configure the /etc/systemd/zram-generator.conf file.
* Verify: Check status with zramctl or swapon --show.