更换 man文档为中文

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38570571/article/details/82701893

其实man文档的中文版 yum源里就有,我们可以执行命令: yum list | grep zh

[root@localhost yum.repos.d]# yum list | grep zh
man-pages-zh-CN.noarch                    1.5.2-4.el7              @base        
autocorr-zh.noarch                        1:5.3.6.1-10.el7         base         
ghostscript-chinese-zh_CN.noarch          0.4.0-4.el7              base         
ghostscript-chinese-zh_TW.noarch          0.4.0-4.el7              base         
gimp-help-zh_CN.noarch                    2.8.2-1.el7              base         
libreoffice-help-zh-Hans.x86_64           1:5.3.6.1-10.el7         base         
libreoffice-help-zh-Hant.x86_64           1:5.3.6.1-10.el7         base         
libreoffice-langpack-zh-Hans.x86_64       1:5.3.6.1-10.el7         base         
libreoffice-langpack-zh-Hant.x86_64       1:5.3.6.1-10.el7         base    

man-pages-zh-CN.noarch 就是我们想要的,执行命令 yum -y install man-pages-zh-CN.noarch 

完成!!!

猜你喜欢

转载自blog.csdn.net/qq_38570571/article/details/82701893