zoukankan      html  css  js  c++  java
  • CentOS7 中文man(cman)配置方法

    1. 下载中文man包

     http://pkgs.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpages-zh-1.5.1.tar.gz/13275fd039de8788b15151c896150bc4/,并下载下来。

    2. 解压编译安装

    tar zxvf manpages-zh-1.5.1.tar.gz          
    cd manpages-zh-1.5.1
    ./configure --prefix=/usr/local/zhman --disable-zhtw          
    make
    make install

    3. 为了不抵消man,我们新建cman命令作为中文查询

    cd ~
    vi .bash_profile
    在.bash_profile中增加:
    alias cman=‘man -M /usr/local/zhman/share/man/zh_CN‘       
    source .bash_profile                       //更新bash_profile 使其生效

    4. 现在可以使用拉!!

  • 相关阅读:
    AddParent
    AddChild
    贝塞尔曲线代码
    顶点纹理shader
    抽象方法与抽象类
    Application类
    布局组件
    C#单例和Unity单例
    Unity&UGUI
    Json解析
  • 原文地址:https://www.cnblogs.com/phpk/p/10514849.html
Copyright © 2011-2022 走看看