Mercurial > hg > octave-lyh
comparison README.Cygwin @ 6136:bbbe04bacea2
[project @ 2006-11-02 16:54:27 by jwe]
author | jwe |
---|---|
date | Thu, 02 Nov 2006 16:54:27 +0000 |
parents | |
children | 5eb3db6e4042 |
comparison
equal
deleted
inserted
replaced
6135:1504e68cf080 | 6136:bbbe04bacea2 |
---|---|
1 Octave is now part of the normal net distribution of Cygwin, available | |
2 from http://www.cygwin.com. To install the Cygwin package of Octave: | |
3 | |
4 1. Use your favorite browser to view the page http://www.cygwin.com | |
5 | |
6 2. Click on the "Install or update now" link. | |
7 | |
8 3. A dialog should appear with the option to run the setup program | |
9 from its current location or save it to disk. Either will work, | |
10 but I usually choose to save the setup program to disk so that it | |
11 is possible to run it later to update the installation without | |
12 having to go back to the web page using a browser. | |
13 | |
14 4. Run the setup program. | |
15 | |
16 5. Choose "Install from Internet". | |
17 | |
18 6. Select a root install directory. You may choose any directory, but | |
19 it needs to have enough space for Octave and all the related | |
20 tools. Sorry, I don't know how much space that is at present. | |
21 | |
22 7. Select a local package directory. This is a directory that the | |
23 setup program will use to temporarily store package files before | |
24 installing them. It should have plenty of space (probably 70MB | |
25 or more). You may delete this directory once the installation is | |
26 complete. | |
27 | |
28 8. Select your Internet Connection. Probably "Direct Connection" is | |
29 OK unless you are behind a firewall of some kind that limits your | |
30 access to the Internet. | |
31 | |
32 9. Choose a download site. One that is "near" you on the net is | |
33 probably best. | |
34 | |
35 10. Select packages. Choose Octave from the Math category and gnuplot | |
36 from the graphics category. | |
37 | |
38 11. Once the download and file installation is done, click Finish. I | |
39 usually choose to create an icon on the desktop and put an icon in | |
40 the start menu. After you click finish, a series of scripts will | |
41 run, displaying some output in a terminal window. It will take a | |
42 few minutes. | |
43 | |
44 12. To run Octave, start Cygwin. This will bring up a terminal | |
45 window. In that window type | |
46 | |
47 startx | |
48 | |
49 (a running X server is needed for plotting). Running startx will | |
50 bring up a new window. In that window, type | |
51 | |
52 octave | |
53 | |
54 That should present you with an Octave prompt. Type | |
55 | |
56 sombrero (41) | |
57 | |
58 at this prompt and a new window with the sombrero plot should appear. | |
59 | |
60 13. IMPORTANT: to build .oct files (dynamically loaded functions) for | |
61 Octave, you will also need the octave-headers package. Currently, | |
62 due to some bugs in the most recent version of the C++ compiler | |
63 and libraries for Cygwin, you will also need gcc and g++ 3.3 | |
64 rather than 3.4. You can use the setup.exe installer to select | |
65 and install the older version. | |
66 | |
67 | |
68 John W. Eaton | |
69 jwe@bevo.che.wisc.edu | |
70 University of Wisconsin-Madison | |
71 Department of Chemical Engineering | |
72 | |
73 Tue Apr 18 15:22:59 2006 |