Centos Chinese help documentation for configuration and centos Chinese help documentation
I am not confident that I can understand a word in English. What I wanted to do, because the document upset myself.
Generally, I like to configure a Chinese help document in the environment. According to the user's information, I sorted it out myself.
1. Download the Chinese package
wget http://pkgs.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpages-zh-1.5.1.tar.gz/13275fd039de8788b15151c896150bc4/manpages-zh-1.5.1.tar.gz
Ii. Decompress
tar zxvf manpages-zh-1.5.1.tar.gz
Iii. Installation
cd manpages-zh-1.5.1./configure --prefix=/usr/local/zhman --disable-zhtw makemake install
Iv. Final Configuration
1. Enter the root directory
cd ~
2. modify the configuration file
vim .bash_profile
3. Add Configuration
#. Bash_profile alias cman = 'man-M/usr/local/zhman/share/man/zh_CN '# Add a new behavior # Get the aliases and functions
4. Make the modification take effect
source .bash_profile
5. Test availability
cman vim
Under normal circumstances, it should be usable. However, it may be unavailable. I have encountered an error.
The above is configured in centos7. Centos6 is similar.