Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-22-2007, 04:39 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2007
Posts: 3
Rep:
|
Problem in installing Mathematica 5.2 on FC5
I have been trying to install Mathematica 5.2 on Fedora Core 5.
On using the bash shell -
$ ./MathhInstaller
bash: ./MathInstaller: /bin/sh: bad interpreter: Permission denied
Therefore I changed to csh, now it goes like this -
$ cd /media/MATHEMATICA/Unix/Installer/
$ ./MathhInstaller
./MathInstaller: Permission denied.
The same thing happens whether I am su or normal user. Could anyone please help me with this problem.
Thanks a lot.
|
|
|
|
03-22-2007, 09:07 AM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
bad interpreter would indicate a problem with the very first line of the file.
Correct interpreter line syntax should be something like:
#!/bin/sh
OR
#!/bin/csh
OR
#!/bin/bash
OR
#!/usr/local/bin/perl
The "#!" are REQUIRED.
You can not typically use the csh in place of sh/bash. The scripting language for csh is completely different. The same is true of perl.
|
|
|
|
03-22-2007, 09:19 AM
|
#3
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,923
|
In FC6 (and, I suspect, FC5) /bin/sh is just a symbolic link to /bin/bash. You might check to see if it's set that way in your /bin directory.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:14 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
|
|