Line 1: |
Line 1: |
− | '''Installing Debian Packages'''
| + | =GotCloud Debian Packages= |
| + | |
| + | ==Installing Debian Packages== |
| | | |
| Back to parent: [[GotCloud]] | | Back to parent: [[GotCloud]] |
− |
| |
| | | |
| | | |
Line 16: |
Line 17: |
| where 'M.n' are the normal major-minor version system. | | where 'M.n' are the normal major-minor version system. |
| | | |
− | '''Fetch the Software Packages'''
| + | ===Fetch the GotCloud Debian Packages=== |
| | | |
| <code> | | <code> |
Line 41: |
Line 42: |
| </code> | | </code> |
| | | |
− | '''Install the Software'''
| + | ===Install the GotCloud Debian bin Package=== |
| | | |
| Installation requires one to have <b>root access</b> and uses <b>dpkg</b> which Debian users will recognize. | | Installation requires one to have <b>root access</b> and uses <b>dpkg</b> which Debian users will recognize. |
Line 73: |
Line 74: |
| | | |
| | | |
− | '''Testing the Installation'''
| + | ===Testing the GotCloud Installation=== |
| | | |
| We recommend that at least the first time, you install the test packages so you can | | We recommend that at least the first time, you install the test packages so you can |
Line 122: |
Line 123: |
| | | |
| | | |
− | # Test umake (5 minutes +/-2 minute) | + | # Test snp calling (5 minutes +/-2 minute) |
| '''/usr/local/gotcloud/bin/gotcloud snpcall --test ~/testsnp''' | | '''/usr/local/gotcloud/bin/gotcloud snpcall --test ~/testsnp''' |
| Removing any previous results from: /home/myuser/testsnp/umaketest | | Removing any previous results from: /home/myuser/testsnp/umaketest |
Line 132: |
Line 133: |
| </code> | | </code> |
| | | |
− | '''Creating Your Own Debian Package From the Source'''
| + | ==Creating Your Own Debian Package From the Source== |
| | | |
| The process to create your own Debian package from the source files is straight-forward | | The process to create your own Debian package from the source files is straight-forward |
| for Debian users. The source files actually contain source for the executables, | | for Debian users. The source files actually contain source for the executables, |
| the test data and the scripts and configuration files used by the users. | | the test data and the scripts and configuration files used by the users. |
− | To source builds two debian package files - one for the test data (test) and one for the
| + | These steps build two debian package files - one for the test data (test) and one for the |
| binaries and scripts (bin). | | binaries and scripts (bin). |
| | | |
− | In order to simply the build of two packages, the debian directory contains the control | + | In order to simplify the building of two packages, the debian directory contains the control files for both packages (bin and test). |
− | files for both packages (bin and test). | |
| This requires that the normal control files (e.g. rules) be named rules.test and rules.bin | | This requires that the normal control files (e.g. rules) be named rules.test and rules.bin |
| and the shell script (makedeb.sh) be aware of this nuance. | | and the shell script (makedeb.sh) be aware of this nuance. |
Line 147: |
Line 147: |
| the version for GotCloud. | | the version for GotCloud. |
| | | |
− | '''Fetch the Source''' | + | '''Fetch the Source Including the Test Files''' |
| | | |
| <code> | | <code> |
| # The easiest way: | | # The easiest way: |
− | wget ftp://share.sph.umich.edu/gotcloud/gotcloud-src_latest.tgz | + | wget ftp://share.sph.umich.edu/gotcloud/gotcloudWithTest_latest.tgz |
| | | |
| # Another way: | | # Another way: |
Line 165: |
Line 165: |
| ftp> cd gotcloud | | ftp> cd gotcloud |
| 250 Directory successfully changed. | | 250 Directory successfully changed. |
− | ftp> get gotcloud-src_latest.tgz | + | ftp> get gotcloudWithTest_latest.tgz |
| ftp> quit | | ftp> quit |
| 221 Goodbye. | | 221 Goodbye. |
| | | |
| # Extract the source files | | # Extract the source files |
− | cd ~/src # Wherever you want the source files | + | cd ~/src # Or wherever you want the source files |
− | tar xzf path/gotcloud-src_latest.tgz | + | tar xzf path/gotcloudWithTest_latest.tgz |
| </code> | | </code> |
| | | |
− | '''Compile the Source''' | + | |
| + | '''Fetch the Source Excluding the Test Files''' |
| + | |
| + | Follow the above logic, but use: gotcloud_latest.tgz |
| + | |
| + | '''Fetch just the Test Files''' |
| + | |
| + | Follow the above logic, but use: gotcloudTest_latest.tgz |
| + | |
| + | |
| + | |
| + | ===Compile the Source=== |
| | | |
| <code> | | <code> |
− | cd ~/src | + | cd ~/src # Or wherever you put the source files |
| cd gotcloud* | | cd gotcloud* |
| cd src | | cd src |
Line 185: |
Line 196: |
| </code> | | </code> |
| | | |
− | '''Create the Debian Package Files'''
| + | |
| + | ===Create the Debian Package Files=== |
| | | |
| <code> | | <code> |
− | '''cd ~/src''' | + | '''cd ~/src''' # Or wherever you put the source files |
| '''cd gotcloud*''' | | '''cd gotcloud*''' |
| | | |