求助如何设置环境变量?
发表于 : 2008-01-15 14:01
下面为说明书上环境变量设置说明,但看不懂:
Setting Environment Variables
The path to the MouseAtlas software needs to be set for the PATH variable.
For example, if the path is the default /opt/MouseAtlas/bin:-
For sh, ksh, bash shell add these lines to your .profile file
PATH=($PATH:/opt/MouseAtlas/bin)
export $PATH
For csh add this line to your .cshrc file.
set path = ($path /opt/MouseAtlas/bin)
For tcsh add the same line to your .tcshrc file.
set path = ($path /opt/MouseAtlas/bin)
Remember to restart any terminal sessions to pick up the new path.
Testing The Installation
If the above steps have been carried out successfully, you will now be able to start the software from the command line.
The "MAPaint" program should start like the example screen shot below.
请问说明书上的环境变量如何设的。我已经运行到这步了,前面的解压我会了,没写上去了。下面是终端显示:
fs@fs-laptop:~$ cd /home/fs/Linux
fs@fs-laptop:~/Linux$ sudo ./setupMA.ksh
Press return to install in default directory /opt/MouseAtlas
Or enter an installation directory [/opt/MouseAtlas]: 这步我是按回车键的,没错吧
Installing in /opt/MouseAtlas
/opt/MouseAtlas already exists
/opt/MouseAtlas already contains these files:
bin
Do you want to overwrite these? [y/n](n) y
Copying files
Finished MouseAtlas Installation
****IMPORTANT****
To automatically use the software you will need to set your PATH variable
For sh, ksh, bash shell add these lines to .profile
PATH=($PATH:/opt/MouseAtlas/bin)
export $PATH
For csh, tcsh add this line to .cshrc or .tcshrc
set path = ($path /opt/MouseAtlas/bin)
fs@fs-laptop:~/Linux$ 下面该怎么输入?请写一下详细步骤。
Setting Environment Variables
The path to the MouseAtlas software needs to be set for the PATH variable.
For example, if the path is the default /opt/MouseAtlas/bin:-
For sh, ksh, bash shell add these lines to your .profile file
PATH=($PATH:/opt/MouseAtlas/bin)
export $PATH
For csh add this line to your .cshrc file.
set path = ($path /opt/MouseAtlas/bin)
For tcsh add the same line to your .tcshrc file.
set path = ($path /opt/MouseAtlas/bin)
Remember to restart any terminal sessions to pick up the new path.
Testing The Installation
If the above steps have been carried out successfully, you will now be able to start the software from the command line.
The "MAPaint" program should start like the example screen shot below.
请问说明书上的环境变量如何设的。我已经运行到这步了,前面的解压我会了,没写上去了。下面是终端显示:
fs@fs-laptop:~$ cd /home/fs/Linux
fs@fs-laptop:~/Linux$ sudo ./setupMA.ksh
Press return to install in default directory /opt/MouseAtlas
Or enter an installation directory [/opt/MouseAtlas]: 这步我是按回车键的,没错吧
Installing in /opt/MouseAtlas
/opt/MouseAtlas already exists
/opt/MouseAtlas already contains these files:
bin
Do you want to overwrite these? [y/n](n) y
Copying files
Finished MouseAtlas Installation
****IMPORTANT****
To automatically use the software you will need to set your PATH variable
For sh, ksh, bash shell add these lines to .profile
PATH=($PATH:/opt/MouseAtlas/bin)
export $PATH
For csh, tcsh add this line to .cshrc or .tcshrc
set path = ($path /opt/MouseAtlas/bin)
fs@fs-laptop:~/Linux$ 下面该怎么输入?请写一下详细步骤。