How to install GNU Debian package

First, copy the Debian package to your local computer. In this example, we show installing the GNU parallel package.

Upload the package to your organization FinnGen green bucket or via the command-line:

wget https://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2
gsutil cp parallel-latest.tar.bz2 gs://path_to_Sandbox_green_bucket/

In the above code, replace “path_to_Sandbox_green_bucket” with your organization's green bucket path. You can check your organization's bucket path from the buckets.txt file on the Sandbox desktop. If the folder(s) in the path doesn't exist, the gsutil cp command will create it.

Adjust the sandbox

Step 1:

In the FinnGen Sandbox IVM, open the Terminal Emulator and make a new folder (tmp) in your /home/ivm where you can unzip the Debian package.

pwm
/home/ivm
mkdir tmp
cd tmp
cp /finngen/green/parallel-latest.tar.bz2 .
tar xjf parallel-latest.tar.bz2

# move to unzipped folder
cd parallel-20211222/

Step 2:

Configure installation to your home directory (/home/ivm) so that no sudo is needed. Note that it is impossible and prohibited to act as a sudo user in the FinnGen Sandbox, and trying to do so will freeze your FinnGen account. The config folder used is provided with the package.

mkdir /home/ivm/dep_app 
./configure --prefix=$HOME/dep_app && make && make install

Step 3:

Move to the bin file and open the parallel help menu.

cd /home/ivm/dep_app/bin
./parallel --help

Tip: The path can be added to the path variable for easy access.

Last updated