Black and white line drawing of a Casuarina nut.

Rosetta Stone

This page documents Casuarina equivalents to common actions.

ActionCasuarinaNotes
Install packageapk add packageSee apk below
Remove packageapk del packageSee apk below
systemctl enable servicedinitctl enable serviceAs root
systemctl --user enable servicedinitctl enable serviceAs user (not root)
systemd timerscroncronie package; enable crond service
sudodoasopendoas package; installed by default by base-full
--long args to coreutils-s short argsThe BSD userland mostly doesn’t support long args
unzip, and other archivestarSee tar below
curlfetchPart of chimerautils
makemakeGNU make provided by gmake package
gcccc (or clang)Provided by LLVM

Notes

apk

apk add and apk del do not directly install or remove a package. Instead they add or remove constraints from the world file (/etc/world). In turn the apk solver will determine if a package needs to be installed or can be removed to satisfy the constraints. This is a very powerful model, although can feel unfamiliar at first. See the Chimera docs for more information.

tar

tar on Casuarina is provided by libarchive, which supports a wide variety of archives and compression formats using the same CLI interface.