From Genome Analysis Wiki
Jump to navigationJump to search
764 bytes removed
, 09:05, 14 October 2013
Line 43: |
Line 43: |
| Where 'M.n' is replaced with the specific version numbers. | | Where 'M.n' is replaced with the specific version numbers. |
| | | |
− | <b>Install Debian packages as root</b>
| + | Installing Debian packages normally requires root access, however, you <b>can</b> install as a non-root user (see below). |
− | <code>
| |
− | sudo dpkg -i [path_to_deb_file]/gotcloud-bin_*_amd64.deb
| |
− | sudo dpkg -i [path_to_deb_file]/gotcloud-test_*_amd64.deb
| |
− | </code>
| |
− | | |
− | <b>Install Debian packages without root access</b>
| |
− | Installing Debian packages generally requires root access, however, you can install as a non-root user using the following instructions (bash commands shown here): | |
− | <code>
| |
− | tempdir=/tmp/$$.gotcloud.removeme # Temp directory
| |
− | destdir=$HOME # Where you want GotCloud installed
| |
− |
| |
− | pkg=[path_to_deb_file]/gotcloud-bin_*_amd64.deb
| |
− | dpkg -x $pkg $tempdir
| |
− | rsync -av --delete $tempdir/usr/local/gotcloud/* $destdir/gotcloud || exit 1
| |
− | rm -rf $tempdir
| |
− |
| |
− | pkg=[path_to_deb_file]/gotcloud-test_*_amd64.deb
| |
− | dpkg -x $pkg $tempdir
| |
− | rsync -av --delete $tempdir/usr/local/gotcloud/* $destdir/gotcloud || exit 1
| |
− | rm -rf $tempdir
| |
− |
| |
− | $destdir/gotcloud/scripts/check_requirements.sh # Check requirements
| |
− | </code>
| |
| | | |
| See [[GotCloud: Versions]] for details on the changes for each version. | | See [[GotCloud: Versions]] for details on the changes for each version. |
Line 98: |
Line 75: |
| ====Install the GotCloud Debian bin Package==== | | ====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 normally requires one to have <b>root access</b> and uses <b>dpkg</b> which Debian users will recognize. |
| We recommend you install the first one separately so you can easily | | We recommend you install the first one separately so you can easily |
| identify messages about prerequisite files that need to be installed: | | identify messages about prerequisite files that need to be installed: |
Line 120: |
Line 97: |
| </code> | | </code> |
| | | |
− | If there were messages about missing packages, install them now | + | If there were messages about missing packages, install them with the commands provided by the script: |
| | | |
| <code> | | <code> |
| <b>sudo apt-get update</b> | | <b>sudo apt-get update</b> |
− | <b>sudo apt-get install java-common default-jre make libssl0.9.8</b> | + | <b>sudo apt-get install java-common default-jre make libssl0.9.8</b> # For example |
| </code> | | </code> |
| | | |