-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstallation.html
109 lines (97 loc) · 4.7 KB
/
installation.html
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
layout: main
title: Installation
---
<h1>Installation</h1>
<div class="description">
<p>To install the archTk, first <a href="download.html">download</a> the pyNS solver from the repositories hosted at github.</p>
<p>The arch Network Editor is available as binary release or you can <a href="download.html">download</a> the source code from the repositories hosted at github.</p>
<p>archTk is cross-platform and will compile and work on Linux, Mac OSX and Windows.<p>
</div>
<h2>archNE Binary releases</h2>
<h3><a name="macOs_binary">Mac Os X 10.6</a></h3>
<div class="description_2">
<p>A binary release for Mac Os X 10.6 is available <a href="binaries/archNE_v0.2_macosx_10.6.zip" target="_parent" title="archNE_macosx_10.6">here.</a> After download, unzip archNE.</p>
</div>
<h3>Mac Os X 10.5</h3>
<div class="description_2">
<p>A binary release for Mac Os X 10.5 is available <a href="binaries/archNE_v0.2_macosx_10.5.zip" target="_parent" title="archNE_macosx_10.5">here.</a> After download, unzip archNE.</p>
</div>
<h3><a name="windows_binary">Windows 32bit & 64bit</a></h3>
<div class="description_2">
<p>A binary release for Windows is available <a href="binaries/archNE_v0.2_windows.zip" target="_parent" title="archNE_v0.2_windows">here.</a> After download, unzip archNE.</p>
</div>
<h3><a name="linux_binary">Linux i386</a></h3>
<div class="description_2">
<p>Coming soon...</p>
</div>
<h2>Compiling from source</h2>
<h3>pyNS Requirements</h3>
<div class="description_2">
<p>In order to successfully use pyNS, the following software have to be installed in your system:</p>
<ul>
<li><a href="http://www.python.org/download/" target="_blank" title="Python">Python(2.x)</a></li>
<li><a href="http://www.scipy.org/Download" target="_blank" title="Numpy package">NumPy package</a></li>
<li><a href="http://www.scipy.org/Download" target="_blank" title="Scipy package">SciPy package (required only for Windows Users)</a></li>
</ul>
<p>Optional packages:</p>
<ul>
<li><a href="http://matplotlib.sourceforge.net/" target="_blank" title="Matplotlib library">Matplotlib library</a></li>
<li><a href="http://lxml.de/" target="_blank" title="Lxml library">Lxml library</a></li>
<li><a href="http://www.mplayerhq.hu/design7/dload.html" target="_blank" title="MenCoder library">MenCoder library</a></li>
</ul>
</div>
<h3>pyNS Installation</h3>
<div class="description_2">
<ul>
<li><p><a href="download.html" target="_blank">Download</a> and untar (or unzip) the latest pyNS source release from <a href="https://github.com/archTk/pyNS" target="_blank">github</a>:</p>
<p><i>tar -zxvf archTk-pyNS-0.x.tar.gz</i></p>
<p>or</p>
<p><i>unzip archTk-pyNS-0.x.zip</i></p></li>
</div>
<h3>archNE Requirements</h3>
<div class="description_2">
<p>In order to successfully compile arch Network Editor, the following software has to be installed in your system:</p>
<ul>
<li><a href="http://qt.nokia.com/downloads/downloads#qt-lib" title="Qt libraries">Qt libraries(4.x)</a></li>
</ul>
</div>
<h3>archNE Installation</h3>
<div class="description_2">
<ul>
<li><p><a href="download.html" target="_blank">Download</a> and untar (or unzip) the latest archNE source release from <a href="https://github.com/archTk/arch-ne" target="_blank">github</a>:</p>
<p><i>tar -zxvf archTk-arch-ne-0.x.tar.gz</i></p>
<p>or</p>
<p><i>unzip archTk-arch-ne-0.x.zip</i></p></li>
<li><p>rename the source directory into archNE:</p>
<p><i>mv archTk-arch-ne-0.x/source/ archTk-arch-ne-0.x/archNE/</i></p>
</li>
<li><p>cd into archNE directory and create the qt file project:</p>
<p><i>cd archTk-arch-ne-0.x/archNE</i></p>
<p><i>qmake -project</i></p>
</li>
<li><p>Edit the qt file project (archNE.pro) with a text editor adding these two lines just before #Input:</p>
<p>QT += xmlpatterns</p>
<p>QT += xml</p>
</li>
<li><p>Create a build directory and cd into it:</p>
<p><i>mkdir ../archNE-build</i></p>
<p><i>cd ../archNE-build</i></p>
</li>
<li><p>Run qmake with the right option to set the corresponding platform-specific variable:</p>
<p><strong>MacOsX:</strong><i> qmake -spec macx-g++ ../archNE</i></p>
<p><strong>Windows:</strong><i> qmake -spec win32-g++ ../archNE</i></p>
<p><strong>Linux:</strong><i> qmake -spec linux-g++ ../archNE</i></p>
</li>
<div class="attachment_container">
<a href="media/archNE_pref.png" rel="lightbox" title="archNE set Preferences"><img class="screenshot" width="150" src="media/archNE_pref.png" alt="archNE set Preferences"/></a>
</div>
<li><p>Compile and install arch Network Editor:</p>
<p><i>make</i></p>
</li>
<li><p>Run archNe by clicking on archNe.app file</p>
<p>Select archNE -> Preferences from menuBar and set python path and pyNS path</p>
</li>
</ul>
</div>
<div class="pre_footer"></div>