Compiling and Installing CANU
- Use PuTTY to log in to a server as the root user.
- Run the following command to decompress the CANU installation package:
tar -xvf canu-1.8.tar.gz
- Run the following command to switch to CANU source code directory:
cd canu-1.8/src
- Run the following command to compile CANU:
make -j8
- Go to the CANU 1.8 directory. If the CANU executable file is generated in the Linux-aarch64/bin directory, as shown in the following command output, the compilation is complete.
-rwxrwxr-x 1 root root 31114 Oct 23 2018 canu
- Run the following command to add CANU to the environment variables:
export PATH=/path/to/CANU/canu-1.8/Linux-aarch64/bin:$PATH
Parent topic: CANU 1.8 Porting Guide (CentOS 7.6)