Install the Chinese man package in centos

Source: Internet
Author: User

Install the Chinese man package in centos

Download the installation package now:

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

The procedure is as follows:

# 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

The installation is complete. perform the following operations:

# Cd ~

# Vi. bashrc

Add the following in. bashrc:
Alias cman = 'man-M/usr/local/zhman/share/man/zh_CN'

# Source. bashrc // execute in the command line to make the added alias take effect

OK! Now you can use the Chinese version of man. Here it is cman. Now you can find that you can use the built-in man and install the Chinese version of cman...

For example:

Cman cd

Cman ls

CentOS7 Chinese man (cman) configuration method

Cd ~
Vi. bash_profile
Add the following in. bash_profile:
Alias cman = 'man-M/usr/local/zhman/share/man/zh_CN'
Source. bash_profile // update bash_profile to make it take effect

4. Now you can use pull !!

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.