How To Install erlang-tools on CentOS 8
Introduction
In this tutorial we learn how to install erlang-tools
on CentOS 8.
What is erlang-tools
A set of programming tools including a coverage analyzer etc.
We can use yum
or dnf
to install erlang-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-tools.
Install erlang-tools 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-tools
using dnf
by running the following command:
sudo dnf -y install erlang-tools
Install erlang-tools 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-tools
using yum
by running the following command:
sudo yum -y install erlang-tools
How To Uninstall erlang-tools on CentOS 8
To uninstall only the erlang-tools
package we can use the following command:
sudo dnf remove erlang-tools
erlang-tools Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/ed54737919fb83974b985903f1661f81bd52bf
/usr/lib64/erlang/lib/tools-3.2
/usr/lib64/erlang/lib/tools-3.2/bin
/usr/lib64/erlang/lib/tools-3.2/bin/emem
/usr/lib64/erlang/lib/tools-3.2/ebin
/usr/lib64/erlang/lib/tools-3.2/ebin/cover.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/cprof.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/eprof.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/fprof.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/instrument.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/lcnt.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/make.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/tags.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/tools.app
/usr/lib64/erlang/lib/tools-3.2/ebin/tools.appup
/usr/lib64/erlang/lib/tools-3.2/ebin/xref.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_base.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_compiler.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_parser.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_reader.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_scanner.beam
/usr/lib64/erlang/lib/tools-3.2/ebin/xref_utils.beam
/usr/lib64/erlang/lib/tools-3.2/emacs
/usr/lib64/erlang/lib/tools-3.2/emacs/README
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-edoc.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-eunit.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-flymake.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-skels-old.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-skels.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-start.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang-test.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erlang_appwiz.el
/usr/lib64/erlang/lib/tools-3.2/emacs/erldoc.el
/usr/lib64/erlang/lib/tools-3.2/priv
/usr/lib64/erlang/lib/tools-3.2/priv/styles.css
/usr/lib64/erlang/lib/tools-3.2/src
/usr/lib64/erlang/lib/tools-3.2/src/xref.hrl
/usr/share/emacs/site-lisp/erlang
/usr/share/emacs/site-lisp/erlang/README
/usr/share/emacs/site-lisp/erlang/erlang-edoc.el
/usr/share/emacs/site-lisp/erlang/erlang-edoc.elc
/usr/share/emacs/site-lisp/erlang/erlang-eunit.el
/usr/share/emacs/site-lisp/erlang/erlang-eunit.elc
/usr/share/emacs/site-lisp/erlang/erlang-flymake.el
/usr/share/emacs/site-lisp/erlang/erlang-flymake.elc
/usr/share/emacs/site-lisp/erlang/erlang-pkg.el
/usr/share/emacs/site-lisp/erlang/erlang-skels-old.el
/usr/share/emacs/site-lisp/erlang/erlang-skels-old.elc
/usr/share/emacs/site-lisp/erlang/erlang-skels.el
/usr/share/emacs/site-lisp/erlang/erlang-skels.elc
/usr/share/emacs/site-lisp/erlang/erlang-start.el
/usr/share/emacs/site-lisp/erlang/erlang-start.elc
/usr/share/emacs/site-lisp/erlang/erlang-test.el
/usr/share/emacs/site-lisp/erlang/erlang-test.elc
/usr/share/emacs/site-lisp/erlang/erlang.el
/usr/share/emacs/site-lisp/erlang/erlang.elc
/usr/share/emacs/site-lisp/erlang/erlang_appwiz.el
/usr/share/emacs/site-lisp/erlang/erlang_appwiz.elc
/usr/share/emacs/site-lisp/erlang/erldoc.el
/usr/share/emacs/site-lisp/erlang/erldoc.elc
/usr/share/emacs/site-lisp/site-start.d/erlang-init.el
References
Summary
In this tutorial we learn how to install erlang-tools
on CentOS 8 using yum and dnf.