As we all know in the HELP command man in the Chinese linux system, although the help provided by linux has many languages, there are basically no Chinese help manuals for linux of various release versions. Therefore, it would be of great significance to use the Chinese man manual, especially for beginners who are not good at english...
As we all know in the HELP command man in the Chinese linux system, although the help provided by linux has many languages, there are basically no Chinese help manuals for linux of various release versions. Therefore, it would be of great significance to use the Chinese man manual, especially for beginners who are not good at English. Creating such a Chinese man manual is actually relatively simple. The following are the Operation steps of June's normal Chinese man manual, which we will share with you. Www.2cto.com 1. first configure the Chinese Encoding. First, check the system character set encoding. the command is locale and the execution is shown as follows: 01 LANG = zh_CN.UTF-802LC_CTYPE = "zh_CN.UTF-8" 03LC_NUMERIC = "zh_CN.UTF-8" 04LC_TIME = "zh_CN.UTF-8" 05LC_COLLATE = "zh_CN.UTF-8" 06LC_MONETARY = "zh_CN.UTF-8" 07LC_MESSAGES = "zh_CN.UTF-8" 08LC_PAPER = "zh_CN.UTF-8" 09LC_NAME = ""zh_CN.UTF-8" 10LC_ADDRESS = "zh_CN.UTF-8" 11LC_TELEPHONE = "zh_CN.UTF-8" 12LC_MEASUREMENT = "zh_CN.UTF-8" 13LC_IDENTIFICATION = "zh_CN.UTF-8" 14LC_ALL = If the display is not "zh_CN.UTF-8", then we need to make the relevant settings, the setting method is temporary and permanent two ways, as follows: www.2cto.com temporary settings: # export LANG = zh_CN.UTF-8 permanent settings: # vi/etc/sysconfig/i18n modify or add LANG = zh_CN.UTF-8 line, save and exit! 2, then install man Chinese package; software package: manpages-zh-1.5.1.tar.gz: http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz1#tar Zxvf manpages-zh-1.5.1.tar.gz 2 3 # cd manpages-zh-1.5.14 5 #. /configure -- prefix =/usr/local/zhman -- disable-zhtw 6 7 # make8 9 # make install 3. Alias the command for the installed Chinese manual; 1 # cd ~ 2 # vi. bashrc1 in. add the following line to the bashrc file: 2 alias cman = 'man-M/usr/local/zhman/share/man/zh_CN '1 # source. bashrc // to make the added alias take effect 4. Finally, let's test it. OK! Now you can use the Chinese man version. here it is cman. at this time, you can find that you can use the built-in man and install the Chinese-speaking cman. 1 # cman cd 2 # cman ls
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.