The cross-platform package manager for open-source bioinformatics tools.
sudo apt-get update sudo apt-get install build-essential python \ gcc-4.8 g++-4.8 cmake curl git unzip \ default-jre-headless libncurses5-dev zlib1g-dev
sudo yum groupinstall 'Development Tools' sudo yum install cmake git java-1.8.0-openjdk \ ncurses-devel zlib-devel
Copy and paste this command into your shell to download then execute the automated install script:
bash -c "$(curl -fsSL https://bitbucket.org/mhowison/bib/raw/master/install.sh)"
Note: BiB installs to /opt/bib by default and requires sudo access. To install to a different prefix and disable the sudo requirement on Ubuntu or CentOS, download the install script and pass the prefix as the first argument. Unfortunately, changing the install path does not currently work on OS X .
To use the bib command, as well as all installed software, you must add the directory /opt/bib/active/bin to the PATH variable in your environment. For the bash shell, you should be able to do this by typing the command:
echo "export PATH=/opt/bib/active/bin:\$PATH" >>~/.profile
echo "export PATH=/opt/bib/active/bin:\$PATH" >>~/.bash_profile
and closing and reopening your shell.