今天想要安装一个地震资料解释的软件,opendtect,下载后文件名为lux32-gpl-opendtect-4.2.0.sh。
安装说明中,要求“install with 'sh lux32-gpl-opendtect-4.2.0.sh'and follow the instructions.”
将终端运行至文件目录后,执行上述命令---sh lux32-gpl-opendtect-4.2.0.sh,但是出现了下列错误:
Verifying archive integrity... All good.
Uncompressing ...
eval: 1: ./install-gpl.od: not found
然后查看原来.sh文件所在的文件夹,多出了两个文件“install-gpl.od”以及“lux32.gpl.opendtect-4.2.0.tar.gz”。
但是文件“install-gpl.od”上面自动“加锁了”(文件是只读的)【是不是“eval: 1: ./install-gpl.od: not found”和此有关】。
请问各位大侠在安装sh文件时是否遇到相类似的问题?
.sh 文件安装遇到问题
-
- 帖子: 4
- 注册时间: 2009-05-04 10:46
- nmsfan
- 帖子: 18958
- 注册时间: 2009-10-16 22:46
- 来自: finland
Re: .sh 文件安装遇到问题
sudo试试??
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
- tenzu
- 论坛版主
- 帖子: 36924
- 注册时间: 2008-11-21 20:26
-
- 帖子: 4
- 注册时间: 2009-05-04 10:46
Re: .sh 文件安装遇到问题
运行命令“sudo sh lux32-gpl-opendtect-4.2.0.sh“后,“install-gpl.od”文件上面的锁没拉,但是上一层的文件目录“opendtect”却上了锁啦,nmsfan 写了:sudo试试??
还是报错为:
eval: 1: ./install-gpl.od: not found
-
- 帖子: 4
- 注册时间: 2009-05-04 10:46
Re: .sh 文件安装遇到问题
xiaoxu@xiaoxu-laptop:~/opendtect$ ls -ltenzu 写了:ls -l 看一下文件属性,所有人改成当前用户
或者切换到root再用那个命令安装
总计 69372
-rwxrwxrwx 1 xiaoxu xiaoxu 71034051 2011-07-05 03:44 lux32-gpl-opendtect-4.2.0.sh
xiaoxu@xiaoxu-laptop:~/opendtect$ sudo -i
root@xiaoxu-laptop:~# sudo sh lux32-gpl-opendtect-4.2.0.sh
sh: Can't open lux32-gpl-opendtect-4.2.0.sh
root@xiaoxu-laptop:~# sh lux32-gpl-opendtect-4.2.0.sh
sh: Can't open lux32-gpl-opendtect-4.2.0.sh
大侠 这怎么办啊?