Unable to run man pages on Centos 6

I just installed CentOS 6 with minimal install. When i tried to read the linux manual pages using man command, it returned following error message. How to install man command ?

[root@LMK-LIN-03 ~]# man
bash: man: command not found

What wrong with Centos? Normally Centos come with man page, how come latest Centos 6 without man page? It is because man command is not installed on Centos 6 minimal install. To verify that, just execute rpm command to check it.

[root@LMK-LIN-03 ~]# rpm -q man
package man is not installed

The Linux command “man” is used to display the manual page for other command and also will help you to explain the functions for the commands that commonly used. The term “man” is short for manual. To install “man”, simply run this command :

[root@LMK-LIN-03 ~]# yum install man -y

After installed, you should be able to access man command. 

 

from: http://www.techkaki.com/2012/09/unable-to-run-man-pages-on-centos6/

你可能感兴趣的:(centos)