How To Install bcftools on AlmaLinux 8
Introduction
In this tutorial we learn how to install bcftools
on AlmaLinux 8.
What is bcftools
BCFtools is a set of utilities that manipulate genomic variant calls in the Variant Call Format (VCF) and its binary counterpart (BCF). All commands work transparently with both VCFs and BCFs, both uncompressed and BGZF-compressed. (This BCFtools includes the polysomy subcommand, which is implemented using the GNU Scientific Library. Hence this package is licensed according to the GNU General Public License, rather than the MIT license used when BCFtools is built without the polysomy subcommand.)
We can use yum
or dnf
to install bcftools
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bcftools.
Install bcftools on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install bcftools
using dnf
by running the following command:
sudo dnf -y install bcftools
Install bcftools on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install bcftools
using yum
by running the following command:
sudo yum -y install bcftools
How To Uninstall bcftools on AlmaLinux 8
To uninstall only the bcftools
package we can use the following command:
sudo dnf remove bcftools
References
Summary
In this tutorial we learn how to install bcftools
on AlmaLinux 8 using yum and dnf.