Skip to content

Instantly share code, notes, and snippets.

@muhajirinlpu
Last active August 15, 2024 08:41
Show Gist options
  • Save muhajirinlpu/0f88807eb17ef566a02d2bdd948854c0 to your computer and use it in GitHub Desktop.
Save muhajirinlpu/0f88807eb17ef566a02d2bdd948854c0 to your computer and use it in GitHub Desktop.
# make sure to run `update` and `upgrade` before proceeding, and if there is kernel update, please reboot before continue
#!/bin/bash
sudo nala install linux-firmware linux-generic ronn build-essential pkg-config
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
mkdir -p ~/downloads
cd ~/downloads
git clone https://github.com/systemd/zram-generator.git
cd zram-generator
make build && sudo make install NOBUILD=true
touch /etc/systemd/zram-generator.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment