The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/10/static/bug-reporting.html
Description:
on https://www.postgresql.org/download/linux/redhat/
for optional initialize it says:
/usr/pgsql-10/bin/postgresql10-setup initdb
That file does not exist.
This should be:
/usr/pgsql-10/bin/postgresql-10-setup initdb