我要评分
获取效率
正确性
完整性
易理解

Installing RMBlast

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the source package.
    tar zxvf ncbi-rmblastn-2.2.28-src.tar.gz
  3. Go to the directory generated after the decompression.
    cd ncbi-rmblastn-2.2.28-src
  4. Modify the configure file.
    1. Open configure.
      vi src/build-system/configure
    2. Press i to enter the insert mode and modify line 4749.
      4746 if test "$GCC" = "yes" ; then
      4747    compiler_ver="`$real_CXX -dumpversion 2>&1`"
      4748    case "$compiler_ver" in
      4749      2.95* | 2.96* | 3.* | 4.* | 7.*)
      4750        compiler="GCC"
      4751        ncbi_compiler="GCC"
      4752        ncbi_compiler_ver="$compiler_ver"

      After performing 4.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Perform the compilation and installation.
    ./configure --prefix=/path/to/rmblas --build=aarch64-unknown-linux-gnu --without-debug --with-mt CFLAGS=-Wno-narrowing CXXFLAGS=-Wno-narrowing
    make -j
    make -j install
  6. Load the environment variable.
    export PATH=/path/to/rmblast/bin:$PATH