redhat安装中文man手册

1、下载中文man手册

http://download.chinaunix.net/download.php?id=13232&ResourceID=6537

2、上传至服务器并解压

tar -xvf man-pages-zh_CN-1.5.tar

3、编译

因为我下载的是utf8编码方式的手册,所以我的服务器编码方式也设置为utf8,执行如下命令进行编译

make u8 && make install-u8

4、设置manpath

vi /etc/man.config
%s+/usr/share/man+/root/still/linux/man-pages-zh_CN-1.5/UTF-8

5、测试

man ifconfig
原文地址:https://www.cnblogs.com/puroc/p/3861496.html