Changes between Version 43 and Version 44 of WikiStart


Ignore:
Timestamp:
Oct 31, 2006 2:32:02 PM (13 years ago)
Author:
andreasw
Comment:

updated simple download instructions

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v43 v44  
    33The information behind these webpages tells you how to obtain most of the packages available on COIN-OR.
    44
    5 If you want to obtain precompiled binaries (executables and libraries), please go to the [https://projects.coin-or.org/CoinBinary COIN binaries page].
     5If you want to obtain '''precompiled binaries''' (executables and libraries), please go to the [https://projects.coin-or.org/CoinBinary COIN binaries page] (only available for some packages).
    66
    7 Below you find straight-forward instructions for downloading and compiling the code.  More detailed information is available [wiki:pm-detailed].
     7Below you find straight-forward instructions for '''downloading and compiling the source code''' if you are using a UNIX-like system (inclkuding Linux, Cygwin, MSys).  More detailed information is available [wiki:pm-detailed here].
     8
     9The [http://projects.coin-or.org/MSVisualStudio MSVisualStudio] project describes how several COIN-OR projects can be built with Microsoft Visual Studio.
     10
     11-----------------------------------
    812
    913== Minimal Download and Installation Instructions ==
     
    1115'''NOTE: Please check the [wiki:current-issues current issues page] before trying to configure and compile the code.'''
    1216
    13 The '''very short version of the download and installation instructions''' for UNIX-like system (including Linux and Cygwin) is this:
    14 
    15  1. Get the code for the desired package {{{Pkg}}} (where {{{Pkg}}} needs to be replaced by the name of the COIN package you want to install) and for a releases {{{x.y.z}}} (again, {{{x.y.z}}} is to be replaced by the version number string, such as {{{2.4.1}}}):
    16    * ''As tarball'': Download the tarball {{{Pgk-x.y.z.tgz}}} from the [http://www.coin-or.org/Tarballs/ COIN Tarballs site] and extract it, for example with
     17The '''very short version of the download and installation instructions''' for UNIX-like system (including Linux and Cygwin) are as follows.  Assume that you want to compile the package {{{Pkg}}} (where {{{Pkg}}} needs to be replaced below by the name of the COIN package you want to install).
     18 
     19 1. Find out what version of the code you would like to obtain.
     20   * '''If you only want to download and compile the code only once''', we recommend that you get the source code archive from the [http://www.coin-or.org/download/source COIN source site].  For each package, you find a subdirectory there that with several archives.  Usually, you would choose the one with the latest release number, such as {{{Pgk.x.y.z.tgz}}}.
     21   * '''If you want to stay up to date with bug-fixes and improvements''', we recommand that you use [wiki:user-download#ObtainingtheCodeUsingSubversion subversion] to get the latest '''stable branch'''.  In this way, you can get updates of the source code very easily at a later point, without having to having to redo all the installation steps.  You will need to know the number of the stable branch you want to obtain (see the projects' home page).  Below, we denote this number with {{{x.y}}}.
     22 1. Get the code for the desired package {{{Pkg}}}:
     23   * ''As archive'': Download the archive {{{Pgk-x.y.z.tgz}}} from the [http://www.coin-or.org/download/source COIN source archive site] and extract it, for example with
    1724{{{
    1825gunzip Pgk-x.y.z.tgz
     
    2128   * ''Via subversion'': Go into the directory where you want to have a subdirectory with the downloaded source code and type
    2229{{{
    23 svn co https://projects.coin-or.org/svn/Pkg/releases/x.y.z  Pkg-x.y.z
     30svn co https://projects.coin-or.org/svn/Pkg/stable/x.y  Pkg-x.y
    2431}}}
     32The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code.
    2533 1. Go into the downloaded directory, create a subdirectory for the compiled code, and run the configuration script
    2634{{{
    27 cd Pkg-x.y.z
     35cd Pkg-x.y.z   (or cd Pkg-x.y)
    2836mkdir build
    2937cd build
    3038../configure
    3139}}}
    32    Make sure the last line of output says that the configuration was successful.
     40   Make sure the last line of output says that the configuration was successful.  The {{{configure}}} script has many customization features. To learn more about them, go to the [wiki:user-configure Preparing the compilation page].
    3341 1. Compile the code
    3442{{{
     
    4553This will create subdirectories {{{bin}}}, {{{lib}}}, and {{{include}}} in the download directory with the product of the compilation.
    4654
    47 The {{{configure}}} script has many customization features. To learn more about them, go to the [wiki:user-configure Preparing the compilation page].
    48 
    49 The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code.
    50 The [http://projects.coin-or.org/MSVisualStudio MSVisualStudio] project describes how several COIN-OR projects can be built with Microsoft Visual Studio.
    51 
    5255If these simple instructions don't work for you, please check for [wiki:pm-detailed more detailed information], and visit the
    5356[wiki:user-troubleshooting Troubleshooting page].