Package Installer - mdibl/package_downloads GitHub Wiki

This Script is called by the package manager main script to build and install a new package.

Usage: ./install_package TOOL_NAME

Where TOOL_NAME is the name of the base directory for this package as defined in the variable SHORT_NAME in the tool config file

Example : ./install_package bamtools 

Different versions of bamtools will be installed under EXTERNAL_SOFTWARE_BASE/bamtools  
the file EXTERNAL_SOFTWARE_BASE/bamtools/current_release_NUMBER stores
the latest release number for this tool

Note: This script expects the following env variables set by the caller

  1. GLOBAL_CONFIG
  2. PACKAGE_DEPENDS
  3. PACKAGE_BASE

What it does:


  1. Runs the dependency test
  2. Calls the right install script depending of the type of the install
    • If Installing from binaries then it calls the install_binaries.sh script
    • If Installing from source then it calls the tool's Install.sh script
  3. Runs the Install check