🐧 Moving from Debian to Void Linux — Notes & Tips

1. Runit and services

ln -s /etc/sv/servicename /var/service/

Start it immediately:

sv up servicename

To see what's available:

ls /etc/sv/

Useful docs: Void Wiki - Services


2. Installing apps not in the repos

ar x package.deb
tar -xf data.tar.xz

Then manually copy, but this is fragile.


3. Hardening the system

No official Void hardening manual, but you can adapt: Arch Wiki - Security

xbps-install -Su
  • Consider a hardened kernel (advanced).
  • Void Wiki: Security


    4. Restricting app permissions

    firejail --net=none myapp

    AppArmor / SELinux possible but require extra setup on Void.


    5. Encrypting /home

    Void installer doesn’t have a GUI option.

    Manual setup:

    Guide: Void Linux Full Disk Encryption


    6. xbps vs apt quick reference

    Task Debian/apt Void/xbps
    Installing pkgsapt install pkgnamexbps-install pkgname
    Update repoapt updatexbps-install -S
    Upgrade all packagesapt upgradexbps-install -u
    Upgrade & install updatesapt full-upgradexbps-install -Su
    Remove pkg + depsapt autoremove pkgnamexbps-remove -R pkgname
    Remove orphaned pkgsapt autoremovexbps-remove -o And also to clean the cache xbps-remove -O
    Exclude pkg on installapt install foo -barNo direct equivalent; hold with: xbps-pkgdb -m hold bar

    Guide: Void Linux package manager XBPS


    Extras & recommendations

    🐧 Enjoy Void Linux — it’s lightweight, rolling, and fun to tinker with!

    Et voilà