CentOS 8.x erlang man pages installation
From Notes_Wiki
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