How To Install erlang-edoc on CentOS 8

erlang-edoc is A utility used to generate documentation out of tags in source files

Introduction

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

What is erlang-edoc

A utility used to generate documentation out of tags in source files.

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

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

sudo dnf -y install erlang-edoc

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

sudo yum -y install erlang-edoc

How To Uninstall erlang-edoc on CentOS 8

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

sudo dnf remove erlang-edoc

erlang-edoc Package Contents on CentOS 8

/usr/lib64/erlang/lib/edoc-0.11
/usr/lib64/erlang/lib/edoc-0.11/ebin
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc.app
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc.appup
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_data.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_doclet.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_extract.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_layout.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_lib.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_macros.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_parser.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_refs.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_report.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_run.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_scanner.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_specs.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_tags.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_types.beam
/usr/lib64/erlang/lib/edoc-0.11/ebin/edoc_wiki.beam
/usr/lib64/erlang/lib/edoc-0.11/include
/usr/lib64/erlang/lib/edoc-0.11/include/edoc_doclet.hrl
/usr/lib64/erlang/lib/edoc-0.11/priv
/usr/lib64/erlang/lib/edoc-0.11/priv/edoc.dtd
/usr/lib64/erlang/lib/edoc-0.11/priv/edoc_generate
/usr/lib64/erlang/lib/edoc-0.11/priv/erlang.png
/usr/lib64/erlang/lib/edoc-0.11/priv/stylesheet.css
/usr/lib64/erlang/lib/edoc-0.11/src
/usr/lib64/erlang/lib/edoc-0.11/src/edoc.hrl
/usr/lib64/erlang/lib/edoc-0.11/src/edoc_doclet.hrl
/usr/lib64/erlang/lib/edoc-0.11/src/edoc_types.hrl

References

Summary

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