zoukankan      html  css  js  c++  java
  • ubuntu环境变量的三种设置方法

    1.1 临时设置

    export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH

    1.2 当前用户的全局设置

    打开~/.bashrc,添加行:

    export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH

    使生效:

    source .bashrc

    1.3 所有用户的全局设置

    $ vim /etc/profile

    在里面加入

    export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH

    使生效

    source profile
  • 相关阅读:
    swift
    swift
    swift
    swift
    swift
    swift
    swift
    选择排序
    组合 和 继承
    Android中使用LitePal操控SQLite数据库
  • 原文地址:https://www.cnblogs.com/moonbaby/p/13607245.html
Copyright © 2011-2022 走看看