CentOS 7 Installation man Chinese version manual

Source: Internet
Author: User

Man is a useful tool in learning the Linux commands, but it is difficult for many people with limited English proficiency to learn more about the steps to install the Chinese version. Of course, the English proficiency is a need for self-review, in the hope of learning to use the Chinese and English control to see. Achieve the results of Linux and English progress together. This article takes the most commonly used CentOS as an example. Explains how to install the Chinese version of Man.


  1. Find man Chinese installation package


    $ yum List |grep Man.*zh

    Man-pages-zh-cn.noarch 1.5.2-4.el7 @base

    From this you can find the above installation package, and if you cannot find it, perform the yum-y update installation package.


  2. Execute the Install command


    sudo yum install Man-pages-zh-cn.noarch


  3. Edit the configuration file to make the Chinese package effective


    #vi. BASHRC

    Added in. BASHRC:
    Alias cman= ' Man-m/usr//share/man/zh_cn '

    #source. BASHRC//executes at the command line, in order for the alias you just added to take effect

    ok! can now use the Chinese version of Man, here is Cman, when you find that you can use your own man, as well as the installation of Chinese Cman.

    Explanation: The man-m path defines a set of directories to find the Man manual page. If this parameter is not specified, the SYSTEM environment variable Manpath will be used. If this environment variable is not found, the lookup specified in the default/etc/man.config file is pressed. An empty MANPATH substring indicates the use of the default manifest.

This article is from the "Heart to Sunshine" blog, please be sure to keep this source http://9762617.blog.51cto.com/9752617/1678917

CentOS 7 Installation man Chinese version manual

Related Article

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.