Centos7.2 using Chinese man

Source: Internet
Author: User


First modify the System configuration file/etc/locale.conf (the lower version corresponds to the file /etc/sysconfig/i18n) with the content lang= "ZH_CN. UTF-8 "Save exit and restart Linux.


Click to download Chinese man source package (link if invalid can download attachment file)


Upload the extracted manpages-zh-1.5.2.tar.bz2 to the server.


Extract:

GZ Unpacking command: TAR-ZXVF

bz2 unpacking command: TAR-JXVF

[Email protected]_13_60_centos tmp]# TAR-JXVF manpages-zh-1.5.2.tar.bz2 manpages-zh-1.5.2/manpages-zh-1.5.2/ missingmanpages-zh-1.5.2/copyingmanpages-zh-1.5.2/makefile.inmanpages-zh-1.5.2/changelogmanpages-zh-1.5.2/src/ Manpages-zh-1.5.2/src/mann/...


Through $? View command execution results,0 Success

#echo $? (0 success)

[Email Protected]_13_60_centos tmp]# Echo $?0


Enter the manpages-zh-1.5.2 directory and execute the ./configure--prefix=/usr/local/zhman--disable-zhtw

[Email protected]_13_60_centos tmp]# cd/tmp/manpages-zh-1.5.2/[[email Protected]_13_60_centos manpages-zh-1.5.2]# LSACLOCAL.M4 AUTHORS ChangeLog Configure configure.in COPYING DOCS INSTALL install-sh makefile.am makefile.in m Issing NEWS README src utils[[email protected]_13_60_centos manpages-zh-1.5.2]#./configure--prefix=/usr/local/zhman --disable-zhtw


#make && do install ( please yum or apt without the Do tool installed)


home directory creation  .bash_profile file (paste alias cman= ' MAN-M  /USR/LOCAL/ZHMAN/SHARE/MAN/ZH_CN ' Save)

#source. bash_profile (to make the alias you just added take effect)


Test Chinese man:

# Cman Ln

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8C/9C/wKiom1hx47Xxc2UoAAGUhjdpUb0678.jpg "title=" Cman.jpg "alt=" Wkiom1hx47xxc2uoaaguhjdpub0678.jpg "/>




This article is from the "How Big Heart" blog, please be sure to keep this source http://qq512430.blog.51cto.com/5955081/1890155

Centos7.2 using Chinese man

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.