/usr/share/doc/freefem-doc/freefem/freefem003.html is in freefem-doc 3.5.8-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | <!DOCTYPE html>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="generator" content="hevea 2.30">
<link rel="stylesheet" type="text/css" href="freefem.css">
<title>Installation</title>
</head>
<body >
<a href="freefem002.html"><img src="previous_motif.gif" alt="Previous"></a>
<a href="index.html"><img src="contents_motif.gif" alt="Up"></a>
<a href="freefem004.html"><img src="next_motif.gif" alt="Next"></a>
<hr>
<h1 id="sec6" class="chapter">Chapter 2  Installation</h1>
<p>
<a id="cha:install"></a></p><p>The installation steps differs with the operating system.
<span style="font-weight:bold">FreeFEM</span> supports two kinds systems :
</p><ul class="itemize"><li class="li-itemize">
Windows/Cygwin<sup><a id="text3" href="#note3">1</a></sup> environment
</li><li class="li-itemize">Linux/Unix systems
</li></ul><p>
Both systems follows the POSIX standard. It is strongly recommended to use the <span style="font-family:monospace">configure</span>
script. It is much easier and should be platform independent, you don’t have to know anything about
your system. Everything is done for you. However one suggests the use of <span style="font-family:monospace">make</span> for the GNU
Project: it is the best <span style="font-family:monospace">make</span> utility and will work without problems with
<span style="font-weight:bold">freefem</span>. This utility is available at several ftp sites in France or in the USA.
</p><ul class="itemize"><li class="li-itemize">
prep.mit.ai.eduftp://prep.ai.mit.edu
</li><li class="li-itemize">ftp.lip6.frftp://ftp.lip6.fr
</li></ul>
<h3 id="sec7" class="subsection">2.0.1  Configure script</h3>
<p>
<a id="sec:conf"></a></p><p>type:
</p><pre class="verbatim">configure
make
make install #if you want to install the software on a site
</pre><p>The binary <span style="font-family:monospace">freefem</span> will be in the directory <span style="font-family:monospace">src</span>.</p><p>We use <span style="font-family:monospace">autoconf</span> and <span style="font-family:monospace">automake</span> in conjunction in order to be
as general as possible. These tools are not required to use or compile
<span style="font-weight:bold">freeFEM</span> but if you want to change the code you will need these.
</p><p>These tools are available on the <span style="font-weight:bold">GNU</span> ftp site:
<span style="font-family:monospace">ftp://prep.ai.mit.edu</span>. You can get them in France at
<span style="font-family:monospace">ftp://ftp.ibp.fr/pub/gnu</span>.</p><p>Type:
</p><pre class="verbatim">configure
make
make install #if you want to install the software on a site
</pre>
<h5 id="sec8" class="paragraph">Debugging</h5>
<p>By default freefem is compiled with the <span style="font-family:monospace">-O2</span> flags for optimization.
If you want to debug the library, then USE the following <span style="font-family:monospace">configure</span> option
<span style="font-family:monospace">--enable-debug</span>. That is to say, type
</p><pre class="verbatim">configure --enable-debug
</pre><p>
at the <span style="font-family:monospace">configure</span> step of the installation.</p>
<hr class="footnoterule"><dl class="thefootnotes"><dt class="dt-thefootnotes">
<a id="note3" href="#text3">1</a></dt><dd class="dd-thefootnotes"><div class="footnotetext">http://www.cygwin.comhttp://www.cygwin.com</div></dd></dl>
<hr>
<a href="freefem002.html"><img src="previous_motif.gif" alt="Previous"></a>
<a href="index.html"><img src="contents_motif.gif" alt="Up"></a>
<a href="freefem004.html"><img src="next_motif.gif" alt="Next"></a>
</body>
</html>
|