This page documents Casuarina equivalents to common actions.
| Action | Casuarina | Notes |
|---|---|---|
| Install package | apk add package | See apk below |
| Remove package | apk del package | See apk below |
systemctl enable service | dinitctl enable service | As root |
systemctl --user enable service | dinitctl enable service | As user (not root) |
| systemd timers | cron | cronie package; enable crond service |
sudo | doas | opendoas package; installed by default by base-full |
--long args to coreutils | -s short args | The BSD userland mostly doesn’t support long args |
unzip, and other archives | tar | See tar below |
curl | fetch | Part of chimerautils |
make | make | GNU make provided by gmake package |
gcc | cc (or clang) | Provided by LLVM |
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 on Casuarina is provided by libarchive, which supports a wide variety of archives and
compression formats using the same CLI interface.