Difference between revisions of "CentOS 8.x erlang man pages installation"
From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Erlang man pages installation">CentOS 8.x Package management|Package management</yambe:breadcrumb> =CentOS 8.x erlang man pages installation= There is...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x Package management|Package management]] > [[CentOS 8.x erlang man pages installation|Erlang man pages installation]] | |||
[[Main_Page|Home]] > [[Erlang]] > [[Erlang installation]] > [[CentOS 8.x erlang man pages installation]] | |||
There is no erlang-doc package to help with automatic installation of man pages along with erlang. Thus, we need to install man pages manually using: | There is no erlang-doc package to help with automatic installation of man pages along with erlang. Thus, we need to install man pages manually using: | ||
Line 36: | Line 37: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x System Administration|System Administration]] > [[CentOS 8.x Package management|Package management]] > [[CentOS 8.x erlang man pages installation|Erlang man pages installation]] | |||
[[Main_Page|Home]] > [[Erlang]] > [[Erlang installation]] > [[CentOS 8.x erlang man pages installation]] |
Latest revision as of 03:44, 19 April 2022
Home > CentOS > CentOS 8.x > System Administration > Package management > Erlang man pages installation
Home > Erlang > Erlang installation > CentOS 8.x erlang man pages installation
There is no erlang-doc package to help with automatic installation of man pages along with erlang. Thus, we need to install man pages manually using:
- Check version of erlang installed using:
- rpm -qa | grep erlang
- Download erlang man pages tar gz of installed erlang version from https://www.erlang.org/downloads
- tar xzf otp_doc_man*.tar.gz
- mv man /usr/lib64/erlang
- We should see man1, man3 etc. folders
- ls /usr/lib64/erlang/man
- Try below command
- erl -man lists
- If above does not works edit '/etc/man_db.conf' and insert following after other MANDATORY_MANPATH:
- MANDATORY_MANPATH /usr/lib64/erlang/man
- After this we can open erlang man pages directly with man using:
- man lists
- man erlang
-
- Note that 'erl -man <module>' does not works. We can use either direct man command or man with directory name such as 'man -M /usr/lib64/erlang/man lists'.
Refer:
Home > CentOS > CentOS 8.x > System Administration > Package management > Erlang man pages installation
Home > Erlang > Erlang installation > CentOS 8.x erlang man pages installation