How To Install erlang-ssl on CentOS 8

erlang-ssl is Secure Socket Layer support

Introduction

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

What is erlang-ssl

Secure Socket Layer support.

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

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

sudo dnf -y install erlang-ssl

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

sudo yum -y install erlang-ssl

How To Uninstall erlang-ssl on CentOS 8

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

sudo dnf remove erlang-ssl

erlang-ssl Package Contents on CentOS 8

/usr/lib64/erlang/lib/ssl-9.3.5
/usr/lib64/erlang/lib/ssl-9.3.5/ebin
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_connection.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_connection_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_handshake.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_listener_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_packet_demux.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_record.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_socket.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/dtls_v1.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/inet6_tls_dist.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/inet_tls_dist.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl.app
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl.appup
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_admin_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_alert.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_app.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_certificate.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_cipher.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_cipher_format.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_config.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_connection.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_connection_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_crl.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_crl_cache.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_crl_cache_api.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_crl_hash_dir.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_dh_groups.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_dist_admin_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_dist_connection_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_dist_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_handshake.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_listen_tracker_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_logger.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_manager.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_pem_cache.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_pkix_db.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_record.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_session.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_session_cache.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_session_cache_api.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_srp_primes.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/ssl_v3.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_connection.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_connection_1_3.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_connection_sup.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_handshake.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_handshake_1_3.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_record.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_record_1_3.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_sender.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_socket.beam
/usr/lib64/erlang/lib/ssl-9.3.5/ebin/tls_v1.beam
/usr/lib64/erlang/lib/ssl-9.3.5/src
/usr/lib64/erlang/lib/ssl-9.3.5/src/dtls_connection.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/dtls_handshake.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/dtls_record.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_alert.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_api.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_cipher.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_connection.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_handshake.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_internal.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_record.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/ssl_srp.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/tls_connection.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/tls_handshake.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/tls_handshake_1_3.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/tls_record.hrl
/usr/lib64/erlang/lib/ssl-9.3.5/src/tls_record_1_3.hrl

References

Summary

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