You are looking at historical revision 28838 of this page. It may differ significantly from its current revision.
Platform packages
This aims to provide a comprehensive listing of all platforms where Chicken is available in pre-packaged form (whether as a distribution package or a binary).
To see on which platforms CHICKEN is supported, see portability.
In order to enable software written using CHICKEN to be effectively distributed, it is important that CHICKEN (or at least the CHICKEN libraries) be included in as many of the various packaging systems as possible, so that it can always be relied on as an available dependency.
Linux
Arch Linux
- Arch users can install CHICKEN 4.8.0.1 from its official community repository:
pacman -S chicken
Debian Linux
- CHICKEN 4.8.0 is officially included in the Debian Sid (unstable) distribution.
- CHICKEN 4.7.0 is officially included in the Debian Wheezy (testing) distribution.
- CHICKEN 4.5.0 is officially included in the Debian Squeeze (stable) distribution.
- CHICKEN 3.2.7 is officially included in the Debian Lenny (old stable) distribution.
For a complete Chicken install on Debian, you need to
# aptitude install chicken-bin libchicken-dev libchicken6
Debian page for the CHICKEN source package.
Ubuntu Linux
- CHICKEN 4.8.0 is officially included in the Ubuntu Raring distribution.
- CHICKEN 4.7.0 is officially included in the Ubuntu Precise and Quantal distributions.
- CHICKEN 4.6.0 is officially included in the Ubuntu Oneiric distribution.
- CHICKEN 4.5.0 is officially included in the Ubuntu Natty and Maverick distributions.
- CHICKEN 4.2.0 is officially included in the Ubuntu Lucid distribution.
- CHICKEN 3.4.0 is officially included in the Ubuntu Karmic distribution.
- CHICKEN 3.2.7 is officially included in the Ubuntu Jaunty distribution.
Gentoo Linux
Gentoo users can install chicken the normal way:
emerge -auv chicken
This will download, compile and install the latest version of CHICKEN (if it is not already installed).
CHICKEN's Portage ebuild is maintained by Marijn Schouten.
OpenSUSE
There are currently two unofficial builds of Chicken for OpenSuSE, which are built and kept updated using OpenSuSE's build service facility OBS. They can be obtained by adding the corresponding repository home:mwilhelmy or home:avli:scheme to zypper's repository list and installing from there.
You need something along the lines of
# zypper addrepo -r http://download.opensuse.org/repositories/home:/mwilhelmy/openSUSE_12.2/home:mwilhelmy.repo # zypper refresh # zypper install chicken chicken-devel chicken-doc
for a complete installation of the CHICKEN scheme system.
Embedded Linux
OpenEmbedded
meta-chicken is a layer for OpenEmbedded which can be used to cross-compile Chicken and eggs.
OpenMoko
This package consists of the runtime library plus interpreter. The version of Chicken is 2.733.
ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
Package maintained by john moore.
Maemo 5
Instructions for getting Chicken (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
Package maintained by Andrei Barbu.
Mac OS X
MacPorts
If you're using MacPorts, installation is very simple. Open the Terminal application and type the following:
sudo port install chicken
This will download, compile and install the latest CHICKEN version.
The MacPorts package is maintained by Arto Bendiken.
Installing the readline egg
You can install the readline egg to get history and tab-completion in csi. See Using the interpreter.
However, you may get errors when compiling the egg. This is because Apple doesn't ship GNU readline with OS X. However, there is an easy fix:
port install readline
Fixing libchicken.dylib
When using certain extensions (posix is one example), you may come across the following error:
"dlopen(libchicken.dylib, 9): image not found"
The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
Another solution is to set the DYLD_LIBRARY_PATH environment variable to the location of libchicken.dylib. However, this will mess up some other programs, as they will look for their libraries in /opt/local/lib as well. One solution is to set up aliases for csi and csc in your bash profile. Add the following two lines to ~/.profile:
alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi' alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
This will set DYLD_LIBRARY_PATH for csi and csc, but not for other commands.
Homebrew
If you're using Homebrew you can install the formula chicken:
brew install chicken
BSD
FreeBSD
For FreeBSD, you can use the lang/chicken port to install the latest stable release.
NetBSD
For NetBSD, you can use the lang/chicken package from pkgsrc to install the latest stable release.
OpenBSD
For OpenBSD, you can use the lang/chicken package by running the following command as root:
$ pkg_add chicken
DragonFly BSD
For DragonFly BSD, you can use the lang/chicken package from pkgsrc to install the latest stable release.
Haiku
HaikuPorts
Chicken has been added to the official ports repository and can be installed with the following command:
haikuporter -i chicken
Other platforms/cross-platform support
pkgsrc
For many systems, you can use pkgsrc. This is a cross-platform packaging system, which works most modern Unix-like operating systems and even on Windows (using Interix/Services for Unix or Cygwin). See this table for the full list of supported platforms.
Microsoft Windows
Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled