美文网首页
CentOS7 安装 man 中文包

CentOS7 安装 man 中文包

作者: CC晨_程序小生 | 来源:发表于2018-04-25 14:17 被阅读0次

man中文包的安装

1. 搜索man中文包

命令yum list|grep man.*zh

2. 安装中文包

命令sudo yum install man-pages-zh-CN.noarch

man中文包的使用

方法一:修改语系(locale,不推荐)

方法二:起别名(推荐使用)

  1. 查找man手册安装位置
    命令sudo find / -name man
  2. 添加别名 cman
    /root/.bashrc中添加别名cman
    文件添加字符为:alias cman='man -M /usr/share/man/zh_CN'
  3. 编译.bashrc文件,使别名 cman 生效
    命令source /root/.bashrc

相关文章

  • CentOS7 安装 man 中文包

    man中文包的安装 1. 搜索man中文包 命令yum list|grep man.*zh 2. 安装中文包 命令...

  • man 中文文档

    centos7 安装man man 默认是英文,可以改成中文转自:https://blog.csdn.net/pa...

  • vs code 中文界面配置

    安装中文包 在扩展里搜索中文包 Chinese 并安装中文简体包 设置为中文语言环境 使用快捷键【Ctrl+Shi...

  • Docker下CentOS7无法使用man命令

    背景 在docker下使用centos7容器来学习linux的时候,遇到了采用yum安装好的man-pages无法...

  • 部署 VPS

    部署顺序,自己用的 安装mysql 安装man命令 yum install man man-pages 安装jdk...

  • Linux 安装 mysql

    systemctl[https://man.linuxde.net/systemctl] Centos7,redh...

  • nodejs10安装

    CentOS7在线安装 CentOS7离线安装 下载RPM包,安装即可 Ubuntu在线安装 Ubuntu离线安装...

  • 程序日记2018-05-03

    centos7 安装nginx和php7 centos7 安装nginx和php7 centos7系统安装php7...

  • yum安装nginx,mysql,php

    centos7 一、安装nginx 安装mysql(centos7) 安装php centos8 安装php74 ...

  • FastRunner定时任务Celery+RabbitMQ

    1.安装Celery 2.安装RabbitMQ Centos7版安装(CentOS7)Error: unable ...

网友评论

      本文标题:CentOS7 安装 man 中文包

      本文链接:https://www.haomeiwen.com/subject/pkxylftx.html