Difference between revisions of "Windows"

From Madagascar
Jump to navigation Jump to search
Line 33: Line 33:
 
For running X applications such as '''xtpen''', make sure to run '''startx''' first to open an X terminal window.
 
For running X applications such as '''xtpen''', make sure to run '''startx''' first to open an X terminal window.
  
==Services for UNIX==
+
==Interix==
 +
[http://en.wikipedia.org/wiki/Interix Interix] is the name of the Unix environment provided under MS Windows by the following software packages:
 +
* [http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX Services For Unix] (SFU), available as a [http://www.microsoft.com/downloads/details.aspx?FamilyID=896c9688-601b-44f1-81a4-02878ff11778&DisplayLang=en free download] for the Windows NT family of operating systems up to and including Windows XP Professional. [http://www.reproducibility.org/rsflog/uploads/PS0001.jpg Screenshot of m8r running on SFU] from an [http://www.reproducibility.org/rsflog/index.php?/archives/68-RSFMadagascar-on-Windows-using-SFU.html April 2006 entry on the blog]
 +
* [http://technet.microsoft.com/en-us/library/cc779522.aspx Subsystem for UNIX-based Applications] (SUA), included with Windows Server 20003 R2 and Windows Vista.
 +
 
 +
==SSH + X server==
 +
If you can count on a network connection to a full UNIX machine while you run Madagascar, you actually need to install under MS Windows just a SSH client and a X server, and just run the m8r installed on the UNIX machine. Cygwin provides both, but it is big and slow. A much more lightweight and fast alternative is using [http://en.wikipedia.org/wiki/Xming Xming] as a X server and [http://en.wikipedia.org/wiki/PuTTY PuTTY] as a SSH client (remember to check the "Tunnel X11 connections" box when saving the session configuration).

Revision as of 23:34, 29 October 2008

Madagascar has been run on Microsoft Windows machines, but there are several dependencies.

Cygwin

Cygwin-icon.gif

Madagascar can run under Cygwin, which provides a Unix-like environment under Windows.

To obtain Cygwin, go to its web page, download and run the installer. This should create a Cygwin program, which when run, creates a POSIX shell window similar-looking to the Windows command window but which behaves in a more Unix-like way.

NOTE: If you are unfamiliar with Unix-like systems, a good place to start is Greg Wilson's Software Carpentry course.

You will need to install several additional Cygwin components before Madagascar can run. To get these, rerun the installer program (called Setup and represented by an icon with a black "C" shape enclosing a green arrow).

  1. Start Setup program.
  2. Keep clicking (defaults should work, but please choose a mirror on your own continent) until you see a collapsed list (boxed "+" signs) in a selection box.
  3. Choose all of the following before downloading.
    1. Open the Devel section and select the following:
      • gcc
      If you want to use the development version of Madagascar, also choose
      • subversion
    2. If you have a favorite unix editor, also choose it under Editors (novices may wish to work with Notepad for a while). Both vim and emacs are available.
    3. Open Interpreters and select
      • python
    4. Open Libs and select
      • sunrpc
    5. Open X11 and select
      • xorg-x11-devel
  4. Next, click Next>
    Your download will proceed.
  5. When done, click Finish.

After performing this steps, proceed to a normal Madagascar Installation.

For running X applications such as xtpen, make sure to run startx first to open an X terminal window.

Interix

Interix is the name of the Unix environment provided under MS Windows by the following software packages:

SSH + X server

If you can count on a network connection to a full UNIX machine while you run Madagascar, you actually need to install under MS Windows just a SSH client and a X server, and just run the m8r installed on the UNIX machine. Cygwin provides both, but it is big and slow. A much more lightweight and fast alternative is using Xming as a X server and PuTTY as a SSH client (remember to check the "Tunnel X11 connections" box when saving the session configuration).