Installing:
You need to have Korn Shell(ksh) installed on your system for this to install.
For Fedora Linux 4, you can download the precompiled UCB Scheme for Linux onto your home machine from STk-4.0.1-ucb1.3.6.i386.rpm. Then you can install it by running this command as root:
# rpm -Uvh STk-4.0.1-ucb1.3.6.i386.rpm
For Debian GNU/Linux, you can use a program called 'alien' to convert
the RPM package to a *.deb
file. 'alien' is in the main
debian archive (see
http://packages.debian.org/unstable/admin/alien). IE, as root:
# wget http://inst.eecs.berkeley.edu/~scheme/precompiled/Linux/STk-4.0.1-ucb1.3.6.i386.rpm # apt-get install alien # alien -i STk-4.0.1-ucb1.3.6.i386.rpm (uses dpkg)Note: There is a package name conflict between the UCB Scheme ("stk") and a current package available through the Debian mirror system ( http://packages.debian.org/unstable/sound/stk), so if you run one of these:
# apt-get upgrade # apt-get dist-upgrade (upgrade all packages)you should re-install UCB Scheme like this:
# apt-get remove stk (the sound synth toolkit) # dpkg -i stk_4.0.1-1_i386.deb
For Debian GNU/Linux on a pure64 (amd64) system:
Use a 32-bit computer to 'alien STk-4.0.1-ucb1.3.6.i386.rpm' On the 64-bit computer, run 'apt-get install ia32-libs' copy the $STK.deb file from the 32-bit computer to the local amd64, ie: 'scp user@32bHost:~/$STK.deb root@local64bHost:~/.' On the 64-bit computer, run 'dpkg --force-architecture $STK.deb'(Thanks to Joachim for providing the Debian information.)
For Centos 7, we have these notes from a user (untested, Dec 2015):
Using is CentOS 7, 64 bit, with GNOME Desktop. 'rpm -Uvh STk-4.0.1-ucb1.3.6.i386.rpm' fails, saying some dependencies were missing. 'rpm -i STk-4.0.1-ucb1.3.6.i386.rpm' works on one installation of CentOS 7 and not on another. This seems to always work: Click on the link for STk-4.0.1-ucb1.3.6.i386.rpm right inside of Firefox, then Firefox will ask me to Save it, or to Open it using installer. And if I use that Open it using installer option, then it will install.(Thanks to Kin for providing the Centos 7 information.)
It will be installed in /usr/local/bin/stk
,
/usr/local/bin/envdraw
, with support files in
/usr/local/lib/stk
, and a few documentation files in
/usr/doc/STk-4.0.1-ucb1.3.6
.
We also have the source RPM, and the spec file used for building the source RPM, if you want to build from source. Here are instructions for building from source for Linux.
Running:
stk-explorin | Loads all UCB Scheme procedures including explorin.scm, for CS3S |
stk-simply | loads all UCB Scheme procedures including simply.scm, for CS3 and CS61A |
stk-grfx | loads UCB Scheme turtle graphics procedures, for CS9D and CS47B |
stk | loads no UCB Scheme procedures, for CS9D and CS47B |
Please see the UCB Scheme FAQ file for more information.
Go back to the main UCB Scheme site.