How to install man pages on CentOS Linux 6/7/8

Originally published at: https://www.cyberciti.biz/faq/how-to-install-man-pages-on-a-centos-linux-6-7/

I have installed both CentOS Linux version 6.x and 7.x using LXD vm. I am unable to access man pages and getting the following error:
    $ man date
    bash: man: command not found

How to install man pages on my CentOS 6/7 VM?