about summary refs log tree commit diff stats
path: root/js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/linux.html
blob: 78f8a3ef3be36c2435bc22796abd4ebb200de282 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>UCB Scheme - Red Hat Linux binary distribution</title>
</head>
<body>

<!---<CENTER><IMG SRC="/images/iesg2.jpg" BORDER=0 ALIGN=CENTER></CENTER>--->
<p>
<img src="scheme.png" border="0">
<br>

</p><h1>Binary distribution for Red Hat Linux</h1>

<p>
<b>Installing:</b> 
</p><ul>
<p>
  You need to have Korn Shell(ksh) installed 
  on your system for this to install. 
</p><p>
  For <b>Fedora Linux 4</b>, you can download the 
  precompiled UCB Scheme for Linux onto your home machine from
  <a href="https://people.eecs.berkeley.edu/~bh/61a-pages/Scheme/source/STk-4.0.1-ucb1.3.6.i386.rpm">STk-4.0.1-ucb1.3.6.i386.rpm</a>.
  &nbsp; Then you can install it by running this command as root:</p>
  <pre>	# rpm -Uvh STk-4.0.1-ucb1.3.6.i386.rpm </pre>

<p>
  For <b>Debian GNU/Linux</b>, you can use a program called 'alien' to convert 
  the RPM package to a <code>*.deb</code> file. &nbsp; 'alien' is in the main 
  debian archive (see <a href="http://packages.debian.org/unstable/admin/alien">
  http://packages.debian.org/unstable/admin/alien</a>).  &nbsp; IE, as root:
  </p><pre>	# 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)</pre>
  <b><i>Note</i></b>: &nbsp; There is a package name conflict between the UCB
  Scheme ("stk") and a current package available through the Debian mirror 
  system 
  (<a href="http://packages.debian.org/unstable/sound/stk">
  http://packages.debian.org/unstable/sound/stk</a>), so if you run one of 
  these:
  <pre>	# apt-get upgrade
	# apt-get dist-upgrade 			(upgrade all packages)</pre>
  you should re-install UCB Scheme like this:
  <pre>	# apt-get remove stk			(the sound synth toolkit)
	# dpkg -i stk_4.0.1-1_i386.deb</pre>
  <p>
  For <b>Debian GNU/Linux</b> on a pure64 (amd64) system:
  </p><pre>	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'</pre>

  (<i>Thanks to Joachim for providing the Debian information.</i>)
  <p>
  For <b>Centos 7</b>, we have these notes from a user (untested, Dec 2015):
  </p><pre>	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.</pre>

  (<i>Thanks to Kin for providing the Centos 7 information.</i>)
	
<p>
 It will be installed in <code>/usr/local/bin/stk</code>,
 <code>/usr/local/bin/envdraw</code>, with support files in
 <code>/usr/local/lib/stk</code>, and a few documentation files in
 <code>/usr/doc/STk-4.0.1-ucb1.3.6</code>.</p><p>
</p><p>
We also have <a href="https://inst.eecs.berkeley.edu/%7Escheme/precompiled/Linux/STk-4.0.1-ucb1.3.6.src.rpm">the source RPM</a>, 
and the <a href="https://inst.eecs.berkeley.edu/%7Escheme/precompiled/Linux/STk.spec">spec</a> file used for building the source 
RPM, if you want to build from source. Here are <a href="https://inst.eecs.berkeley.edu/%7Escheme/precompiled/Linux/srcrebuild.html">
instructions for building from source</a> for Linux.</p>
</ul>
<p>
<b>Running:</b> 
</p><p>
</p><ul>
The STk versions for different classes are installed in the 
<i>/usr/local/bin</i> directory. 
<p>
</p><ul>
<table>
  <tbody><tr>
  <td><i>stk-explorin</i></td>
  <td>Loads all UCB Scheme procedures including explorin.scm, for CS3S</td>
  </tr>
  <tr>
  <td><i>stk-simply</i></td>
  <td>loads all UCB Scheme procedures including simply.scm, for CS3 and CS61A</td>
  </tr>
  <tr>
  <td><i>stk-grfx</i></td>
  <td>loads UCB Scheme turtle graphics procedures, for CS9D and CS47B</td>
  </tr>
  <tr>
  <td><i>stk</i></td>
  <td>loads no UCB Scheme procedures, for CS9D and CS47B</td>
  </tr>
</tbody></table>
</ul>
</ul>
<p>
  Please see the <a href="https://inst.eecs.berkeley.edu/%7Escheme/faq.html">UCB Scheme FAQ file</a> 
 for more information.
</p><p>
<a href="https://inst.eecs.berkeley.edu/%7Escheme/">Go back to the main UCB Scheme site.</a>
</p><hr>
<a href="http://inst.eecs.berkeley.edu/">EECS Instuctional Support Group</a><br>
<address>scheme@inst.EECS.Berkeley.EDU</address>


</body></html>