Problem to Install Spec2006 from the Directory

Asked by Shany on 2012-11-08

Hi community
I am going to Install SPEC2006 on ubuntu 12.4. For SPEC2006 the procedure of instalation is given from DVD but I have already on harddisk. it gives the below error I put different sniped of my command line which I use.
1
talpur@talpur-OptiPlex-380:~$ cd SPEC2006/
talpur@talpur-OptiPlex-380:~/SPEC2006$ ./install.sh
bash: ./install.sh: Permission denied
2
talpur@talpur-OptiPlex-380:~/SPEC2006$ sudo ./install.sh
[sudo] password for talpur:
sudo: ./install.sh: command not found
3
talpur@talpur-OptiPlex-380:~/SPEC2006$ sudo install install.sh
install: missing destination file operand after `install.sh'
4
talpur@talpur-OptiPlex-380:~$ mkdir cpu2006
talpur@talpur-OptiPlex-380:~$ cd SPEC2006/
talpur@talpur-OptiPlex-380:~/SPEC2006$ sudo ./install.sh -d /home/talpur/cpu2006/
sudo: ./install.sh: command not found
5
talpur@talpur-OptiPlex-380:~/SPEC2006$ ./install.sh -d /home/talpur/cpu2006/
bash: ./install.sh: Permission denied
6
talpur@talpur-OptiPlex-380:~/SPEC2006$ sudo install install.sh -d /home/talpur/cpu2006/
install: cannot create directory `install.sh': File exists

So I use different ways but yet couldn't intsall SPEC2206
Regards and thanks in Advance
shany

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2012-11-11
Last query:
2012-11-11
Last reply:
2012-11-08
Best Manfred Hampl (m-hampl) said : #1

If you have copied the install.sh file from the CD drive it most probably has the protection set "not to be executable".
you can try

chmod a+x ./install.sh

or

sudo sh ./install.sh

Shany (mirshany) said : #3

Thanks Manfred Hampl, that solved my question.