2016-02-12 23 views
0

https://swift.org/download/#linux

出口通道取出= /路徑/到/ usr/bin中:「$ {PATH }「

我怎麼會每次都這樣做?每一個會話都會阻止路徑,這是因爲我必須擁有管理權限嗎?

+1

你嘗試過編輯'。 bashrc'文件,幷包含以下行:'export PATH =/path/to/usr/bin:「$ {PATH}」' –

回答

1

嘗試修改.bashrc文件,包括行:

export PATH=/path/to/usr/bin:"${PATH}" 

然後用源你的.bashrc:

source ~/.bashrc 

或:

. ~/.bashrc 
+0

哇,謝謝! – luneth777

相關問題