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

Basic Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to create a main program installation directory:
    mkdir -p /path/to/MAFFT
  3. Run the following command to copy the installation package to the main program installation directory:
    cp mafft-7.471-without-extensions-src.tgz  /path/to/MAFFT
  4. Run the following command to go to the main program installation directory:
    cd /path/to/MAFFT
  5. Run the following command to decompress the installation package:
    tar -xvf  mafft-7.471-without-extensions-src.tgz
  6. Run the following command to go to the directory generated after the decompression:
    cd mafft-7.471-without-extensions/core
  7. Run the following commands to configure related files:
    perl -p -i -e 's#PREFIX =.*#PREFIX = /PATH/to/MAFFT#' Makefile
    sed -i 's/gcc/\`which gcc\`/g' Makefile
    sed -i 's/-O3/-O3 -march=armv8.2-a -mtune=tsv110 -flto/g' Makefile
  8. Compile and install the main program of MAFFT.
    1. Run the following commands to compile and install the main program:
      make clean
      make
      make install
    2. Run the following command to add the environment variable:
      export PATH=/path/to/MAFFT/bin:$PATH