Package Details: mathematica 11.3.0-3

Git Clone URL: https://aur.archlinux.org/mathematica.git (read-only)
Package Base: mathematica
Description: A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
Upstream URL: http://www.wolfram.com/mathematica/
Licenses: proprietary
Submitter: Feanor12
Maintainer: JP-Ellis
Last Packager: JP-Ellis
Votes: 60
Popularity: 1.510708
First Submitted: 2011-03-03 21:27
Last Updated: 2018-08-13 17:41

Dependencies (54)

Required by (1)

Sources (2)

Pinned Comments

JP-Ellis commented on 2019-04-18 00:35

I am currently waiting on my licence to update to Mathematica 12. As soon as this happens, I will update the PKGBUILD.

JP-Ellis commented on 2018-03-15 04:26

Update to Mathematica 11.3.0

Summary of new features: https://wolfr.am/new-features-11-3

Release 2 The second release of 11.3.0 removes various libraries which are automatically included in Mathematica so that Mathematica falls back on the system version. This was done in order to address an incompatibility in a recent system library update. I have been using this release for a while with no issue, but as usual let me know if any issue comes up.

In particular, portaudio may be required (though is not necessary is you only run Mathematica from the command line)

Release 3 Update reflects the new release of 11.3.0 by Wolfram. I could not find release notes (probably a minor bug fix release).

Latest Comments

1 2 3 4 5 6 ... Next › Last »

JP-Ellis commented on 2019-04-18 00:35

I am currently waiting on my licence to update to Mathematica 12. As soon as this happens, I will update the PKGBUILD.

pants commented on 2019-04-17 19:27

The following patch builds the package, but something may have to be done to get some libraries working correctly—I get SSL errors when attempting to do online registration and had to use the offline version. Once registered it runs fine, and even connects to the Wolfram cloud.

edit: I registered with the same PKGBUILD on my laptop, but using the graphical interface instead of the command line and suffered no problems.

