Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am trying to install Mathematica 9 on a Ubuntu 13.10 system. I had this working on my previous 13.04 version but now it breaks on when trying to unpack the sh archive:

$ sh Mathematica_9.0.0_LINUX.sh
Mathematica Secured 9.0.0 for LINUX Installer Archive

Verifying archive integrity. 
Extracting installer. ...........................................................................
/home/stefan/Downloads/.3719
CRITICAL FAILURE: Fundamental Error
 Installer text not found.

sudo sh ... produces same error, the md5 hash checks out ok.

Anybody encountered this problem, and more to the point, figured out what is wrong? I submitted a ticket to Wolfram support but no luck there so far.

Thanks for any ideas to try.

share|improve this question
    
Make sure there is no space in your directory name. –  alephalpha Feb 19 at 5:19
    
Yes I tried making it executable (should't make a difference and it didn't). Yes 'sh' is the right shell for interpreting the archive. Sticking point now is that my activation code doesn't work since the fingerprint of the machine is different after OS upgrade... –  SEngstrom Feb 19 at 5:20
    
@alephalpha as you can see there are no spaces in the directory I was working from. –  SEngstrom Feb 19 at 5:21
    
try renaming the .sh file to mma9.sh (something without dot and dash) and then run it. –  Hubble07 Feb 19 at 9:38

3 Answers 3

I have just upgraded to ubuntu 14.03 and Mathematica 10. I tried to execute

sudo Mathematica_10.0.0_LINUX.sh 

and it would not install, i.e., like it could not find the Mathematica file! I also tried renaming, making it executable, being super user. Nothing worked.

I did a head of the MM sh and noticed it has the first line is

#!/bin/sh

I looked at /bin/sh on my system and it is a link /bin/sh -> dash

Anyway I tried using bash instead dash as superuser:

bash Mathematica_10.0.0_LINUX.sh

and the install worked perfectly.

sudo bash Mathematica_10.0.0_LINUX.sh 

would probably have worked as well, but didn't try it.

I got the idea to try this from SEngstrom's post, but note with this I did not have to use the --keep or cd to the installer directory.

share|improve this answer

I worked around this by directing the shell archive extraction to keep the files:

sh Mathematica_9.0.0_LINUX.sh --keep

Then I cd'd into the Installation directory and ran the installer from there. Note that the temporary directory will named after the process number you ran the extraction in so will differ from what I had:

cd .4725/Unix/Installer
sudo MathInstaller

... success. Now to convince Wolfram to give me a new activation code for the upgraded machine.

share|improve this answer
1  
Now upgrading to Mathematica 10.0.0 - Archive extraction still breaks, this time under Ubuntu 14.04 LTS. Fix above still seems to work. –  SEngstrom Jul 11 at 16:19

I installed Mathematica 10 by copying the .sh insatalled to the Desktop and renaming it to "Mathematica.sh" then typing this command in the terminal:

$ cd Desktop/
$ sudo sh Mathematica.sh 

it installed correctly.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.