How To Install erlang-compiler on CentOS 8
Introduction
In this tutorial we learn how to install erlang-compiler
on CentOS 8.
What is erlang-compiler
A byte code compiler for Erlang which produces highly compact code.
We can use yum
or dnf
to install erlang-compiler
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-compiler.
Install erlang-compiler 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-compiler
using dnf
by running the following command:
sudo dnf -y install erlang-compiler
Install erlang-compiler 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-compiler
using yum
by running the following command:
sudo yum -y install erlang-compiler
How To Uninstall erlang-compiler on CentOS 8
To uninstall only the erlang-compiler
package we can use the following command:
sudo dnf remove erlang-compiler
erlang-compiler Package Contents on CentOS 8
/usr/lib64/erlang/lib/compiler-7.4.4
/usr/lib64/erlang/lib/compiler-7.4.4/ebin
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_a.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_asm.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_block.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_clean.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_dict.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_disasm.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_except.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_flatten.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_jump.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_kernel_to_ssa.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_listing.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_opcodes.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_peep.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_bsm.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_codegen.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_dead.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_funs.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_lint.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_opt.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_pp.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_pre_codegen.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_recv.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_share.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_ssa_type.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_trim.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_utils.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_validator.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/beam_z.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/cerl.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/cerl_clauses.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/cerl_inline.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/cerl_sets.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/cerl_trees.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/compile.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/compiler.app
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/compiler.appup
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/core_lib.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/core_lint.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/core_parse.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/core_pp.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/core_scan.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/erl_bifs.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/rec_env.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_core_alias.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_core_bsm.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_core_fold.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_core_fold_lists.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_core_inline.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/sys_pre_attributes.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/v3_core.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/v3_kernel.beam
/usr/lib64/erlang/lib/compiler-7.4.4/ebin/v3_kernel_pp.beam
/usr/lib64/erlang/lib/compiler-7.4.4/src
/usr/lib64/erlang/lib/compiler-7.4.4/src/beam_disasm.hrl
/usr/lib64/erlang/lib/compiler-7.4.4/src/beam_opcodes.hrl
/usr/lib64/erlang/lib/compiler-7.4.4/src/beam_ssa.hrl
/usr/lib64/erlang/lib/compiler-7.4.4/src/beam_ssa_opt.hrl
/usr/lib64/erlang/lib/compiler-7.4.4/src/core_parse.hrl
/usr/lib64/erlang/lib/compiler-7.4.4/src/v3_kernel.hrl
References
Summary
In this tutorial we learn how to install erlang-compiler
on CentOS 8 using yum and dnf.