You are not logged in.

#1 2011-08-16 14:58:39

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Installing Mathematica on Arch

I tried to install Mathematica on Arch, but the installer script that comes with Mathematica gave the error, as I recall, 

"Installer Error: line (number) Arch[0]] expression expecting an integer."

I also tried to install following

https://aur.archlinux.org/packages.php?ID=47077

and got the error
"Mathematica_8.0.1_LINUX.sh" not found when running makepkg --asroot. I'm comfortable with the command line but totally new to Arch. Could someone give me step-by-step instructions on how to install using the AUR package? From the comments on that page, it seems that some people have gotten it to work.

Last edited by doubleslash (2011-08-16 14:59:14)

Offline

#2 2011-08-16 16:46:28

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Installing Mathematica on Arch

Have a look at the pkgbuild, it states

# To build this package you need to place the mathematica-installer into your startdir
# If you don't own the installer you can download a trial version at http://www.wolfram.com/mathematica/trial

Since you said you already have a copy of the software, look for the Mathematica_8.0.1_LINUX.sh in there.

You usually don't want to use --asroot, just build it as normal user.

Offline

#3 2011-08-16 17:24:05

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: Installing Mathematica on Arch

I tried to find that file by issuing at the mount point of the CD the command

find . -type f -iname "*.sh"

but got nothing. Doesn't seem like "Mathematica_8.0.1_LINUX.sh" is in there. By the way, what is meant by startdir in

Wey wrote:

To build this package you need to place the mathematica-installer into your startdir

Offline

#4 2011-08-16 17:28:09

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Installing Mathematica on Arch

doubleslash wrote:

By the way, what is meant by startdir in

Wey wrote:

To build this package you need to place the mathematica-installer into your startdir

The directory where the PKGBUILD file is stored.

Offline

#5 2011-08-16 18:08:38

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Installing Mathematica on Arch

Do the versions of the PKGBUILD and the cd match? Maybe the file is saved under a different name, you could search by its md5sum, which is stated in the PKGBUILD, something like:

 find . -type f -print0 | xargs -0 md5sum | grep 9067e87cd5049eb0fb42bb15bd280f9c

Other than that, the package seems to be actively maintaned, so you could contact the maintainer, he might know.

Offline

#6 2011-08-16 19:46:46

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: Installing Mathematica on Arch

I got null for

Wey wrote:
find . -type f -print0 | xargs -0 md5sum | grep 9067e87cd5049eb0fb42bb15bd280f9c 

There's a script called MathInstaller on my installation CD which you'd run to install Mathematica.  Does it serve the same function as "Mathematica_8.0.1_LINUX.sh" would?

Would the following work?
1. Download the trial version from http://www.wolfram.com/mathematica/trial/
2. Download tarball and pkgbuild from https://aur.archlinux.org/packages.php?ID=47077 into the same directory.
3. rename the MathInstaller script to "Mathematica_8.0.1_LINUX.sh"
4. Find the md5checksum of MathInstaller and change the md5 value in pkdbuild to match it.

Offline

Board footer

Powered by FluxBB