Install the Chinese man manual in Linux

Source: Internet
Author: User

To learn Linux, you can't do without learning those commands. To learn commands, read the man page manual.

However, the man page of the original version is in English, which is not a small problem for beginners who are still very good at English like me.

Cmpp.linuxforum.net started the CMPP (Chinese man pages program) ten years ago, but now the CMPP project may have died. http://gitorious.org/projects/manpages-zhcaught the project.

 

 

Installation:

1. Download the Chinese man package

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

2. Extract

Tar zxvf manpages-zh-1.5.1.tar.gz

3. Installation (administrator privilege required)

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

Make

Make install

4. Edit the configuration file

VI/usr/bin/zhman

 

#! /Bin/bash

# Name = zhman

Export lang = zh_cn

Man-M/usr/local/zhman/share/man/zh_cn $1

 

Save.

5. Change zhman File Permissions

Chmod 777/usr/bin/zhman

 

 

 

Enter

Zhman command name

Enter

Man command name

 

If Chinese characters are garbled, change the Chinese Encoding

Set

 

Export lang = zh_CN.utf-8

Export lc_all = zh_CN.utf-8

 

Add to/etc/profile

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.