官方推荐流程:
1. 下载canu-2.2.tar.xz(官方推荐不下source code)
1.1 curl命令下载
curl -L https://github.com/marbl/canu/releases/download/v2.2/canu-2.2.tar.xz --output canu-2.2.tar.xz
#最后用这种方法下的(看运气,连得上就能下)
1.2 git clone
git clone https://github.com/marbl/canu.git
#clone不了https仓库的话把https://改成git://,然后会遇到make时候出现的submodule加载问题,解决方法看make时候出现的问题2。
2. 解压
tar -xJf canu-2.2.tar.xz
3. 编译
cd canu-2.2/src
make -j 8
#make时候出现的问题