查看完整版本 : 將program安裝到PATH是甚麼意思?

queenly 2012-12-25 05:56 PM

將program安裝到PATH是甚麼意思?

[url=http://tophat.cbcb.umd.edu/tutorial.html]http://tophat.cbcb.umd.edu/tutorial.html[/url]

本人想安裝一個叫bowtie的軟件, 以上這個網頁叫我'have the following bowtie program in your path'

本人是Linux的新手一名, 不太明白它的意思, 現在我已將那個program download到我VMware的UBUNTU desttop上,
下一個應該如何做?

[[i] 本帖最後由 queenly 於 2012-12-25 06:12 PM 編輯 [/i]]

a.out 2012-12-26 09:28 PM

It means add the directory you install the program to the PATH environment variable.

When you execute a command on unix, the shell searches through each of these directories in the PATH environment variable until it finds the executable.

Specifically how to change the environment variable depends on the shell.
For bash, you add to $HOME/.bashrc
PATH=$PATH:/the/directory/you/install/the/program
export PATH
頁: [1]
查看完整版本: 將program安裝到PATH是甚麼意思?