CHICKEN_EGG_CACHE
Location where eggs are retrieved and built.
Download and install extension libraries for chicken scheme
chicken-install [OPTION ...]
[NAME
[:VERSION] ...]
chicken-install downloads, compiles and installs a prepackaged extension library from sources. If no extension name is given on the command line, then any existing egg descriptions in the current directory will be executed in unspecified order.
The program accepts following arguments:
-h, -help
Show usage and exit.
-version
Show version and exit.
-v, -verbose
Print extra information during installation.
-force
Install without confirmation, even if versions don't match.
-k, -keep
Keep temporary files.
-s, -sudo
Use an external program to elevate privileges for filesystem operations. The program defaults to sudo(8) but can be overridden with the SUDO environment variable.
-r, -retrieve
Just retrieve the egg, don't install it (giving -r more than once implies -recursive).
-recursive
If -retrieve is given, also fetch dependencies recursively.
-dry-run
Do not build or install, just print the locations of the generated build & install scripts.
-list-versions
List available versions for the given eggs.
-purge
Remove cached files for given eggs (or purge cache completely).
-host
When cross-compiling, only compile extensions for host.
-target
When cross-compiling, only compile extensions for target.
-test
Run included test cases, if available.
-n, -no-install
Do not install the egg, just build it.
-no-install-dependencies
Do not install dependencies. Note that this option may result in build failures due to missing extension libraries.
-u, -update-db
Update export database.
-repository
Print path used for egg installation.
-override filename
Override versions for installed eggs with information from filename.
-from-list filename
Install eggs listed in filename, which has the same format as chicken-status(1)'s -list output. This option may be given multiple times.
-cached
Only install eggs from cache, do not download.
-l, -location directory
Get egg sources from the given directory. May be provided multiple times. Locations specified on the command line have precedence over the ones specified in setup.defaults.
-feature, -D name
Register feature name, usable as a condition in cond-expand clauses.
Following environment variables change the behaviour of chicken-install:
CHICKEN_EGG_CACHE
Location where eggs are retrieved and built.
CHICKEN_INSTALL_PREFIX
The path prefix for all target files, as given when building the system. Use this variable to override where programs, include files and additional data files shall be installed.
CHICKEN_INSTALL_REPOSITORY
The path where extension libraries are installed. Defaults to the package library path selected during configuration (usually $prefix/lib/chicken/<binary-version>). Note that this variable takes precedence to CHICKEN_INSTALL_PREFIX.
SUDO
The command to execute when using -s flag in command. If not provided, defaults to sudo(8).
$XDG_CONFIG_HOME/chicken/setup.defaults
User specific setup.defaults file. ( $XDG_CONFIG_HOME defaults to $HOME/.config )
$prefix/share/chicken/setup.default
System-wide setup.defaults file.
$XDG_CACHE_HOME/chicken-install/
Default directory for cached eggs. ( $XDG_CACHE_HOME defaults to $HOME/.cache )
The chicken-install utility exits 0 on success, 2 if the user aborted an operation, 3 if it was invoked with no explicitly given egg names and no *.egg files could be found in the current directory, and >0 if any other error occurs.
Install ‘regex’ egg as root user:
# chicken-install regex
Install an egg as an normal user but using sudo(8):
$ chicken-install -s regex
Install an egg as an normal user but elevating privileges with different program, such as OpenBSD doas(1):
$ SUDO=/usr/bin/doas chicken-install -s regex
9 releases since Debian 6.0 (Squeeze); the text changed 5 times.
-D since Debian 11 (Bullseye);
-cached since Debian 11 (Bullseye);
-dry-run since Debian 11 (Bullseye);
-feature since Debian 11 (Bullseye);
-force since Debian 11 (Bullseye);
-from-list since Debian 11 (Bullseye);
-h since Debian 11 (Bullseye);
-help since Debian 11 (Bullseye);
-host since Debian 11 (Bullseye);
-k since Debian 11 (Bullseye);
-keep since Debian 11 (Bullseye);
-l since Arch Linux 2026-11-01;
-list-versions since Debian 11 (Bullseye);
-location since Arch Linux 2026-11-01;
-n since Debian 11 (Bullseye);
-no-install since Debian 11 (Bullseye);
-no-install-dependencies since Debian 11 (Bullseye);
-override since Debian 11 (Bullseye);
-purge since Debian 11 (Bullseye);
-r since Debian 11 (Bullseye);
-recursive since Debian 11 (Bullseye);
-repository since Debian 11 (Bullseye);
-retrieve since Debian 11 (Bullseye);
-s since Debian 11 (Bullseye);
-sudo since Debian 11 (Bullseye);
-target since Debian 11 (Bullseye);
-test since Debian 11 (Bullseye);
-u since Debian 11 (Bullseye);
-update-db since Debian 11 (Bullseye);
-v since Debian 11 (Bullseye);
-verbose since Debian 11 (Bullseye);
-version since Debian 11 (Bullseye).
-host-extension until Debian 6.0 (Squeeze);
-i until Debian 6.0 (Squeeze);
-init until Debian 6.0 (Squeeze);
-n-install until Debian 6.0 (Squeeze);
-password until Debian 6.0 (Squeeze);
-update until Debian 6.0 (Squeeze);
-username until Debian 6.0 (Squeeze).