How To Install erlang-erts on CentOS 8

erlang-erts is Functionality necessary to run the Erlang System itself

Introduction

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

What is erlang-erts

Functionality necessary to run the Erlang System itself.

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

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

sudo dnf -y install erlang-erts

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

sudo yum -y install erlang-erts

How To Uninstall erlang-erts on CentOS 8

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

sudo dnf remove erlang-erts

erlang-erts Package Contents on CentOS 8

/usr/bin/epmd
/usr/bin/erl
/usr/bin/erlc
/usr/bin/escript
/usr/bin/run_erl
/usr/bin/to_erl
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/7b69ffaad219724cb61d0d4c3c91d70423d49b
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/c62ca2c7e92b9c2d0d9201005e4c6384e9110a
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/608c6d6cca83a08fc84f571b06495229e4cdaa
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/02d36fb668f945ce619a1811dc685dac5cea65
/usr/lib/.build-id/67
/usr/lib/.build-id/67/86e0d3256de6f1ce954ed8e6a7c0f027419bf3
/usr/lib/.build-id/91
/usr/lib/.build-id/91/f5ec8e1d76ffa1213acb5ec9e80c0b1bd8e108
/usr/lib/.build-id/a1/508b49ea65191624c9fef25e637a7405894f85
/usr/lib/.build-id/be
/usr/lib/.build-id/be/ef72641f9004454ea7527f484dcc300e4f2c12
/usr/lib/.build-id/da
/usr/lib/.build-id/da/9771c83a07d7077573b55b8ed731b325f138ad
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/5b68834bac4273e57f63bd2b56070070b619c2
/usr/lib/.build-id/e4/e04ed0787d1893e83331dcdbbd47b4eb7de924
/usr/lib/systemd/system/epmd.service
/usr/lib/systemd/system/epmd.socket
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib64/erlang
/usr/lib64/erlang/bin
/usr/lib64/erlang/bin/epmd
/usr/lib64/erlang/bin/erl
/usr/lib64/erlang/bin/erlc
/usr/lib64/erlang/bin/escript
/usr/lib64/erlang/bin/no_dot_erlang.boot
/usr/lib64/erlang/bin/run_erl
/usr/lib64/erlang/bin/start
/usr/lib64/erlang/bin/start.boot
/usr/lib64/erlang/bin/start.script
/usr/lib64/erlang/bin/start_clean.boot
/usr/lib64/erlang/bin/start_erl
/usr/lib64/erlang/bin/start_sasl.boot
/usr/lib64/erlang/bin/to_erl
/usr/lib64/erlang/erts-10.4.4
/usr/lib64/erlang/erts-10.4.4/bin
/usr/lib64/erlang/erts-10.4.4/bin/beam.smp
/usr/lib64/erlang/erts-10.4.4/bin/dyn_erl
/usr/lib64/erlang/erts-10.4.4/bin/epmd
/usr/lib64/erlang/erts-10.4.4/bin/erl
/usr/lib64/erlang/erts-10.4.4/bin/erl.src
/usr/lib64/erlang/erts-10.4.4/bin/erl_child_setup
/usr/lib64/erlang/erts-10.4.4/bin/erlc
/usr/lib64/erlang/erts-10.4.4/bin/erlexec
/usr/lib64/erlang/erts-10.4.4/bin/escript
/usr/lib64/erlang/erts-10.4.4/bin/heart
/usr/lib64/erlang/erts-10.4.4/bin/inet_gethost
/usr/lib64/erlang/erts-10.4.4/bin/run_erl
/usr/lib64/erlang/erts-10.4.4/bin/start
/usr/lib64/erlang/erts-10.4.4/bin/start.src
/usr/lib64/erlang/erts-10.4.4/bin/start_erl.src
/usr/lib64/erlang/erts-10.4.4/bin/to_erl
/usr/lib64/erlang/erts-10.4.4/include
/usr/lib64/erlang/erts-10.4.4/include/driver_int.h
/usr/lib64/erlang/erts-10.4.4/include/erl_driver.h
/usr/lib64/erlang/erts-10.4.4/include/erl_drv_nif.h
/usr/lib64/erlang/erts-10.4.4/include/erl_fixed_size_int_types.h
/usr/lib64/erlang/erts-10.4.4/include/erl_int_sizes_config.h
/usr/lib64/erlang/erts-10.4.4/include/erl_memory_trace_parser.h
/usr/lib64/erlang/erts-10.4.4/include/erl_nif.h
/usr/lib64/erlang/erts-10.4.4/include/erl_nif_api_funcs.h
/usr/lib64/erlang/erts-10.4.4/include/internal
/usr/lib64/erlang/erts-10.4.4/include/internal/README
/usr/lib64/erlang/erts-10.4.4/include/internal/erl_errno.h
/usr/lib64/erlang/erts-10.4.4/include/internal/erl_memory_trace_protocol.h
/usr/lib64/erlang/erts-10.4.4/include/internal/erl_misc_utils.h
/usr/lib64/erlang/erts-10.4.4/include/internal/erl_printf.h
/usr/lib64/erlang/erts-10.4.4/include/internal/erl_printf_format.h
/usr/lib64/erlang/erts-10.4.4/include/internal/erts_internal.mk
/usr/lib64/erlang/erts-10.4.4/include/internal/ethr_atomics.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ethr_mutex.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ethr_optimized_fallbacks.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ethread.mk
/usr/lib64/erlang/erts-10.4.4/include/internal/ethread_header_config.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ethread_inline.h
/usr/lib64/erlang/erts-10.4.4/include/internal/gcc
/usr/lib64/erlang/erts-10.4.4/include/internal/gcc/ethr_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/gcc/ethr_dw_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/gcc/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/gcc/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/ethr_dw_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/rwlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/i386/spinlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/libatomic_ops
/usr/lib64/erlang/erts-10.4.4/include/internal/libatomic_ops/ethr_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/libatomic_ops/ethr_dw_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/libatomic_ops/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/libatomic_ops/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32/atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32/rwlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/ppc32/spinlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/pthread
/usr/lib64/erlang/erts-10.4.4/include/internal/pthread/ethr_event.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32/atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32/rwlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc32/spinlock.h
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc64
/usr/lib64/erlang/erts-10.4.4/include/internal/sparc64/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/tile
/usr/lib64/erlang/erts-10.4.4/include/internal/tile/atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/tile/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/tile/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/win
/usr/lib64/erlang/erts-10.4.4/include/internal/win/ethr_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/win/ethr_dw_atomic.h
/usr/lib64/erlang/erts-10.4.4/include/internal/win/ethr_event.h
/usr/lib64/erlang/erts-10.4.4/include/internal/win/ethr_membar.h
/usr/lib64/erlang/erts-10.4.4/include/internal/win/ethread.h
/usr/lib64/erlang/erts-10.4.4/include/internal/x86_64
/usr/lib64/erlang/erts-10.4.4/include/internal/x86_64/ethread.h
/usr/lib64/erlang/erts-10.4.4/lib
/usr/lib64/erlang/erts-10.4.4/lib/internal
/usr/lib64/erlang/erts-10.4.4/lib/internal/README
/usr/lib64/erlang/erts-10.4.4/lib/internal/liberts_internal.a
/usr/lib64/erlang/erts-10.4.4/lib/internal/liberts_internal_r.a
/usr/lib64/erlang/erts-10.4.4/lib/internal/libethread.a
/usr/lib64/erlang/erts-10.4.4/lib/liberts.a
/usr/lib64/erlang/erts-10.4.4/lib/liberts_r.a
/usr/lib64/erlang/erts-10.4.4/src
/usr/lib64/erlang/erts-10.4.4/src/setuid_socket_wrap.c
/usr/lib64/erlang/lib
/usr/lib64/erlang/lib/erts-10.4.4
/usr/lib64/erlang/lib/erts-10.4.4/ebin
/usr/lib64/erlang/lib/erts-10.4.4/ebin/atomics.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/counters.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erl_init.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erl_prim_loader.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erl_tracer.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erlang.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erts.app
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erts_code_purger.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erts_dirty_process_signal_handler.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erts_internal.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/erts_literal_area_collector.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/init.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/net.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/persistent_term.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/prim_buffer.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/prim_eval.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/prim_file.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/prim_inet.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/prim_zip.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/socket.beam
/usr/lib64/erlang/lib/erts-10.4.4/ebin/zlib.beam
/usr/lib64/erlang/releases
/usr/lib64/erlang/releases/22
/usr/lib64/erlang/releases/22/OTP_VERSION
/usr/lib64/erlang/releases/22/installed_application_versions
/usr/lib64/erlang/releases/22/no_dot_erlang.boot
/usr/lib64/erlang/releases/22/no_dot_erlang.rel
/usr/lib64/erlang/releases/22/no_dot_erlang.script
/usr/lib64/erlang/releases/22/start.boot
/usr/lib64/erlang/releases/22/start.script
/usr/lib64/erlang/releases/22/start_all_example.rel
/usr/lib64/erlang/releases/22/start_clean.boot
/usr/lib64/erlang/releases/22/start_clean.rel
/usr/lib64/erlang/releases/22/start_clean.script
/usr/lib64/erlang/releases/22/start_sasl.boot
/usr/lib64/erlang/releases/22/start_sasl.rel
/usr/lib64/erlang/releases/22/start_sasl.script
/usr/lib64/erlang/releases/RELEASES
/usr/lib64/erlang/releases/RELEASES.src
/usr/lib64/erlang/releases/start_erl.data
/usr/lib64/erlang/usr
/usr/lib64/erlang/usr/include
/usr/lib64/erlang/usr/include/driver_int.h
/usr/lib64/erlang/usr/include/ei.h
/usr/lib64/erlang/usr/include/ei_connect.h
/usr/lib64/erlang/usr/include/eicode.h
/usr/lib64/erlang/usr/include/erl_driver.h
/usr/lib64/erlang/usr/include/erl_drv_nif.h
/usr/lib64/erlang/usr/include/erl_fixed_size_int_types.h
/usr/lib64/erlang/usr/include/erl_int_sizes_config.h
/usr/lib64/erlang/usr/include/erl_interface.h
/usr/lib64/erlang/usr/include/erl_memory_trace_parser.h
/usr/lib64/erlang/usr/include/erl_nif.h
/usr/lib64/erlang/usr/include/erl_nif_api_funcs.h
/usr/lib64/erlang/usr/lib
/usr/lib64/erlang/usr/lib/libei.a
/usr/lib64/erlang/usr/lib/libei_st.a
/usr/lib64/erlang/usr/lib/liberl_interface.a
/usr/lib64/erlang/usr/lib/liberl_interface_st.a
/usr/lib64/erlang/usr/lib/liberts.a
/usr/lib64/erlang/usr/lib/liberts_r.a
/usr/share/erlang
/usr/share/erlang/lib

References

Summary

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