2020年11月30日 星期一

安裝 vcflib

Debian/Ubuntu
apt-get install libvcflib-tools libvcflib-dev

by source
#!/bin/bash
#https://github.com/vcflib/vcflib

target=/opt
pwd=$(pwd)
apt install -y git make cmake libbz2-dev liblzma-dev libc6-dev
cd $target
git clone --recursive https://github.com/vcflib/vcflib.git
cd vcflib
make -j
cd bin
for i in $(find ${target}/vcflib/bin/ -type f  -perm /a=x);do ln -s $i /usr/local/bin/$(basename $i);done;
cd $pwd

沒有留言: