How To Install asn1c on Fedora 36

In this tutorial we learn how to install asn1c in Fedora 36. asn1c is An ASN.1 Compiler

Introduction

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

What is asn1c

Compiles ASN.1 data structures into C source structures that can be simply marshalled to/unmarshalled from CXER, EXTENDED-XER, PER.

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

Install asn1c 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 asn1c using dnf by running the following command:

sudo dnf -y install asn1c

Install asn1c 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 asn1c using yum by running the following command:

sudo yum -y install asn1c

How To Uninstall asn1c on Fedora 36

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

sudo dnf remove asn1c

asn1c Package Contents on Fedora 36

/usr/bin/asn1c
/usr/bin/crfc2asn1.pl
/usr/bin/enber
/usr/bin/unber
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/0fc6f06bc3c2e50228ac944b73a9a90a47ebd2
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/32df83d0d3ba9389cbe9a0036acd2774642c67
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/e8dd4fe4416bb75a1de03e25a4fab9096c465c
/usr/share/asn1c
/usr/share/asn1c/ANY.c
/usr/share/asn1c/ANY.h
/usr/share/asn1c/BIT_STRING.c
/usr/share/asn1c/BIT_STRING.h
/usr/share/asn1c/BMPString.c
/usr/share/asn1c/BMPString.h
/usr/share/asn1c/BOOLEAN.c
/usr/share/asn1c/BOOLEAN.h
/usr/share/asn1c/ENUMERATED.c
/usr/share/asn1c/ENUMERATED.h
/usr/share/asn1c/GeneralString.c
/usr/share/asn1c/GeneralString.h
/usr/share/asn1c/GeneralizedTime.c
/usr/share/asn1c/GeneralizedTime.h
/usr/share/asn1c/GraphicString.c
/usr/share/asn1c/GraphicString.h
/usr/share/asn1c/IA5String.c
/usr/share/asn1c/IA5String.h
/usr/share/asn1c/INTEGER.c
/usr/share/asn1c/INTEGER.h
/usr/share/asn1c/ISO646String.c
/usr/share/asn1c/ISO646String.h
/usr/share/asn1c/NULL.c
/usr/share/asn1c/NULL.h
/usr/share/asn1c/NativeEnumerated.c
/usr/share/asn1c/NativeEnumerated.h
/usr/share/asn1c/NativeInteger.c
/usr/share/asn1c/NativeInteger.h
/usr/share/asn1c/NativeReal.c
/usr/share/asn1c/NativeReal.h
/usr/share/asn1c/NumericString.c
/usr/share/asn1c/NumericString.h
/usr/share/asn1c/OBJECT_IDENTIFIER.c
/usr/share/asn1c/OBJECT_IDENTIFIER.h
/usr/share/asn1c/OCTET_STRING.c
/usr/share/asn1c/OCTET_STRING.h
/usr/share/asn1c/ObjectDescriptor.c
/usr/share/asn1c/ObjectDescriptor.h
/usr/share/asn1c/PrintableString.c
/usr/share/asn1c/PrintableString.h
/usr/share/asn1c/README
/usr/share/asn1c/REAL.c
/usr/share/asn1c/REAL.h
/usr/share/asn1c/RELATIVE-OID.c
/usr/share/asn1c/RELATIVE-OID.h
/usr/share/asn1c/T61String.c
/usr/share/asn1c/T61String.h
/usr/share/asn1c/TeletexString.c
/usr/share/asn1c/TeletexString.h
/usr/share/asn1c/UTCTime.c
/usr/share/asn1c/UTCTime.h
/usr/share/asn1c/UTF8String.c
/usr/share/asn1c/UTF8String.h
/usr/share/asn1c/UniversalString.c
/usr/share/asn1c/UniversalString.h
/usr/share/asn1c/VideotexString.c
/usr/share/asn1c/VideotexString.h
/usr/share/asn1c/VisibleString.c
/usr/share/asn1c/VisibleString.h
/usr/share/asn1c/asn_SEQUENCE_OF.c
/usr/share/asn1c/asn_SEQUENCE_OF.h
/usr/share/asn1c/asn_SET_OF.c
/usr/share/asn1c/asn_SET_OF.h
/usr/share/asn1c/asn_application.h
/usr/share/asn1c/asn_codecs.h
/usr/share/asn1c/asn_codecs_prim.c
/usr/share/asn1c/asn_codecs_prim.h
/usr/share/asn1c/asn_internal.h
/usr/share/asn1c/asn_system.h
/usr/share/asn1c/ber_decoder.c
/usr/share/asn1c/ber_decoder.h
/usr/share/asn1c/ber_tlv_length.c
/usr/share/asn1c/ber_tlv_length.h
/usr/share/asn1c/ber_tlv_tag.c
/usr/share/asn1c/ber_tlv_tag.h
/usr/share/asn1c/constr_CHOICE.c
/usr/share/asn1c/constr_CHOICE.h
/usr/share/asn1c/constr_SEQUENCE.c
/usr/share/asn1c/constr_SEQUENCE.h
/usr/share/asn1c/constr_SEQUENCE_OF.c
/usr/share/asn1c/constr_SEQUENCE_OF.h
/usr/share/asn1c/constr_SET.c
/usr/share/asn1c/constr_SET.h
/usr/share/asn1c/constr_SET_OF.c
/usr/share/asn1c/constr_SET_OF.h
/usr/share/asn1c/constr_TYPE.c
/usr/share/asn1c/constr_TYPE.h
/usr/share/asn1c/constraints.c
/usr/share/asn1c/constraints.h
/usr/share/asn1c/converter-sample.c
/usr/share/asn1c/der_encoder.c
/usr/share/asn1c/der_encoder.h
/usr/share/asn1c/file-dependencies
/usr/share/asn1c/per_decoder.c
/usr/share/asn1c/per_decoder.h
/usr/share/asn1c/per_encoder.c
/usr/share/asn1c/per_encoder.h
/usr/share/asn1c/per_opentype.c
/usr/share/asn1c/per_opentype.h
/usr/share/asn1c/per_support.c
/usr/share/asn1c/per_support.h
/usr/share/asn1c/standard-modules
/usr/share/asn1c/standard-modules/ASN1-Object-Identifier-Module.asn1
/usr/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1
/usr/share/asn1c/standard-modules/README
/usr/share/asn1c/xer_decoder.c
/usr/share/asn1c/xer_decoder.h
/usr/share/asn1c/xer_encoder.c
/usr/share/asn1c/xer_encoder.h
/usr/share/asn1c/xer_support.c
/usr/share/asn1c/xer_support.h
/usr/share/doc/asn1c
/usr/share/doc/asn1c/BUGS
/usr/share/doc/asn1c/ChangeLog
/usr/share/doc/asn1c/FAQ
/usr/share/doc/asn1c/INSTALL.md
/usr/share/doc/asn1c/README.md
/usr/share/doc/asn1c/TODO
/usr/share/doc/asn1c/asn1c-quick.pdf
/usr/share/doc/asn1c/asn1c-usage.pdf
/usr/share/licenses/asn1c
/usr/share/licenses/asn1c/LICENSE
/usr/share/man/man1/asn1c.1.gz
/usr/share/man/man1/enber.1.gz
/usr/share/man/man1/unber.1.gz

References

Summary

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