I'm running Centos7 on a google cloud VM. I've installed man but can get man pages only for section 1 of the manual. Even as root, I can only get man pages for section 1. For example with the section 2 nanosleep system call I get
[root@rg32-8 c_tests]# man 2 nanosleep No manual entry for nanosleep in section 2
I also have a bare metal machine running Centos7, where I can get man pages for all sections.
What do I need to do on the google cloud machine to get man pages for all sections?