Setting Environment Variable PATH on Ubuntu

To set environment variable path could speed up command-line development. You could add the path permanently to your system, so even after restart the system, you could still fire up the terminal and reference to the variable.

1. In your terminal, type:

sudo gedit ~/.bashrc

2. put the variable name before the equation, the path after the equation:

export FLEX_SDK_HOME=/opt/flex_sdk_3.5

原文地址:https://www.cnblogs.com/wmlunge/p/2299288.html