Cygwin: General
Last edited May 30, 2009
More by treehead »
Installing UCB-STk

UCB Scheme - binary distribution for Windows
inst.eecs.berkeley.edu/~scheme/precompiled/MS-Wind...


The UCB Scheme distribution, UCB-STk, pairs very nicely with the webcast lectures of the CS61A class by Brian Harvey.  If you want to follow along and use the same version of Scheme on your Windows system, here's how.  The following steps are modified for installing University of California Berkeley's version of Scheme (Scheme interpretor): UCB-STk, which runs under emacs.  If you do not have Cygwin installed an simply want to run UCB-STk on Windows, then do not use these steps, just follow the installation instructionms under "UCB Scheme - binary distribution for Windows" at the UCB Scheme site.

YMMV: These steps have been tested on a version of standard Cygwin installed in the root of C: on a system running Windows XP Pro.

Installing:

These are steps you only need to do once, to install UCB Scheme (STk) and emacs on Windows.

  • Install Cygwin, include the following hilighted packages, which are required by UCB-Stk:
@ STk
sdesc: "STk Scheme interpreter"
ldesc: "STk Scheme interpreter"
category: Base Interpreters
requires: cygwin cygutils emacs emacs-X11 more openssh rsync wget vim tcsh zsh STk-Setup
version: 1.3.6
install: release/stk/stk-1.3.6.tar.bz2 2100184 7dcc42d560a2b7a46f6be18ca3927dac

@ STk-Setup
sdesc: "STk setup scripts"
ldesc: "STk setup scripts"
category: Base Interpreters
requires: cygwin cygutils
version: 1.3.6
install: release/stk/stk-setup.tar.bz2 9983 54fba2451524f84e3857a3979e5b3d24

  • Download STk-ucb1.3.6.exe (63672 Kbytes).
    Vista users only:
      Please download this file vistafix.exe.
  • Extract the following packages from the STk installer using 7-zip or similar archive utility and copy them into your Cygwin user's home directory:
\release\stk\stk-1.3.6.tar.bz2
\release\stk\stk-setup.tar.bz2


  • Open the Cygwin Bash Shell and extract the tarballs above to the root of your Cygwin install as follows:

    mv stk-* /
    cd /
    tar -xvjf
    stk-setup.tar.bz2
    tar -xvjf
    stk-1.3.6.tar.bz2
  • Continue with the Berkeley steps: Once the script has completed you will find an icon on your desktop labeled "Cygwin". Double-click this icon. After some initialization type one of these at the prompt.
         /usr/local/share/stk/setup-stk explorin	(If you want the explorin setup)
         or
         /usr/local/share/stk/setup-stk simply	(If you want the simply setup)
  • Once you have done the above, close the current cygwin window by typing "exit" at the prompt.
  • Now double-click on the icon labeled "startx" on the desktop.
  • If you are prompted by the windows security system, choose the "unblock" option.
  • Finally you will get a window that has an X at the top left corner.
  • From now on, you only need to double-click on the "startx.bat" desktop icon to open a window for running UCB Scheme.
 2008-07-22
Labels: lang:scheme, scheme, education, berkeley, programming
The content on this page is provided by a Google Notebook user, and Google assumes no responsibility for this content.