Basic Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to create a main program installation directory:
mkdir -p /path/to/MAFFT
- 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
- Run the following command to go to the main program installation directory:
cd /path/to/MAFFT
- Run the following command to decompress the installation package:
tar -xvf mafft-7.471-without-extensions-src.tgz
- Run the following command to go to the directory generated after the decompression:
cd mafft-7.471-without-extensions/core
- 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
- Compile and install the main program of MAFFT.
- Run the following commands to compile and install the main program:
make clean make make install
- Run the following command to add the environment variable:
export PATH=/path/to/MAFFT/bin:$PATH
- Run the following commands to compile and install the main program:
Parent topic: Compiling and Installing MAFFT