美文网首页
Linux:CentOS系统 升级 cmake

Linux:CentOS系统 升级 cmake

作者: BINBINCC | 来源:发表于2021-02-28 21:16 被阅读0次

今天在安装LoRDEC时遇到了cmake版本不符的报错:

自己的版本号为:


image.png

那身为一个普普通通的用户我们该如何升级cmake呢?

1、首先在自己软件目录下下载相应高版本的安装包

wget https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz
tar zxvf cmake-3.14.5-Linux-x86_64.tar.gz
cd cmake-3.14.5-Linux-x86_64/bin

2、将bin目录添加到环境变量里

vi ~/.bashrc
PATH=/home/cmake-3.14.5-Linux-x86_64/bin:$PATH
source ~/.bashrc

3、让我们康康现在cmake是什么版本了


image.png

另附LoRDEC安装过程:

官方网站:https://gite.lirmm.fr/lordec/lordec-releases/-/wikis/home

wget -c https://gite.lirmm.fr/lordec/lordec-releases/uploads/800a96d81b3348e368a0ff3a260a88e1/lordec-src_0.9.tar.bz2
tar -jxvf lordec-src_0.9.tar.bz2
cd lordec-src_0.9
make clean all -j8
[root lordec-src_0.9]$ ./lordec-correct  -h
LoRDEC v0.9
using GATB v1.4.1
website : http://www.atgc-montpellier.fr/lordec/
FAQ : https://www.lirmm.fr/~rivals/lordec/FAQ/

Usage :

./lordec-correct

-i|--long_reads <long read FASTA/Q file>
-2|--short_reads <short read FASTA/Q file(s)>
-k|--kmer_len <k-mer size>
-o|--corrected_read_file <output reads file>
-s|solid_threshold <solid k-mer abundance threshold>
[-t|--trials <number of paths to try from a k-mer>]
[-b|--branch <maximum number of branches to explore>]
[-e|--errorrate <maximum error rate>]
[-T|--threads <number of threads>]
[-S|--stat_file <out statistics file>]
[-c|--complete_search]
[-a|--abundance-max <abundance max threshold for k-mers>]
[-O|--out-tmp <GATB graph creation temporary files directory>]
[-p|--progress]
[-g|--graph_named_like_output]

相关文章

网友评论

      本文标题:Linux:CentOS系统 升级 cmake

      本文链接:https://www.haomeiwen.com/subject/ojenfltx.html