Install Octave Windows Cygwin Emacs

 admin  
  1. Emacs Wiki Windows

Macaulay2 for 'Linux subsystem for Windows', with GUIMacaulay 2, M2 for short, currently is mainly developed for Linux distros. For most Windows distro-s, use Cygwin to get Linux bash and through that, M2 command to start Macaulay2. However, Windows 10 for developers and insider builds come with a new feature, 'Linux subsystem for Windows'.See the following sections for the steps for installation of, firstly, the Linux subsystem then M2, followed by installing and setting up an X server with emacs coupled with M2.

Get 'bash' for Windows and M2: 1.) Get Ubuntu 'bash' in cmd Install 'Linux subsystem for Windows' with ubuntu.Follow instructions: 2.) Open Ubuntu bash.Hit Start then type 'bash', or open command prompt and type 'bash'. 3.) Install Macaulay 2 through bash.Follow instructions:Tip: use the command in bash 'lsbrelease -a' to retrieve your Ubuntu's version. Run emacs GUI, coupled with M2:Secondly, get X server running with emacs GUI 1.) install an X server. Install Xming:2.) Set display to X server:bash.

#cd #wget #wget #wget #sudo dpkg -i texmacs.deb #sudo apt-get install -f!!! Follow instructions here in stead:Tips and tricks.

To run M2 directly from windows cmd, passing all commandline arguments, create a file 'M2.bat' with the following content.

I'm new to Octave and installed its binary on Win32 (XP) with cygwin, i.e. Not a bundle executable.I read lot of papers and posts about how installing cygwin and Octave on Windows, but nothing about how to start it.Of course, I can start Octave from the cygwin console, but I could not find a way to start it with its graphical interface. Ideally, I would like to put some shortcut on my desktop, pointing a '.bat' file to launch Octave.To start GRASS (another GNU package), I use the batch file below. Is there some equivalent for Octave?@echo offC:chdir C:cygwinbinset GRASSAUTOSTART=1bash -login -i -c startxA more general problem is that I often cannot find the '.sh' configuration scripts. I also wonder if the call to a '.sh' Linux script can be done from within a Windows '.bat' file, for instance as parameter of some Linux command.Pardon my ignorance!Thanks for your help. On 7/25/07, Julien R wrote: I'm new to Octave and installed its binary on Win32 (XP) with cygwin, i.e.

not a bundle executable. I read lot of papers and posts about how installing cygwin and Octave on Windows, but nothing about how to start it.There's also Windows binary packages of octave, which are not based oncygwin, that you might want to look at. Seeor Of course, I can start Octave from the cygwin console, but I could not find a way to start it with its graphical interface. Ideally, I would like to put some shortcut on my desktop, pointing a '.bat' file to launch Octave.What do you mean with 'graphical interface'? Octave does not have by defaulta graphical interface, it simply runs in a console. Of course, if youwant to useplots (which uses gnuplot), you'll need to have a X server running aswell. If thisis what you mean, then look into C:cygwinusrX11R6binstartxwin.bat: this isa batch script to start the X server and an X terminal.

You can probably tune itto start octave in the terminal. A more general problem is that I often cannot find the '.sh' configuration scripts. I also wonder if the call to a '.sh' Linux script can be done from within a Windows '.bat' file, for instance as parameter of some Linux command.The only way to run a shell script within a.bat file is to run itthrough a shellinterpreter like bash (like in 'bash -i -login -c script.sh').

Thisalso means thatonce bash exits, the shell environment (all variables) is lost. Inother words, ifyou shell script setup some variables and export them, this won't haveany effectin you.bat file. In this kind of situation, the best is then to writea full.sh scriptthat do everything you want, then write a one-line.bat file that runsthe.sh scriptthrough bash.Michael.Help-octave mailing list. On 7/25/07, Julien R  wrote: I'm new to Octave and installed its binary on Win32 (XP) with cygwin, i.e.

not a bundle executable. I read lot of papers and posts about how installing cygwin and Octave on Windows, but nothing about how to start it.There's also Windows binary packages of octave, which are not based oncygwin, that you might want to look at.

SeeorI knew it and would probably have chosen such a bundle if I not already had cygwin installed. I installed cygwin to have GRASS, another GNU package. (There is also a GRASS native Win32 version, but in pre-alpha release, so less stable.)Using Octave with cygwin is also for me a way to get more familiar with Unix/Linux architecture. This will help me trying Linux once I feel that I have some knowledge with this OS. Of course, I can start Octave from the cygwin console, but I could not find a way to start it with its graphical interface. Ideally, I would like to put some shortcut on my desktop, pointing a '.bat' file to launch Octave.What do you mean with 'graphical interface'? Octave does not have by defaulta graphical interface, it simply runs in a console.

Install emacs windows 10

Emacs Wiki Windows

Of course, if youwant to useplots (which uses gnuplot), you'll need to have a X server running aswell. If thisis what you mean, then look into C:cygwinusrX11R6binstartxwin.bat: this isa batch script to start the X server and an X terminal. You can probably tune itto start octave in the terminal.By the past, I used Matlab and also tried Scilab.

It was possible to load '.m' scripts and do other things by using a GUI (for example, using the 'Open file' button). As I understand, all this is done in a command line mode with Octave.I could start the X server and the X terminal. Then, from the X terminal, I called octave.If I understand well, all Octave commands will be called from this terminal.

Emacs

