How To Install erlang-diameter on CentOS 8

erlang-diameter is Diameter (RFC 3588) library

Introduction

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

What is erlang-diameter

Diameter (RFC 3588) library

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

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

sudo dnf -y install erlang-diameter

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

sudo yum -y install erlang-diameter

How To Uninstall erlang-diameter on CentOS 8

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

sudo dnf remove erlang-diameter

erlang-diameter Package Contents on CentOS 8

/usr/lib64/erlang/lib/diameter-2.2.1
/usr/lib64/erlang/lib/diameter-2.2.1/bin
/usr/lib64/erlang/lib/diameter-2.2.1/bin/diameterc
/usr/lib64/erlang/lib/diameter-2.2.1/ebin
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter.app
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter.appup
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_app.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_callback.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_capx.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_codec.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_codegen.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_config.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_config_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_dbg.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_dict_parser.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_dict_scanner.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_dict_util.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_dist.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_etcp.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_etcp_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_exprecs.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_acct_rfc6733.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_base_accounting.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_base_rfc3588.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_base_rfc6733.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_doic_rfc7683.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_gen_relay.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_info.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_lib.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_make.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_misc_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_peer.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_peer_fsm.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_peer_fsm_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_reg.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_sctp.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_sctp_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_service.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_service_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_session.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_stats.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_sync.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_tcp.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_tcp_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_traffic.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_transport.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_transport_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_types.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_watchdog.beam
/usr/lib64/erlang/lib/diameter-2.2.1/ebin/diameter_watchdog_sup.beam
/usr/lib64/erlang/lib/diameter-2.2.1/include
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_acct_rfc6733.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_base_accounting.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_base_rfc3588.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_base_rfc6733.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_doic_rfc7683.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/include/diameter_gen_relay.hrl
/usr/lib64/erlang/lib/diameter-2.2.1/src
/usr/lib64/erlang/lib/diameter-2.2.1/src/base
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/acct_rfc6733.dia
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/base_accounting.dia
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/base_rfc3588.dia
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/base_rfc6733.dia
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/doic_rfc7683.dia
/usr/lib64/erlang/lib/diameter-2.2.1/src/dict/relay.dia

References

Summary

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