How To Install erlang-asn1 on CentOS 8

erlang-asn1 is Provides support for Abstract Syntax Notation One

Introduction

In this tutorial we learn how to install erlang-asn1 on CentOS 8.

What is erlang-asn1

Provides support for Abstract Syntax Notation One.

We can use yum or dnf to install erlang-asn1 on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-asn1.

Install erlang-asn1 on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install erlang-asn1

Install erlang-asn1 on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install erlang-asn1 using yum by running the following command:

sudo yum -y install erlang-asn1

How To Uninstall erlang-asn1 on CentOS 8

To uninstall only the erlang-asn1 package we can use the following command:

sudo dnf remove erlang-asn1

erlang-asn1 Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/d0b17b5d3bec312d90241e2fef8aa6d5cfb629
/usr/lib64/erlang/lib/asn1-5.0.9
/usr/lib64/erlang/lib/asn1-5.0.9/ebin
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1.app
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1.appup
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1_db.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_check.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_constructed_ber_bin_v2.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_constructed_per.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_eval_ext.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_func.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_gen.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_gen_ber_bin_v2.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_gen_check.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_gen_per.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_imm.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_name.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_parser2.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_pretty_format.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_rtt.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_table.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_tok.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1ct_value.beam
/usr/lib64/erlang/lib/asn1-5.0.9/ebin/asn1rt_nif.beam
/usr/lib64/erlang/lib/asn1-5.0.9/priv
/usr/lib64/erlang/lib/asn1-5.0.9/priv/lib
/usr/lib64/erlang/lib/asn1-5.0.9/priv/lib/asn1rt_nif.so
/usr/lib64/erlang/lib/asn1-5.0.9/src
/usr/lib64/erlang/lib/asn1-5.0.9/src/asn1_records.hrl

References

Summary

In this tutorial we learn how to install erlang-asn1 on CentOS 8 using yum and dnf.