Compiling and Installing bedtools
- Use PuTTY to log in to the server as the root user.
- Install the dependencies.
yum install zlib-devel bzip2-devel xz-devel -y
- Decompress the installation package.
tar -zxvf bedtools-2.29.2.tar.gz
- Go to the directory generated after the decompression.
cd bedtools2
- Perform the compilation and installation.
make
- Add the environment variable.
export PATH=/path/to/BEDTOOLS/bedtools2/bin:$PATH
Parent topic: bedtools 2.29.2 Porting Guide (CentOS 7.6)