码迷,mamicode.com
首页 > 系统相关 > 详细

【Linux学习之旅】之Ubuntu/Linux打造中文版man帮助手册

时间:2014-08-04 17:05:17      阅读:271      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   使用   io   for   2014   

一.如何安装中文的man包

本项目的主页为: http://code.google.com/p/manpages-zh/

本项目(manpages-zh)为 i18n-zh 项目[1]的子项,从 CMPP (中文 Man Pages 计
划) 分支而来。

[1] http://code.google.com/p/i18n-zh

CMPP 项目现在可能已经死亡,原主页(cmpp.linuxforum.net)已不能访问。

本项目的目的是维护 CMPP 遗留下的成果,并对其错误/漏洞进行修改。

本项目使用 git 进行管理, git 主页位于
http://github.com/lidaobing/manpages-zh/tree/master

本项目将继续延用 CMPP 的 GFDL 1.2 的授权方式。为与 DFSG 兼容,将不包含不
可变章节(Invariant Sections)。

本项目欢迎大家提交补丁。

中文man对英文不是很好的朋友来说,可以起到一点帮助作用。不过要学好linux,可不能太依赖这个东西,毕竟学好英语才是王道。

环境:Ubuntu14.04,内核:3.13.0-32-generic 

源码地址:https://github.com/lidaobing/manpages-zh

现在下载安装包:

git clone https://github.com/lidaobing/manpages-zh.git

bubuko.com,布布扣

操作步骤如下:

1 $sudo mkdir /usr/local/zhman
2 $cd manpages-zh
3 $sh autogen.sh
4 $sudo ./configure --prefix=/usr/local/zhman --disable-zhtw             
5 $sudo make
6 $sudo make install

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

1 $cd ~
2 $vi .bashrc

在.bashrc中增加:

alias cman=‘man -M /usr/local/zhman/share/man/zh_CN‘

执行命令:

1 $source .bashrc

现在就可以使用中文版的man了,在这里是cman,此时,你发现你可以用自带的man,还有安装有中文的cman了,是不是很爽呀。

如:

cman ls

 

本文链接: http://www.cnblogs.com/xmont/p/3845044.html

参考:http://blog.chinaunix.net/uid-25100840-id-302308.html

【Linux学习之旅】之Ubuntu/Linux打造中文版man帮助手册,布布扣,bubuko.com

【Linux学习之旅】之Ubuntu/Linux打造中文版man帮助手册

标签:style   blog   http   color   使用   io   for   2014   

原文地址:http://www.cnblogs.com/xmont/p/3845044.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!