1.打开终端并输入:
sudo gedit /etc/environment
输入密码
2.如图,在PATH="...."的末尾处添加:
:/usr/local/games
使其立即生效,在终端执行:
source /etc/environment
1.打开终端并输入:
sudo gedit /etc/environment
输入密码
2.如图,在PATH="...."的末尾处添加:
:/usr/local/games
使其立即生效,在终端执行:
source /etc/environment