How To Install samtools on Rocky Linux 8
Introduction
In this tutorial we learn how to install samtools on Rocky Linux 8.
What is samtools
SAM (Sequence Alignment/Map) is a flexible generic format for storing nucleotide sequence alignment. SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format.
We can use yum or dnf to install samtools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install samtools.
Install samtools on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install samtools using dnf by running the following command:
sudo dnf -y install samtools
Install samtools on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install samtools using yum by running the following command:
sudo yum -y install samtools
How To Uninstall samtools on Rocky Linux 8
To uninstall only the samtools package we can use the following command:
sudo dnf remove samtools
samtools Package Contents on Rocky Linux 8
/usr/bin/ace2sam
/usr/bin/blast2sam.pl
/usr/bin/bowtie2sam.pl
/usr/bin/export2sam.pl
/usr/bin/interpolate_sam.pl
/usr/bin/maq2sam-long
/usr/bin/maq2sam-short
/usr/bin/md5fa
/usr/bin/md5sum-lite
/usr/bin/novo2sam.pl
/usr/bin/plot-bamstats
/usr/bin/psl2sam.pl
/usr/bin/sam2vcf.pl
/usr/bin/samtools
/usr/bin/samtools.pl
/usr/bin/seq_cache_populate.pl
/usr/bin/soap2sam.pl
/usr/bin/wgsim
/usr/bin/wgsim_eval.pl
/usr/bin/zoom2sam.pl
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/123b644b7f2f29bcd9049a5ee68cc0488367a7
/usr/lib/.build-id/07
/usr/lib/.build-id/07/db18c93111c1a79036f992b1130e38b9164867
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/881228793e2045d460de34e2a649bf4fb7ffaf
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/cc0b101c678776d93a1e7a5424aaa8425006aa
/usr/lib/.build-id/80
/usr/lib/.build-id/80/8e324e48b6869bd6e03399650243e56af2fbc2
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/15f6598518386f71702f55e97dc66344aacdab
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/41864a8557ca15b8b14ec264ecf885beccf5a1
/usr/share/doc/samtools
/usr/share/doc/samtools/AUTHORS
/usr/share/doc/samtools/ChangeLog.old
/usr/share/doc/samtools/NEWS
/usr/share/doc/samtools/examples
/usr/share/doc/samtools/examples/00README.txt
/usr/share/doc/samtools/examples/ex1.fa
/usr/share/doc/samtools/examples/ex1.sam.gz
/usr/share/doc/samtools/examples/toy.fa
/usr/share/doc/samtools/examples/toy.sam
/usr/share/licenses/samtools
/usr/share/licenses/samtools/LICENSE
/usr/share/man/man1/samtools.1.gz
/usr/share/man/man1/wgsim.1.gz
References
Summary
In this tutorial we learn how to install samtools on Rocky Linux 8 using yum and dnf.