環境
- RockyLinux 8.9 (Core) minimal installationからを想定
- root権限あり
インストール方法
# インストール先のディレクトリを指定する。自由に指定して良い。
BLASTINSDIR="/usr/local/package/blastplus/2.15.0"
# 事前に必要なパッケージを入れておく
dnf -y install wget perl libnsl
dnf -y install perl-Archive-Tar perl-List-MoreUtils
# あらかじめインストール先のディレクトリを作っておく。
mkdir -p ${BLASTINSDIR}
wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.15.0+-3.x86_64.rpm
#blast+ 2.15.0 のインストール
rpm -Uvh --prefix=${BLASTINSDIR} ncbi-blast-2.15.0+-3.x86_64.rpm
あとはこのインストール先${BLASTINSDIR}
にPATHを通し、必要であればデータベースもインストールしておく。