Linux命令man文档改为中文

 

 

yum -y install wget
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 tar -xvf manpages-zh-1.5.1.tar.gz cd manpages-zh-1.5.1 ./configure --disable-zhtw make && make install echo "alias cman='man -M /usr/local/share/man/zh_CN'" > /etc/profile.d/cman.sh source /etc/profile.d/cman.sh yum -y install kde-l10n-Chinese LANG="zh_CN.UTF-8" echo "" >> /etc/locale.conf echo "LANG=zh_CN.UTF8" >> /etc/locale.conf man ls

 

posted @ 2021-12-05 01:01  小庄的blog  阅读(247)  评论(0编辑  收藏  举报