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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-22-2005, 03:32 AM
|
#1
|
Member
Registered: Oct 2004
Posts: 128
Rep:
|
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
|
|
|
02-22-2005, 03:39 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
02-22-2005, 03:43 AM
|
#3
|
LQ Newbie
Registered: Jul 2004
Posts: 2
Rep:
|
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
|
|
|
02-22-2005, 08:26 AM
|
#4
|
Member
Registered: Oct 2004
Posts: 128
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 08:46 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
What kind of file is this program and what are the results of runnin "ls -l" on the file.
|
|
|
All times are GMT -5. The time now is 06:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|