CentOS中文man安装配置

CentOS 5.5采用文本最小安装,安装完之后运行man ls 出现-bash: man: command not found

wget http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz

操作步骤如下:

首先要:yum install man

tar zxvf manpages-zh-1.5.1.tar.gz          

cd manpages-zh-1.5.1

./configure --prefix=/usr/local/zhman --disable-zhtw          

make

make install

以上安装完成.请做如下操作:

cd ~

vi .bash_profile

在.bash_profile中增加:
alias cman='man -M /usr/local/zhman/share/man/zh_CN'       

source .bash_profile                       //为了让刚刚添加的alias生效

OK!现在就可以使用中文版的man了.在这里命令叫cman

如:

cman cd

cman ls

posted @ 2013-06-14 15:14  bigwhiteshark(云飞扬)  阅读(2844)  评论(0编辑  收藏  举报