Seven Steps to get man Chinese version

1 .. Get the source package Chinese
wget https://src.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpages-zh-1.5.1.tar.gz/13275fd039de8788b15151c896150bc4/manpages-zh-1.5.1.tar.gz


2. Extract
tar zxvf manpages-zh-1.5.1.tar.gz


3. perform configuration directory after the files are decompressed
./configure --disable-zhtw


4. Execute make and make install

make
make install

5. Create a file vim /etc/profile.d/cman.sh, to copy the contents of the file following
alias cman='man -M /usr/local/share/man/zh_CN'


6 Let configuration to take effect
source /etc/profile.d/cman.sh


7. Check with cman command to query commands, such as:
cman chmod

Guess you like

Origin blog.51cto.com/ygtq666/2442368