How To Install erlang-public_key on CentOS 8

erlang-public_key is API to public key infrastructure

Introduction

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

What is erlang-public_key

API to public key infrastructure.

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

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

sudo dnf -y install erlang-public_key

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

sudo yum -y install erlang-public_key

How To Uninstall erlang-public_key on CentOS 8

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

sudo dnf remove erlang-public_key

erlang-public_key Package Contents on CentOS 8

/usr/lib64/erlang/lib/public_key-1.6.7
/usr/lib64/erlang/lib/public_key-1.6.7/asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/InformationFramework.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/OTP-PKIX.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/OTP-PUB-KEY.asn1config
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/OTP-PUB-KEY.hrl
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-1.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-10.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-3.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-7.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-8.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS-FRAME.hrl
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKCS5v2-0.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKIX1Algorithms88.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKIX1Explicit88.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKIX1Implicit88.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/PKIXAttributeCertificate.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/asn1/RFC5639.asn1
/usr/lib64/erlang/lib/public_key-1.6.7/ebin
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/OTP-PUB-KEY.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/PKCS-FRAME.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_cert.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_cert_records.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_crl.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_pbe.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_pem.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/pubkey_ssh.beam
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/public_key.app
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/public_key.appup
/usr/lib64/erlang/lib/public_key-1.6.7/ebin/public_key.beam
/usr/lib64/erlang/lib/public_key-1.6.7/include
/usr/lib64/erlang/lib/public_key-1.6.7/include/OTP-PUB-KEY.hrl
/usr/lib64/erlang/lib/public_key-1.6.7/include/PKCS-FRAME.hrl
/usr/lib64/erlang/lib/public_key-1.6.7/include/public_key.hrl

References

Summary

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