source: project/wiki/platforms @ 29435

Last change on this file since 29435 was 29435, checked in by svnwiki, 8 years ago

Anonymous wiki edit for IP [98.27.143.13]: Add the command for Fedora, too.

File size: 7.0 KB
RevLine 
[18150]1[[tags:platforms linux bsd mac windows solaris haiku]]
[4187]2
[4198]3[[toc:]]
4
[21190]5== Platform packages
[4187]6
[4188]7This aims to provide a comprehensive listing of all platforms where Chicken
8is available in pre-packaged form (whether as a distribution package or a
9binary).
10
[6004]11To see on which platforms CHICKEN is supported, see [[portability]].
12
13In order to enable software written using CHICKEN to be effectively
14distributed, it is important that CHICKEN (or at least the CHICKEN
[4189]15libraries) be included in as many of the various packaging systems as
16possible, so that it can always be relied on as an available dependency.
[4187]17
18== Linux
19
[21037]20=== Arch Linux
[25312]21
[28852]22* [[http://www.archlinux.org/|Arch]] users can install CHICKEN 4.8.0.3
[21758]23  from its official community repository:
[21039]24
[21038]25  pacman -S chicken
[21039]26
[21038]27* Furthermore, almost all [[Eggs]] are available in its [[http://aur.archlinux.org/|AUR]] repository.
[21037]28
[4187]29=== Debian Linux
30
[28263]31* CHICKEN 4.8.0 is officially included in the Debian Sid (unstable) distribution.
[28262]32* CHICKEN 4.7.0 is officially included in the Debian Wheezy (testing) distribution.
[23433]33* CHICKEN 4.5.0 is officially included in the Debian Squeeze (stable) distribution.
34* CHICKEN 3.2.7 is officially included in the Debian Lenny (old stable) distribution.
[4187]35
[28262]36For a complete Chicken install on Debian, you need to
37 # aptitude install chicken-bin libchicken-dev libchicken6
38
[25312]39[[http://packages.debian.org/source/wheezy/chicken|Debian page for the CHICKEN source package.]]
40
[29434]41=== Fedora Linux (and RHEL derivatives, via EPEL)
42
43* CHICKEN 4.8.0 is officially included in the Fedora 18 and 19 distributions.
44* CHICKEN 4.8.0 is officially included in the EPEL 6 repository for RHEL and derivatives.
45
[29435]46  sudo yum install chicken
47
[4187]48=== Ubuntu Linux
49
[28264]50* CHICKEN 4.8.0 is officially included in the Ubuntu Raring distribution.
51* CHICKEN 4.7.0 is officially included in the Ubuntu Precise and Quantal distributions.
[25312]52* CHICKEN 4.6.0 is officially included in the Ubuntu Oneiric distribution.
53* CHICKEN 4.5.0 is officially included in the Ubuntu Natty and Maverick distributions.
[21037]54* CHICKEN 4.2.0 is officially included in the Ubuntu Lucid distribution.
[20323]55* CHICKEN 3.4.0 is officially included in the Ubuntu Karmic distribution.
56* CHICKEN 3.2.7 is officially included in the Ubuntu Jaunty distribution.
[4187]57
[4188]58=== Gentoo Linux
[4187]59
[5558]60[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
[4188]61
[5558]62  emerge -auv chicken
[4189]63
[6004]64This will download, compile and install the latest version of CHICKEN (if it is not already installed).
[5558]65
[17093]66CHICKEN's [[http://packages.gentoo.org/package/dev-scheme/chicken|Portage ebuild]] is maintained by Marijn Schouten.
[5811]67
[28838]68=== OpenSUSE
69
70There are currently two unofficial builds of Chicken for [[http://opensuse.org/|OpenSuSE]], which are built and kept updated using OpenSuSE's build service facility [[https://build.opensuse.org/|OBS]]. They can be obtained by adding the corresponding repository [[https://build.opensuse.org/package/show?package=chicken&project=home%3Amwilhelmy|home:mwilhelmy]] or [[https://build.opensuse.org/package/show?package=chicken&project=home%3Aavli%3Ascheme|home:avli:scheme]] to zypper's repository list and installing from there.
71
72You need something along the lines of
73
74 # zypper addrepo -r http://download.opensuse.org/repositories/home:/mwilhelmy/openSUSE_12.2/home:mwilhelmy.repo
75 # zypper refresh
76 # zypper install chicken chicken-devel chicken-doc
77
78for a complete installation of the CHICKEN scheme system.
79
[5811]80=== Embedded Linux
81
[28261]82==== OpenEmbedded
83
[28836]84[[http://github.com/OSSystems|meta-chicken]] is a layer for [[http://www.openembedded.org|OpenEmbedded]] which can be used to cross-compile Chicken and eggs.
[28261]85
86
[5811]87==== OpenMoko
88
[6717]89This package consists of the runtime library plus interpreter. The version of Chicken is 2.733.
[5862]90
[6718]91 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
[5811]92
[14119]93Package maintained by [[/users/john moore|john moore]].
[17809]94
95==== Maemo 5
96
97Instructions for getting Chicken (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
98
99Package maintained by [[http://0xab.com/|Andrei Barbu]].
[28261]100
101
102
[4187]103== Mac OS X
104
105=== MacPorts
106
[4188]107If you're using [[http://www.macports.org/|MacPorts]], installation is very
[4187]108simple. Open the Terminal application and type the following:
109
110  sudo port install chicken
111
[6004]112This will download, compile and install the latest CHICKEN version.
[4187]113
[19627]114The MacPorts package is maintained by [[/users/arto-bendiken|Arto Bendiken]].
[4187]115
[6279]116==== Installing the readline egg
[6143]117
[14110]118You can install the readline egg to get history and tab-completion in csi. See [[/manual/Using the interpreter|Using the interpreter]].
[6279]119
120However, 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:
121
122  port install readline
123
124==== Fixing libchicken.dylib
[17093]125
[6143]126When using certain extensions (posix is one example), you may come across the following error:
127
128  "dlopen(libchicken.dylib, 9): image not found"
129
[6272]130The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
[6143]131
[6272]132  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
133
134Another 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}}:
135
[6144]136  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
137  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
[6143]138
139This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
140
[22828]141=== Homebrew
142
143If you're using [[https://github.com/mxcl/homebrew/|Homebrew]] you can install the formula chicken:
144
145    brew install chicken
146
[5604]147== BSD
148
[14233]149=== FreeBSD
150
151For FreeBSD, you can use the {{lang/chicken}} port to install the latest stable release.
152
[5604]153=== NetBSD
154
155For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
156
[9039]157
158=== OpenBSD
159
160For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
161
162<enscript>
163$ pkg_add chicken
164</enscript>
165
166
[5604]167=== DragonFly BSD
168
169For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
170
[18150]171== Haiku
172
173=== HaikuPorts
174
175Chicken has been added to the official [[http://ports.haiku-files.org|ports repository]] and can be installed with the following command:
176
177  haikuporter -i chicken
178
179
[5604]180== Other platforms/cross-platform support
181
182=== pkgsrc
183
184For many systems, you can use [[http://www.pkgsrc.org|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 [[http://www.netbsd.org/docs/software/packages.html#platforms|this table]] for the full list of supported platforms.
[22584]185
186=== Microsoft Windows
187
[28884]188[[http://www.kiatoa.com/cgi-bin/chicken-iup/home|Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled]]
189
190[[https://bitbucket.org/roti/chicken-installer/downloads|Another installer for Windows]]
Note: See TracBrowser for help on using the repository browser.