.sh 文件安装遇到问题

其它类软件,非上述版软件
回复
xiaoxucumt
帖子: 4
注册时间: 2009-05-04 10:46

.sh 文件安装遇到问题

#1

帖子 xiaoxucumt » 2011-07-06 20:48

今天想要安装一个地震资料解释的软件,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文件时是否遇到相类似的问题?
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: .sh 文件安装遇到问题

#2

帖子 nmsfan » 2011-07-06 21:15

sudo试试??
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: .sh 文件安装遇到问题

#3

帖子 tenzu » 2011-07-06 21:23

ls -l 看一下文件属性,所有人改成当前用户
或者切换到root再用那个命令安装
xiaoxucumt
帖子: 4
注册时间: 2009-05-04 10:46

Re: .sh 文件安装遇到问题

#4

帖子 xiaoxucumt » 2011-07-07 11:46

nmsfan 写了:sudo试试??
运行命令“sudo sh lux32-gpl-opendtect-4.2.0.sh“后,“install-gpl.od”文件上面的锁没拉,但是上一层的文件目录“opendtect”却上了锁啦,
还是报错为:
eval: 1: ./install-gpl.od: not found
xiaoxucumt
帖子: 4
注册时间: 2009-05-04 10:46

Re: .sh 文件安装遇到问题

#5

帖子 xiaoxucumt » 2011-07-07 11:52

tenzu 写了:ls -l 看一下文件属性,所有人改成当前用户
或者切换到root再用那个命令安装
xiaoxu@xiaoxu-laptop:~/opendtect$ ls -l
总计 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

大侠 这怎么办啊?
回复