Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 96: Line 96:  
   ...
 
   ...
 
</code>
 
</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>
 +
    
If there were messages about missing packages, install them with the commands provided by the script:
 
If there were messages about missing packages, install them with the commands provided by the script:
283

edits

Navigation menu