看英文实在是有点晕,在网上找了一个关于man中文手册的,现在整理到下面。
下载文件 ----------------用Windows下载 然后用rz传到Linux上也行
1
|
wget http:
//pkgs
.fedoraproject.org
/repo/pkgs/man-pages-zh-CN/manpages-zh-1
.5.2.
tar
.bz2
/cab232c7bb49b214c2f7ee44f7f35900/manpages-zh-1
.5.2.
tar
.bz2
|
解压缩
tar xvf manpages-zh-1.5.2.tar.bz2
cd manpages-zh-1.5.2
编译
./configure --disable-zhtw
安装
make
make install
定义一个新的hman 到系统变量
echo "alias hman='man -M /usr/local/share/man/zh_CN'" >> /etc/profile
系统变量生效
source /etc/profile
hman cp
直接复制下面的命令就可以了。。亲测可用。。。
1
2
3
4
5
6
7
8
|
wget http:
//pkgs
.fedoraproject.org
/repo/pkgs/man-pages-zh-CN/manpages-zh-1
.5.2.
tar
.bz2
/cab232c7bb49b214c2f7ee44f7f35900/manpages-zh-1
.5.2.
tar
.bz2 2&>
/dev/null
tar
xvf manpages-zh-1.5.2.
tar
.bz2
cd
manpages-zh-1.5.2
.
/configure
--disable-zhtw
make
make
install
echo
"alias hman='man -M /usr/local/share/man/zh_CN'"
>>
/etc/profile
source
/etc/profile
|
本文转自 295631788 51CTO博客,原文链接:http://blog.51cto.com/hequan/1761212,如需转载请自行联系原作者