Installing blast+
Procedure
- Use PuTTY to log in to the server as the root user.
- Download the installation package.
cd /path/to/blast+ wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.13.0+-src.tar.gz
- Decompress the installation package.
tar xvf ncbi-blast-2.13.0+-src.tar.gz
- Go to the directory generated after the decompression.
cd ncbi-blast-2.13.0+-src export BLAST_TOP=`pwd`
- Download the LMDB package and decompress it.
wget https://github.com/LMDB/lmdb/archive/refs/tags/LMDB_0.9.24.tar.gz tar xvf LMDB_0.9.24.tar.gz export LMDB_PATH=$BLAST_TOP/lmdb-LMDB_0.9.24
- Switch to the c++ subdirectory under blast+.
cd $BLAST_TOP/c++
- Create a configuration file.
./configure
- Perform the compilation.
cd ReleaseMT/build make all_r -j40
- Set the environment variable.
export PATH=/path/to/blast+/ncbi-blast-2.13.0+-src/c++/ReleaseMT/bin:$PATH
Parent topic: Configuring the Compilation Environment