<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ahay.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Huang</id>
	<title>Madagascar - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ahay.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Huang"/>
	<link rel="alternate" type="text/html" href="https://ahay.org/wiki/Special:Contributions/Huang"/>
	<updated>2026-04-30T18:11:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://ahay.org/index.php?title=Download&amp;diff=1436</id>
		<title>Download</title>
		<link rel="alternate" type="text/html" href="https://ahay.org/index.php?title=Download&amp;diff=1436"/>
		<updated>2010-09-13T19:18:58Z</updated>

		<summary type="html">&lt;p&gt;Huang: /* Current development version */ subversion link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Fotolia_2043821_XS.jpg|right|]]&lt;br /&gt;
You can choose to download either the latest stable release, or the current development version (frequently updated).&lt;br /&gt;
&lt;br /&gt;
==Stable release==&lt;br /&gt;
&lt;br /&gt;
===Precompiled binary packages===&lt;br /&gt;
&lt;br /&gt;
A Mac OS X precompiled binary package of the latest Madagascar stable release is available for Intel Macs at [https://sourceforge.net/project/showfiles.php?group_id=162909 Sourceforge].  Download a disk image file, mount the disk image if it does not mount automatically, launch the installer package inside the disk image, and follow the instructions. Additional instructions can be found in the ReadMe file.&lt;br /&gt;
&lt;br /&gt;
The Mac OS X Madagascar package installs the main programs, documentation files, includes files, and libraries in /usr/local/rsf.  You will be asked for an administrator password. The collection of Madagascar examples included with the source code release is not yet included with this package, but that may change so check back here occasionally for updates. &lt;br /&gt;
&lt;br /&gt;
===Source code distribution===&lt;br /&gt;
&lt;br /&gt;
[https://sourceforge.net/project/showfiles.php?group_id=162909 Download the source code distribution securely from Sourceforge], then unpack the directory with &lt;br /&gt;
&amp;lt;pre&amp;gt;gunzip &amp;lt; madagascar-*.tar.gz | tar xvf -&amp;lt;/pre&amp;gt;&lt;br /&gt;
or &lt;br /&gt;
&amp;lt;pre&amp;gt;bunzip2 &amp;lt; madagascar-*.tar.bz2 | tar xvf -&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;tt&amp;gt;bz2&amp;lt;/tt&amp;gt; file is a bit smaller, but takes longer to unpack. &lt;br /&gt;
&lt;br /&gt;
Next, follow [[Installation|Installation instructions]] to install.&lt;br /&gt;
&lt;br /&gt;
==Current development version==&lt;br /&gt;
&lt;br /&gt;
You need to have a [http://subversion.apache.org/ Subversion client] (&amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt;) installed. To download the directory with the Madagascar source code, run the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co &amp;lt;nowiki&amp;gt;https://rsf.svn.sourceforge.net/svnroot/rsf/trunk&amp;lt;/nowiki&amp;gt; RSFSRC&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace &amp;lt;tt&amp;gt;RSFSRC&amp;lt;/tt&amp;gt; with the path where you want to put the Madagascar source code.&lt;br /&gt;
&lt;br /&gt;
Next, follow [[Installation|Installation instructions]] to install.&lt;br /&gt;
&lt;br /&gt;
You can also [http://rsf.svn.sourceforge.net/viewvc/rsf/trunk/ browse the Subversion repository].&lt;br /&gt;
&lt;br /&gt;
===Updating===&lt;br /&gt;
&lt;br /&gt;
To update the Madagascar source code on your computer with the changes made by developers, &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt; to the directory where you placed the sources and run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
  &lt;br /&gt;
*If, after running the &amp;lt;tt&amp;gt;svn co...&amp;lt;/tt&amp;gt; command, nothing happens, no message, no return to the command line: you may be behind a proxy. This is especially likely if your computer is on a corporate Intranet.  To get past a proxy, you need to tell Subversion: (1) The IP number or URL of the proxy and (2) the port that will allow &amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt; through &amp;amp;ndash; most likely 80, the standard HTTP port. Open your &amp;lt;tt&amp;gt;~/.subversion/servers&amp;lt;/tt&amp;gt; file in a text editor. If this file does not exist, running any &amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt; command (even an unsuccessful one, like the one above) will automatically create the file. In the &amp;lt;tt&amp;gt;[global]&amp;lt;/tt&amp;gt; section, add the following lines, with your own proxy URL and port names instead of the dummy ones below: &lt;br /&gt;
&amp;lt;pre&amp;gt;http-proxy-host = www-proxy.yourcompany.com&lt;br /&gt;
http-proxy-port = 80&lt;br /&gt;
&amp;lt;/pre&amp;gt; Now your &amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt; commands should work. You can find more details [http://subversion.tigris.org/faq.html#proxy in the Subversion documentation]. It would also be a good idea to set in your &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.cshrc&amp;lt;/tt&amp;gt; the environment variable &amp;lt;tt&amp;gt;HTTP_PROXY&amp;lt;/tt&amp;gt; to your adaptation of &amp;lt;pre&amp;gt;http://www-proxy.yourcompany.com:80&amp;lt;/pre&amp;gt; so that input datasets for reproducible figures can be downloaded automatically when you need them.&lt;br /&gt;
&lt;br /&gt;
*If you get a &amp;quot;is already a working copy for a different URL&amp;quot; error, this means you have an existing directory downloaded from another server. Run &amp;lt;tt&amp;gt;svn switch --relocate&amp;lt;/tt&amp;gt; to switch servers.&lt;br /&gt;
&lt;br /&gt;
*If you are using an old Linux distribution (e.g. RedHat 9), the version of Subversion included with your distribution may need to be updated to handle the secure URL (&amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;).  If &amp;lt;tt&amp;gt;svn&amp;lt;/tt&amp;gt; complains about an &amp;quot;unrecognized URL scheme&amp;quot; (and you&#039;ve given it the correctly formatted URL), then you need to update it.&lt;br /&gt;
&lt;br /&gt;
*If you are behind a firewall, you may need to set up more variables in your file &amp;lt;tt&amp;gt;~/.subversion/servers&amp;lt;/tt&amp;gt; (check with your IT support for all the required variables to get past the proxy) as for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
http-proxy-host = proxy-host-company.site.corp &lt;br /&gt;
http-proxy-port = 1111&lt;br /&gt;
http-proxy-username = Yourusernameforproxy&lt;br /&gt;
http-proxy-password = Yourpasswordforproxy &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
It would be a good idea then to protect your file &amp;lt;tt&amp;gt;~/.subversion/servers&amp;lt;/tt&amp;gt; from being read by others.&lt;br /&gt;
&lt;br /&gt;
==Other packages==&lt;br /&gt;
There are two other packages that might be useful in conjunction with RSF:&lt;br /&gt;
===Reproducible figures===&lt;br /&gt;
  &lt;br /&gt;
Using Subversion, run &amp;lt;bash&amp;gt; svn co https://rsf.svn.sourceforge.net/svnroot/rsf/figs $RSFROOT/share/figs &amp;lt;/bash&amp;gt; &lt;br /&gt;
This installs a wide collection of nearly 3,000 reproducible figures. It may take a long time to download and more than 4 Gb of disk space.&lt;br /&gt;
The figures are preserved with the purpose of regression testing whenever the software or the environment change.&lt;br /&gt;
&lt;br /&gt;
You can reproduce the figures (excluding those generated with proprietary data or additional software) by running &amp;lt;tt&amp;gt;scons lock&amp;lt;/tt&amp;gt; in individual project directories or by going to &amp;lt;tt&amp;gt;RSFSRC&amp;lt;/tt&amp;gt; and running &amp;lt;bash&amp;gt;sfbooklist command=&amp;quot;scons lock&amp;quot; book&amp;lt;/bash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===L&amp;lt;sup&amp;gt;A&amp;lt;/sup&amp;gt;TEX package===&lt;br /&gt;
  &lt;br /&gt;
[[SEGTeX]] is a LaTeX package for geophysical publications. It can be used with madagascar for writing [[Reproducible Documents|reproducible papers]].&lt;/div&gt;</summary>
		<author><name>Huang</name></author>
	</entry>
</feed>