System-wide installation of Akku
Akku currently supports installation to
~/.akku and not e.g.
/usr. There is the environment variable
AKKU_HOME that can override the
~/.akku location, but it doesn't work very well with a system-wide installation.
Files accessed by Akku, apart from project files:
$AKKU_HOME/share/keys.d/*.gpg- keys to verify indices during
$AKKU_HOME/share/bootstrap.db- the index distributed with a release
$AKKU_HOME/share/index.db*- the indices downloaded by
$AKKU_HOME/bin/akku- the start wrapper
$HOME/.cache/akku- cache of downloaded tarballs
The keys and the bootstrap index can be read from both
/usr. The downloaded index could be moved to a location like in #15 (closed). A system-wide installation would also have the start wrapper in
Someone who wants to do a system-wide installation would most likely get the source tarballs that are generated by GitHub/GitLab, not the ones generated by
private/build.chezscheme.sps. There should be a configure script that embeds $PREFIX into akku, selects a Scheme implementation and perhaps a makefile that installs all needed files to $DESTDIR.