| 10 | |
| 11 | == Obtaining the Code Via Archive Files == |
| 12 | |
| 13 | Archive files for point releases of COIN packages can be downloaded from the corresponding directories in [http://www.coin-or.org/dowload/source]. Thir names have the form {{{Pgk-x.y.z.tgz}}} where {{{Pkg}}} is the name of the package. Selecting the largest version number (i.e. the most recent archive file) is usually the way to go. |
| 14 | |
| 15 | To extract the source code from the tarball on a UNIX-like system, you go into the directory in which you want the source code directory to be created. Then you type |
| 16 | |
| 17 | {{{ |
| 18 | gunzip Pkg-x.y.z.tgz |
| 19 | tar xvf Pkg-x.y.z.tar |
| 20 | }}} |
| 21 | |
| 22 | If you don't like the name of the extracted base directory, you can rename it, but do not rename any directories inside the source code tree. |
| 23 | |
| 24 | On Windows, you can use the standard decompression programs to extract the files. |
77 | | == Obtaining the Code Via Tarballs == |
78 | | |
79 | | Tarballs for point releases of COIN packages can be downloaded from the corresponding directories in [http://www.coin-or.org/Tarballs http://www.coin-or.org/Tarballs]. They have the form {{{Pgk-x.y.z.tgz}}}. |
80 | | |
81 | | To extract the source code from the tarball on a UNIX-like system, you go into the directory in which you want the source code directory to be created. Then you type |
82 | | |
83 | | {{{ |
84 | | gunzip Pkg-x.y.z.tgz |
85 | | tar xvf Pkg-x.y.z.tar |
86 | | }}} |
87 | | |
88 | | If you don't like the name of the extracted base directory, you can rename it, but do not rename any directories inside the source code tree. |
89 | | |
90 | | On Windows, you can use the standard decompression programs to extract the files. |