sudo
in front of man
command. After troubleshooting the problem for a while, I found a solution:Add execute permission for the following folder and its contents
sudo chmod o+x -R /usr/share/man/Others also suggest that the $MANPATH is incorrect. However, this is not the case for me.