<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 20/02/2013 21:35, Jean-Christophe
Fillion-Robin a écrit :<br>
</div>
<blockquote
cite="mid:CANLz8R5d81ouvnqnx7B1deU8RDz1ef0tgfpLawk+RLBeh=Q-8w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Alain,
<div><br>
</div>
<div style="">Instead, in a terminal you could simply do the
following:</div>
<div style=""><br>
</div>
<div style=""><font face="courier new, monospace"> cd &&
mkdir Support && cd Support && \</font></div>
<div style=""><font face="courier new, monospace"> wget <a
moz-do-not-send="true"
href="http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Linux-i386.tar.gz">http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Linux-i386.tar.gz</a>
&& \</font></div>
<div style=""><font face="courier new, monospace"> tar -xzvf
cmake-2.8.10.2-Linux-i386.tar.gz && \</font></div>
<div style=""><font face="courier new, monospace">./cmake-2.8.10.2-Linux-i386/bin/cmake
-version</font></div>
<div style=""><br>
</div>
<div style="">This will create a directory named "Support" in
your home folder, download and extract CMake 2.8.10. Finally
it invokes cmake with the "-version" param to check that cmake
run.</div>
<div style=""><br>
</div>
<div style="">You can then create symlinks into your
/usr/local/bin folder to ensure you could simply call cmake,
ctest, ... without having to specify the full path.</div>
<div style=""><br>
</div>
<div style="">
<font face="courier new, monospace">sudo ln -s
~/Support/cmake-2.8.10.2-Linux-i386/bin/cmake
/usr/local/bin/cmake && \</font></div>
<div style=""><font face="courier new, monospace">sudo ln -s
~/Support/cmake-2.8.10.2-Linux-i386/bin/ccmake /usr/local/bin/ccmake
&& \<br>
</font></div>
<div style=""><font face="courier new, monospace">sudo ln -s
~/Support/cmake-2.8.10.2-Linux-i386/bin/cpack /usr/local/bin/cpack
&& \<br>
</font></div>
<div style=""><font face="courier new, monospace">sudo ln -s
~/Support/cmake-2.8.10.2-Linux-i386/bin/ctest /usr/local/bin/ctest<br>
</font></div>
<div style=""><br>
</div>
<div style="">Hth</div>
<div style="">Jc</div>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
Thanks, I see what you want me to do, but I have another question:<br>
<br>
Actually, cmake is in /usr/bin<br>
If I put my symlink in /usr/local/bin, which version will be used ?
<br>
Is there an order to execute programs in path ? /usr/local/bin
before /usr/bin ?<br>
<br>
A+<br>
<div class="moz-signature">-- <br>
<hr>
Alain Aupeix<br>
<a class="moz-txt-link-freetext" href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext" href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a>
<hr>
U.buntu 12.04 | G.ramps 3.5.0-0.SVN20055 | H.arbour 3.2.0dev (Rev
18833) | HbIDE (Rev.168)
<hr></div>
</body>
</html>