ubuntu man汉化

环境:ubuntu 18

汉化github地址:https://github.com/man-pages-zh/manpages-zh

 

1 执行指令

   sudo apt update

   sudo apt install manpages-zh

 后使用man发现没有效果,讲道理这样执行后应该使用man就会显示中文,但我这边并没有效果,于是

 2 新建cman命令作为中文查询

[root@localhost ~]# cd ~
[root@localhost ~]# echo "alias cman='man -M /usr/share/man/zh_CN' " >>.bash_profile
[root@localhost ~]# source .bash_profile

3  使用新建的中文cman查询命令

[root@localhost ~]# cman socket

 

posted on 2020-12-29 19:41  心在哈尔滨  阅读(154)  评论(0编辑  收藏  举报

导航