Content of vector or matrixes will also be printed in the same terminal. A more general problem is that I often cannot find the '.sh' configuration scripts. I also wonder if the call to a '.sh' Linux script can be done from within a Windows '.bat' file, for instance as parameter of some Linux command.The only way to run a shell script within a.bat file is to run itthrough a shellinterpreter like bash (like in 'bash -i -login -c script.sh'). Thisalso means thatonce bash exits, the shell environment (all variables) is lost.

Inother words, ifyou shell script setup some variables and export them, this won't haveany effectin you.bat file. In this kind of situation, the best is then to writea full.sh scriptthat do everything you want, then write a one-line.bat file that runsthe.sh scriptthrough bash.Yes, that seems the right way. I understand than once the Linux-like environment started, all concerning GNU applications are shelled in it. So we set environement variables in the '.sh' and not in the '.bat'.

What do you mean with 'graphical interface'? Octave does not have by default a graphical interface, it simply runs in a console. Of course, if you want to use plots (which uses gnuplot), you'll need to have a X server running as well. If this is what you mean, then look into C:cygwinusrX11R6binstartxwin.bat: this is a batch script to start the X server and an X terminal. You can probably tune it to start octave in the terminal.

By the past, I used Matlab and also tried Scilab. It was possible to load '.m' scripts and do other things by using a GUI (for example, using the 'Open file' button). As I understand, all this is done in a command line mode with Octave. I could start the X server and the X terminal. Then, from the X terminal, I called octave. If I understand well, all Octave commands will be called from this terminal. Content of vector or matrixes will also be printed in the same terminal.

Isn't it?Yes. Ricardo villalobos alcachofa rar file. Octave does not have a GUI like Matlab. There are some attempts thatyou can find on the web (like octave workshop), but to my knowledge, there'snothing really stable or full-featured.Michael.Help-octave mailing list.

On 7/28/07, Julien R wrote: By the past, I used Matlab and also tried Scilab. It was possible to load '.m' scripts and do other things by using a GUI (for example, using the 'Open file' button). As I understand, all this is done in a command line mode with Octave. I could start the X server and the X terminal. Then, from the X terminal, I called octave. If I understand well, all Octave commands will be called from this terminal.

Content of vector or matrixes will also be printed in the same terminal. Isn't it?Matlab has a little command line where you run m-files andtest out stuff, right? That's what Octave in a terminaldoes. That is where you call m-files and do various othercommands. To 'Open file', just open it with your texteditor of choice.As I understand it, the core developers of Octave are notinterested in some GUI since they live in Emacs and when youget good at Emacs your motivation to make some half-bakedtext editor for m-files isn't really there.I've seen Matlab GUI people get comfortable with Kate.SteveHelp-octave mailing list. On 28/07/07, Steve Thompson wrote: As I understand it, the core developers of Octave are not interested in some GUI since they live in Emacs and when you get good at Emacs your motivation to make some half-baked text editor for m-files isn't really there.Weeeeellll. That's not.exactly.

true. Even some of us hardcoreEmacs religious nuts think that Octave needs a GUI, or something likeit. QtOctave looks like a really promising GUI, now that OctaveWorkshop is seemingly abandoned (and it was Windows-only, blah).As far as Octave shipping its own editor, that would be quite silly.All we really need is to integrate Octave well with other pieces ofsoftware like editors, debuggers, and visualisers.

The great thingabout free software is that every software project doesn't need tocreate every component from scratch; we can use what others havealready created.Bug reports and feature requests welcome as always.:-)- Jordi G. H.Help-octave mailing list. On 28/07/07, Steve Thompson wrote: As I understand it, the core developers of Octave are not interested in some GUI since they live in Emacs and when you get good at Emacs your motivation to make some half-baked text editor for m-files isn't really there. Weeeeellll.

That's not.exactly. true. Even some of us hardcore Emacs religious nuts think that Octave needs a GUI, or something like it. QtOctave looks like a really promising GUI, now that Octave Workshop is seemingly abandoned (and it was Windows-only, blah). As far as Octave shipping its own editor, that would be quite silly.

All we really need is to integrate Octave well with other pieces of software like editors, debuggers, and visualisers. The great thing about free software is that every software project doesn't need to create every component from scratch; we can use what others have already created. Bug reports and feature requests welcome as always.:-) - Jordi G. H.

Help-octave mailing list As I have half-heartedly worked on a Octave IDE over the past year ortwo, I have always wanted emacs as the editor also. Since I amcurrently using the GtkSourceView widget for my editor, then the GTKEmacs bindings work marginally well. However, with the release of a newversion of emacs in the last couple of months with native GTK widgetsand such, I believe someone is working on allowing a person to embedemacs in another GTK application with some set of event callbacks. So,I am going to continue to have a GtkSourceView editor for those whoaren't familiar with emacs, but once I can embed emacs in my IDE, I will.John SwensenHelp-octave mailing list. On 28/07/07, Steve Thompson wrote: As I understand it, the core developers of Octave are not interested in some GUI since they live in Emacs and when you get good at Emacs your motivation to make some half-baked text editor for m-files isn't really there. Weeeeellll. That's not.exactly.

true. Even some of us hardcore Emacs religious nuts think that Octave needs a GUI, or something like it. QtOctave looks like a really promising GUI, now that Octave Workshop is seemingly abandoned (and it was Windows-only, blah). As far as Octave shipping its own editor, that would be quite silly. All we really need is to integrate Octave well with other pieces of software like editors, debuggers, and visualisers. The great thing about free software is that every software project doesn't need to create every component from scratch; we can use what others have already created.

Bug reports and feature requests welcome as always.:-) - Jordi G. H. Help-octave mailing list Help-octave mailing list.

   Coments are closed