How To Install libtasn1 on Fedora 34

libtasn1 is The ASN.1 library used in GNUTLS The ASN.1 library used in GNUTLS

Introduction

In this tutorial we learn how to install libtasn1 on Fedora 34.

What is libtasn1

A library that provides Abstract Syntax Notation One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and structures management, and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions. libtasn1 4.16.0 4.fc34 i686 76 k libtasn1-4.16.0-4.fc34.src.rpm fedora The ASN.1 library used in GNUTLS http GPLv3+ and LGPLv2+ A library that provides Abstract Syntax Notation One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and structures management, and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.

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

Install libtasn1 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libtasn1

Install libtasn1 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libtasn1

How To Uninstall libtasn1 on Fedora 34

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

sudo dnf remove libtasn1

libtasn1 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/9f1251151bf7fe8c8eded3d511d39eb6f1c137
/usr/lib64/libtasn1.so.6
/usr/lib64/libtasn1.so.6.6.0
/usr/share/doc/libtasn1
/usr/share/doc/libtasn1/AUTHORS
/usr/share/doc/libtasn1/NEWS
/usr/share/doc/libtasn1/README.md
/usr/share/licenses/libtasn1
/usr/share/licenses/libtasn1/COPYING
/usr/share/licenses/libtasn1/COPYING.LESSER
/usr/share/licenses/libtasn1/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/fecb0d047ca6e3206abea9a1fc04df8e754705
/usr/lib/libtasn1.so.6
/usr/lib/libtasn1.so.6.6.0
/usr/share/doc/libtasn1
/usr/share/doc/libtasn1/AUTHORS
/usr/share/doc/libtasn1/NEWS
/usr/share/doc/libtasn1/README.md
/usr/share/licenses/libtasn1
/usr/share/licenses/libtasn1/COPYING
/usr/share/licenses/libtasn1/COPYING.LESSER
/usr/share/licenses/libtasn1/LICENSE

References

Summary

In this tutorial we learn how to install libtasn1 on Fedora 34 using yum and dnf.