diff --git a/PKGBUILD b/PKGBUILD
index [`8a45ff6`](https://aur.archlinux.org/cgit/aur.git/commit/?h=mathematica&id=8a45ff6)..0f134fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@
 # Contributor: teratomata <teratomat@gmail.com>

 pkgname=mathematica
-pkgver=11.3.0
-pkgrel=3
+pkgver=12.0.0
+pkgrel=1
 pkgdesc="A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing."
 arch=('i686' 'x86_64')
 url="<http://www.wolfram.com/mathematica/>"
@@ -75,8 +75,8 @@ optdepends=(
     'zlib'
 )   
 source=("local://Mathematica_${pkgver}_LINUX.sh" "duplicate-libs.txt")
-md5sums=('623f9fa3d34ded6997c7b9f1505097c0'
-         'e442aa2286a9d93e932076c974517dd7')
+md5sums=('f3ca61be780242cd16d3e313a800a287'
+         'f01cd280d4e13014f6253df657d1e572')
 options=("!strip")

 ## To build this package you need to place the mathematica-installer into your
@@ -145,8 +145,8 @@ package() {
     mkdir -p ${srcdir}/WolframScript
     mkdir -p ${pkgdir}/usr/share/
     cd ${srcdir}/WolframScript
-    bsdtar -xf ${pkgdir}/opt/Mathematica/SystemFiles/Installation/wolframscript_1.2.0-36_amd64.deb data.tar.gz
-    tar -xf data.tar.gz -C ${pkgdir}/usr/share/ --strip=3 ./usr/share/
+    bsdtar -xf ${pkgdir}/opt/Mathematica/SystemFiles/Installation/wolframscript_1.2.0+2019040701_amd64.deb data.tar.xz
+    tar -xf data.tar.xz -C ${pkgdir}/usr/share/ --strip=3 ./usr/share/


     msg2 "Copying menu and mimetype information"
@@ -155,7 +155,7 @@ package() {
           ${pkgdir}/usr/share/desktop-directories \
           ${pkgdir}/usr/share/mime/packages
     cd ${pkgdir}/opt/Mathematica/SystemFiles/Installation
-    desktopFile='wolfram-mathematica11.desktop'
+    desktopFile='wolfram-mathematica12.desktop'
     sed -Ei 's|^(\s*TryExec=).*|\1/usr/bin/Mathematica|g' $desktopFile
     sed -Ei 's|^(\s*Exec=).*|\1/usr/bin/Mathematica %F|g' $desktopFile
     printf 'Categories=Science;Math;NumericalAnalysis;DataVisualization;' >> $desktopFile
diff --git a/duplicate-libs.txt b/duplicate-libs.txt
index [`66f4cca`](https://aur.archlinux.org/cgit/aur.git/commit/?h=mathematica&id=66f4cca)..93d5486 100644
--- a/duplicate-libs.txt
+++ b/duplicate-libs.txt
@@ -1,38 +1,11 @@
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libGLU.so
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libGLU.so.1
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libcairo.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libcairo.so.2
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libcrypto.so.1.0.0
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libespeak.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libffi.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libffi.so.6
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libfreetype.so
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libfreetype.so.6
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgio-2.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgio-2.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libglib-2.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libglib-2.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgmodule-2.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgmodule-2.0.so.0
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgmp.so.10
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgobject-2.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgobject-2.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgthread-2.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libgthread-2.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libharfbuzz.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libharfbuzz.so.0
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libiomp5.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpango-1.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpango-1.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangocairo-1.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangocairo-1.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangoft2-1.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangoft2-1.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangoxft-1.0.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpangoxft-1.0.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpixman-1.so
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpixman-1.so.0
-./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libpng12.so.0
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libportaudio.so.2
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libssh2.so.1
 ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libssl.so.1.0.0

RunAndTumble commented on 2019-04-17 18:15

OK, this is what I get when I try to install v12.0 using the old script:

-> Setting up WolframScript bsdtar: Error opening archive: Failed to open '/run/media/zerg/misc/mathematica/pkg/mathematica/opt/Mathematica/SystemFiles/Installation/wolframscript_1.2.0-36_amd64.deb'

PlaidPenguin commented on 2019-03-17 15:17

@JP-Ellis @miro86 I managed to get rid of the error. The problem was, that there was a $ in front of the directory name that the cd in line 120 was supposed to change to. Removing this fixed this specific bug. I also changed the directory to point to the one where my wolframscript was. I am actually running manjaro, so maybe the's why it doesn't work for me... Now i only have a bug, saying, that my fakeroot doesn't work and it cannot create or remove directories. I hope this may have helped.

qft commented on 2019-03-12 14:48

@JP-Ellis @hzhangxyz espeak should not be a dependency of Mathematica. Like I mentioned in one of the previous comment, this error only happens because the file '/opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libespeak.so' that ships with Mathematica is wrongly removed via the duplicate-libs.txt file. If you modify duplicate-libs.txt and do not remove so many libraries that ship with Mathematica, then there is no need to make up for these included libraries with external dependencies.

JP-Ellis commented on 2019-03-11 22:12

@PlaidPenguin @miro86 I still have no idea how this error happens, and I am unable to replicate it. I have installed Mathematica without error on several different machines without issue, so I don't even know where to start with this bug.

@hzhangxyz This is already a optional dependency. I do not have everything included as compulsory dependencies because most people will only use a subset of what Mathematica offers.

PlaidPenguin commented on 2019-03-07 21:23

@JP-Ellis I also get the same error as miro86 and mpr. Has someone found a solution to this problem?

hzhangxyz commented on 2019-03-07 04:44

I didn't install espeak so mathematica report error since the library has already been removed via duplicate-libs.txt

run pacman -Foq awk -F / '{print "/usr/lib/"$7}' duplicate-libs.txt | sort | uniq and get:

community/espeak community/libpng12 community/portaudio core/glib2 core/gmp core/libffi core/libssh2 core/openssl-1.0 core/zlib extra/cairo extra/freetype2 extra/glu extra/harfbuzz extra/openmp extra/pango extra/pixman

I think this should be put into depend list

mpr commented on 2019-03-02 16:30

I get a similar error as miro86. There's no xterm error but I do get the error of line 120. Did you manage to fix it @miro86?

JP-Ellis commented on 2019-01-22 03:18

@miro86 Unfortunately, I really don't know what could be the cause of your issue as I have never encountered it. Have you tried using a different terminal by any chance? Are you using an AUR helper and having you tried using makepkg? Sorry I can't be of more help.