WARNING: this page is likely to contain outdated information. Check the canonical source of official information about your platform for the most up-to-date status of CHICKEN on it.
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 5.3.0 from its official community repository:
pacman -S chicken
- Some Eggs may be available as AUR packages.
Debian Linux
- CHICKEN 5.3.0 is officially included in the Debian Sid (unstable) distribution.
- CHICKEN 5.3.0 is officially included in the Debian Bookworm (stable) distribution.
- CHICKEN 5.2.0 is officially included in the Debian Bullseye (oldstable) distribution.
- CHICKEN 4.13.0 is officially included in the Debian Buster (oldoldstable) distribution.
- More recent versions of CHICKEN are available in an unofficial repository for Debian 10 and newer on build.opensuse.org.
Users can install CHICKEN on Debian by using apt or aptitude:
# apt install chicken-bin
or
# aptitude install chicken-bin
Debian page for the CHICKEN source package.
Fedora Linux (and RHEL derivatives, via EPEL)
Fedora officially includes a fairly recent version of CHICKEN. To install, just use yum:
sudo yum install chicken
There is also an unofficial RPM repository located at home:zilti:chicken with up-to-date Fedora packages.
Ubuntu Linux
- CHICKEN 5.3.0 is officially included in the Ubuntu Lunar distribution
- CHICKEN 5.2.0 is officially included in the Ubuntu Kinetic distribution
- Chicken 4.13.0 is officially included in the Ubuntu Cosmic distribution
- Newer versions of CHICKEN are also available in an unofficial repository for Ubuntu 18.04 and newer on build.opensuse.org.
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 is currently one semi-official and one unofficial build of CHICKEN. Both are build on OBS, the openSUSE Build Service.
The semi-official one can be found at devel:languages:misc. The unofficial one is from the user zilti and you can find it at home:zilti:chicken
In order to install CHICKEN from devel:languages:misc, you need something along the lines of:
# zypper addrepo https://download.opensuse.org/repositories/devel:languages:misc/openSUSE_Leap_15.1/devel:languages:misc.repo # zypper refresh # zypper install chicken
For a complete set of openSUSE distributions and more installation options you can check the CHICKEN download page at software.opensuse.org
Mageia
- There is an unofficial repository located at home:zilti:chicken with up-to-date Mageia packages.
Void
- Void users can install CHICKEN 5 from the official package repository:
xbps-install chicken
Embedded Linux
Yocto/OpenEmbedded
meta-chicken is a layer for Yocto/OpenEmbedded which can be used to cross-compile CHICKEN and eggs.
OpenWRT
CHICKEN 5.0.0 is included in the development branch of OpenWRT. If you have the line
src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/.../packages
(note it says 'snapshots' and not 'releases') in the file
/etc/opkg/distfeeds.conf
you'll be able to install it with opkg as shown below:
opkg install chicken-scheme-interpreter
For the stable version it would be necessary to compile the sources from this repository (follow the instructions there).
Chrome OS
If you have your Chrome OS device in developer mode and have installed Chromebrew you can install it from binaries using:
crew install chicken
or compile from source using:
crew install -s chicken
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.
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 chicken formula:
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 on 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
NOTE: Some users may encounter issues installing eggs on Windows (particularly bind) unless an appropriate C compiler is installed. It is recommended to use mingw-w64 in place of mingw32 as the mingw32 project is no longer as actively maintained.
Chicken on the Chocolatey package manager, most recent pre-packaged version
Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled
If you use cygwin there are up to date packages included for 32 and 64bit versions.
MSYS2 is easy to setup and build Chicken for, and produces native 64 bit Windows binaries.