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 !!