source: project/wiki/platforms @ 37994

Last change on this file since 37994 was 37994, checked in by svnwiki, 8 weeks ago

Anonymous wiki edit for IP [80.141.122.50]: Update for openSUSE download options.

File size: 9.2 KB
Line 
1[[tags:platforms linux bsd mac windows solaris haiku]]
2
3[[toc:]]
4
5== Platform packages
6
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
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
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.
17
18== Linux
19
20=== Arch Linux
21
22* [[http://www.archlinux.org/|Arch]] users can install CHICKEN 5.0.0
23  from its official community repository:
24
25  pacman -S chicken
26
27* There is also an [[https://aur.archlinux.org/packages/chicken-git/|AUR package]] if you would like to use CHICKEN from Git.
28
29* Furthermore, some [[Eggs]] may be available as [[https://aur.archlinux.org/packages/?O=0&SeB=n&K=chicken-&outdated=&SB=n&SO=a&PP=50&do_Search=Go|AUR packages]] as well.
30
31=== Debian Linux
32
33* CHICKEN 5.1.0 is officially included in the Debian Sid (unstable) distribution.
34* CHICKEN 4.13.0 is officially included in the Debian Bullseye (testing) distribution.
35* CHICKEN 4.13.0 is officially included in the Debian Buster (stable) distribution.
36* CHICKEN 4.11.0 is officially included in the Debian Stretch (oldstable) distribution.
37* CHICKEN 4.9.0.1 is officially included in the Debian Jessie (oldoldstable) distribution.
38
39Users can install CHICKEN on Debian by using {{apt}} or {{aptitude}}:
40
41 # apt install chicken-bin
42
43or
44
45 # aptitude install chicken-bin
46
47[[http://packages.debian.org/source/buster/chicken|Debian page for the CHICKEN source package.]]
48
49=== Fedora Linux (and RHEL derivatives, via EPEL)
50
51Fedora [[https://src.fedoraproject.org/rpms/chicken|officially
52includes]] a fairly recent version of CHICKEN.  To install, just use
53{{yum}}:
54
55  sudo yum install chicken
56
57There is also an unofficial RPM repository located at [[https://build.opensuse.org/package/show/home:zilti:chicken/chicken|home:zilti:chicken]] with up-to-date Fedora packages.
58
59
60
61=== Ubuntu Linux
62
63* Chicken 4.13.0 is officially included in the Ubuntu Cosmic distribution
64* Chicken 4.12.0 is officially included in the Ubuntu Bionic distribution
65* CHICKEN 4.11.0 is officially included in the Ubuntu Artful and Zesty distributions.
66* CHICKEN 4.9.0.1 is officially included in the Ubuntu Xenial distribution.
67* CHICKEN 4.8.0 is officially included in the Ubuntu Trusty distribution.
68
69=== Gentoo Linux
70
71[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
72
73  emerge -auv chicken
74
75This will download, compile and install the latest version of CHICKEN (if it is not already installed).
76
77CHICKEN's [[http://packages.gentoo.org/package/dev-scheme/chicken|Portage ebuild]] is maintained by Marijn Schouten.
78
79=== openSUSE
80
81There is currently one semi-official and one unofficial build of CHICKEN. Both are build on [[https://build.opensuse.org/|OBS]], the openSUSE Build Service.
82
83The semi-official one can be found at [[https://build.opensuse.org/package/show/devel:languages:misc/chicken|devel:languages:misc]].
84The unofficial one is from the user zilti and you can find it at [[https://build.opensuse.org/package/show/home:zilti:chicken/chicken|home:zilti:chicken]]
85
86
87In order to install CHICKEN from devel:languages:misc, you need something along the lines of:
88
89 # zypper addrepo https://download.opensuse.org/repositories/devel:languages:misc/openSUSE_Leap_15.1/devel:languages:misc.repo
90 # zypper refresh
91 # zypper install chicken
92
93
94For a complete set of openSUSE distributions and more installation options you can check [[https://software.opensuse.org//download.html?project=devel%3Alanguages%3Amisc&package=chicken|the CHICKEN download page at software.opensuse.org]]
95
96=== Mageia
97
98* There is an unofficial repository located at [[https://build.opensuse.org/package/show/home:zilti:chicken/chicken|home:zilti:chicken]] with up-to-date Mageia packages.
99
100=== Embedded Linux
101
102==== Yocto/OpenEmbedded
103
104[[http://github.com/OSSystems|meta-chicken]] is a layer for [[http://www.yoctoproject.org|Yocto]]/[[http://www.openembedded.org|OpenEmbedded]] which can be used to cross-compile CHICKEN and eggs.
105
106==== OpenWRT
107
108CHICKEN 5.0.0 is included in the development branch of OpenWRT. If you have  the line
109  src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/.../packages
110(note it says 'snapshots' and not 'releases') in the file
111  /etc/opkg/distfeeds.conf
112you'll be able to install it with opkg as shown below:
113
114  opkg install chicken-scheme-interpreter
115
116For the stable version it would be necessary to compile the sources from [[https://gitlab.com/jpellegrini/openwrt-packages|this repository]] (follow the instructions there).
117==== OpenMoko
118
119This package consists of the runtime library plus interpreter. The version of CHICKEN is 2.733.
120
121 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
122
123Package maintained by [[/users/john moore|john moore]].
124
125==== Maemo 5
126
127Instructions for getting CHICKEN (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
128
129Package maintained by [[http://0xab.com/|Andrei Barbu]].
130
131=== Chrome OS
132
133If you have your Chrome OS device in developer mode and have installed [[https://skycocker.github.io/chromebrew/|Chromebrew]] you can install it from binaries using:
134
135  crew install chicken
136
137or compile from source using:
138
139  crew install -s chicken
140
141== Mac OS X
142
143=== MacPorts
144
145If you're using [[http://www.macports.org/|MacPorts]], installation is very
146simple. Open the Terminal application and type the following:
147
148  sudo port install chicken
149
150This will download, compile and install the latest CHICKEN version.
151
152
153==== Installing the readline egg
154
155You can install the readline egg to get history and tab-completion in csi. See [[/manual/Using the interpreter|Using the interpreter]].
156
157However, 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:
158
159  port install readline
160
161==== Fixing libchicken.dylib
162
163When using certain extensions (posix is one example), you may come across the following error:
164
165  "dlopen(libchicken.dylib, 9): image not found"
166
167The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
168
169  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
170
171Another 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}}:
172
173  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
174  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
175
176This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
177
178=== Homebrew
179
180If you're using [[https://brew.sh/|Homebrew]] you can install the formula chicken:
181
182    brew install chicken
183
184== BSD
185
186=== FreeBSD
187
188For FreeBSD, you can use the {{lang/chicken5}} port to install the latest stable release.
189
190=== NetBSD
191
192For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
193
194
195=== OpenBSD
196
197For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
198
199<enscript>
200$ pkg_add chicken
201</enscript>
202
203
204=== DragonFly BSD
205
206For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
207
208== Haiku
209
210=== HaikuPorts
211
212CHICKEN has been added to the official [[http://www.haikuports.org|ports repository]] and can be installed with the following command:
213
214  haikuporter -i chicken
215
216
217== Other platforms/cross-platform support
218
219=== pkgsrc
220
221For many systems, you can use [[http://www.pkgsrc.org|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 [[http://www.netbsd.org/docs/software/packages.html#platforms|this table]] for the full list of supported platforms.
222
223=== Microsoft Windows
224
225'''NOTE:''' Some users may encounter issues installing eggs on Windows (particularly [[http://wiki.call-cc.org/eggref/4/bind|bind]]) unless an appropriate C compiler is installed. It is recommended to use [[http://mingw-w64.org|mingw-w64]] in place of [[http://mingw.org|mingw32]] as the mingw32 project is no longer as actively maintained.
226
227[[https://chocolatey.org/packages/chicken/|Chicken on the Chocolatey package manager, most recent pre-packaged version]]
228
229[[http://www.kiatoa.com/cgi-bin/chicken-iup/home|Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled]]
230
231[[https://bitbucket.org/roti/chicken-installer/downloads|Another installer for Windows]]
232
233If you use [[http://cygwin.com|cygwin]] there are up to date packages included for 32 and 64bit versions.
234
235[[http://wiki.call-cc.org/msys2|MSYS2]] is easy to setup and build Chicken for, and produces native 64 bit Windows binaries.
236
237=== User survey
238
239A [[platforms-used|survey]] trys to find out which platforms are commonly used by CHICKEN users. There might be an [[running-csi-on-cygwin|issue]] with csi.
Note: See TracBrowser for help on using the repository browser.