How To Install htslib on Fedora 36

In this tutorial we learn how to install htslib in Fedora 36. htslib is C library for high-throughput sequencing data formats

Introduction

In this tutorial we learn how to install htslib on Fedora 36.

What is htslib

HTSlib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data, and is the core library used by samtools and bcftools.

We can use yum or dnf to install htslib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install htslib.

Install htslib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install htslib using dnf by running the following command:

sudo dnf -y install htslib

Install htslib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install htslib using yum by running the following command:

sudo yum -y install htslib

How To Uninstall htslib on Fedora 36

To uninstall only the htslib package we can use the following command:

sudo dnf remove htslib

htslib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/e2424d437d7f4a92a27e9fd5222d12efa86ae7
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/d58ea71d0e59f54fa8c3bd60e84539ad7dfdc2
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/69c142068f66b55452f471d60a11904c919655
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/70c48f1ab0501d4da738a1615e4f0e94ff6e06
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/84b007c52b9c1ce3691ed1b37495d1631a7a4c
/usr/lib64/libhts.so.1.13
/usr/lib64/libhts.so.3
/usr/libexec/htslib
/usr/libexec/htslib/hfile_gcs.so
/usr/libexec/htslib/hfile_libcurl.so
/usr/libexec/htslib/hfile_s3.so
/usr/libexec/htslib/hfile_s3_write.so
/usr/share/doc/htslib
/usr/share/doc/htslib/NEWS
/usr/share/licenses/htslib
/usr/share/licenses/htslib/LICENSE
/usr/share/man/man5/faidx.5.gz
/usr/share/man/man5/sam.5.gz
/usr/share/man/man5/vcf.5.gz
/usr/share/man/man7/htslib-s3-plugin.7.gz

References

Summary

In this tutorial we learn how to install htslib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install htslib on Fedora 36” linkTitle: “htslib” type: “docs” description: “In this tutorial we learn how to install htslib in Fedora 36. htslib is C library for high-throughput sequencing data formats” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/htslib-featured.png

Introduction

In this tutorial we learn how to install htslib on Fedora 36.

What is htslib

HTSlib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data, and is the core library used by samtools and bcftools.

We can use yum or dnf to install htslib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install htslib.

Install htslib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install htslib using dnf by running the following command:

sudo dnf -y install htslib

Install htslib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install htslib using yum by running the following command:

sudo yum -y install htslib

How To Uninstall htslib on Fedora 36

To uninstall only the htslib package we can use the following command:

sudo dnf remove htslib

htslib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/ca574056b378c5ccfaead4b84d737c03b31214
/usr/lib/.build-id/47
/usr/lib/.build-id/47/31198122849733af5f3d2014df399514a8e60a
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/49cd59ed6d92133c74311c374339ca7e41360f
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/a17b7edc7838a1d80e01e73743439e76f3497e
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/7392e5803832fd47ebc2f22f22ac3a71818901
/usr/lib/libhts.so.1.13
/usr/lib/libhts.so.3
/usr/libexec/htslib
/usr/libexec/htslib/hfile_gcs.so
/usr/libexec/htslib/hfile_libcurl.so
/usr/libexec/htslib/hfile_s3.so
/usr/libexec/htslib/hfile_s3_write.so
/usr/share/doc/htslib
/usr/share/doc/htslib/NEWS
/usr/share/licenses/htslib
/usr/share/licenses/htslib/LICENSE
/usr/share/man/man5/faidx.5.gz
/usr/share/man/man5/sam.5.gz
/usr/share/man/man5/vcf.5.gz
/usr/share/man/man7/htslib-s3-plugin.7.gz

References

Summary

In this tutorial we learn how to install htslib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).