Install Octave Windows Cygwin

Posted on by admin
Install Octave Windows Cygwin Average ratng: 8,6/10 3654 reviews
Active3 years, 5 months ago

Since GNU Octave comes wit a GUI since versions 3.8.0, I thought I should check it out.

Method # 4, Installation of cygwin, and then installing Octave from binary distribution. Just follow the instructions for Method 1 up to and including Step 2, but apart from the Cygwin base package just download bzip2, texinfo, less, cygutils, rxvt and zip/unzip (i.e., the packages in the column 'Base' in Table 1 ). Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. First released in 1989, it has. Obtaining Gmsh. The source code and various pre-compiled versions of Gmsh (for Windows, Mac and Unix) can be downloaded from.

So since I run Windows and could only find Octave 3.8 for Cygwin, I installed Cygwin and the packages octave, xinit, xlaunch and gnuplot (according to this page, but I don't know if all those packages are needed).

Then, when trying to start Octave with the GUI from Cygwin with octave --force-gui, I initially got the error message

and Octave would start in console mode. So I found this page, which told me to run

from Cygwin, to permanently get rid of the error message, which worked. However, then I instead got this error message:

The same page also said that you have to run the X Server by going to Start -> Cygwin-X -> XWin Server. That worked, but since I don't want the xterm terminal to start since it is not needed, I found this page which told me to run

Cygwin install

from Cygwin to create an empty .startxwinrc file, to prevent the xtrem terminal from starting by default, which worked. The same page also mentioned that the X Server can be started directly from Cygwin with the command startxwin.

So, now I can start Octave with the GUI from Cygwin, simply by running

However, I would like to just be able to double click on a desktop icon to get everything up and running.

Install Octave Windows Cygwin

So, to my question:Can I somehow put this in a script file, which when I run it, will be opened in Cygwin so that the commands in the script file will be run in Cygwin? And is there some way to automatically close the X Server after Octave has terminated? I've tried writing a file octave.bat, which starts Cygwin and gives a second batch file as argument, which in turn contains the commands I want to execute. But when I run the first script, I just get bombarded with command prompts (not Cygwin prompts), and the all say

Why is the second script not opened in Cygwin, and how can I achieve what I want as simply as possible?

Community
HelloGoodbyeHelloGoodbye
1,3233 gold badges17 silver badges33 bronze badges

3 Answers

Please grab Octave from here: http://mxeoctave.osuv.de/

The installer should configure everything for you.

GNU Octave offers now Windows binary itself. Go to ftp://ftp.gnu.org/gnu/octave/windows/

juliohmjuliohm
2,4011 gold badge12 silver badges20 bronze badges

You have to put

NINE INCH NAILS: CLOSUREOriginal VHS release: 1997DVD release: currently unscheduledUnofficial DVD Prototype Release [halo 12 p]Closure was originally released. Nine inch nails closure dvd download. Nine Inch Nails / David Bowie - Live 1995. SL-DVD| Torrent 28 music Videos by NIN Torrent With Teeth Rehearsals Download @ NIN Live. I saw that I had these videos, and I got excited, remembered how classic they were and wanted to edit them all together in a giant 'with_teeth' closure type tour.

in your windows batch file (please adapt the Cygwin path to your settings). That worked fine for me.

The call

Install Octave Windows Cygwin

did open Octave as desired but the GUI seemed to have response issues to the keyboard and froze after clicking into the editor.

schendischendi

I don't have any of the those commands installed with my Cygwin installation, so I can't test this by trying using the following an .bat file on your desktop:

Replace c:cygwin with the directory where you installed Cygwin.

If this leaves a console window on the screen try doing:

Ross RidgeRoss Ridge
29.1k5 gold badges50 silver badges88 bronze badges

Not the answer you're looking for? Browse other questions tagged windowsbatch-fileuser-interfacecygwinoctave or ask your own question.

Active4 years, 5 months ago

Can I install Octave under Windows 7 without admin rights? There are similar questions on Linux, but this is about Windows 7.

slhck
171k49 gold badges476 silver badges492 bronze badges
Windows install cygwin
gstar2002gstar2002

2 Answers

Yes. Pick a non system directory and unzip everything. It is true for any GUI for Octave such as Xoctave,QToctave, etc.

Chris NaberChris Naber

Yes, for example within Cygwin. Just download the appropriate Cygwin installer (32 or 64 bit) and run the setup*.exe with the '--no-admin' option. You can choose where your Cygwin environment and the packages should reside and can then choose packages to install. In the package overview you can find Octave in the math category or by using the search bar at the top.

Install Octave Windows Cygwin Download

Cornelius SickerCornelius Sicker

Not the answer you're looking for? Browse other questions tagged windows-7installationoctave or ask your own question.