LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2005, 03:32 AM   #1
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Rep: Reputation: 15
Can't install program from cdrom


I have a piece of software that I want to install but it comes on a cd and you have to install it via cdrom. When I type the install command /mnt/cdrom/install* mandrake 10.1 (which is what I am using) it comes up with the error message

bash: /mnt/cdrom/install: /bin/sh: Bad Interpreter: Permission denied

I am not too sure what to do, any suggestions?

Mat
 
Old 02-22-2005, 03:39 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I think you are not allowed to execute programs from your cdrom or you have to be root. You can simply copy the program somewhere in your system and install it from there. An alternative would be to remove the "noexec" from the appropriate lines for your device in /etc/fstab or add the "exec" int the options for your device.
 
Old 02-22-2005, 03:43 AM   #3
sureshpc
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Hello
please try this

First check whether there is a command availabe named sh. using command

which sh

if it doesnot produce an output like /bin/sh, follow the step

cd /bin
ln -s sh bash

then try to execute the install command

Suresh
 
Old 02-22-2005, 08:26 AM   #4
mat_uk111
Member
 
Registered: Oct 2004
Posts: 128

Original Poster
Rep: Reputation: 15
I had a look in fstab and there was no "noexec" term but there was an exec term. There was also a noauto term but I removed that and there was still no difference.

I typed which sh and the answer was /bin/sh

Any other suggestions?

Does mandrake behave odd in this way?

Mat
 
Old 02-22-2005, 08:46 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
What kind of file is this program and what are the results of runnin "ls -l" on the file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Program to eject cdrom drive ... doubt tuxfood Programming 3 07-20-2005 03:33 AM
install on old pc without no cdrom spedsta Linux - Newbie 3 06-11-2004 05:24 AM
how to install from cdrom peterstudent Linux - Newbie 1 05-25-2004 06:23 PM
install without cdrom Big Al Debian 1 02-26-2004 04:10 PM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration