Package Details: mathematica 14.0.0-1

Git Clone URL: https://aur.archlinux.org/mathematica.git (read-only, click to copy)
Package Base: mathematica
Description: A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing with offline documentation.
Upstream URL: http://www.wolfram.com/mathematica/
Licenses: proprietary
Submitter: Feanor12
Maintainer: JP-Ellis
Last Packager: JP-Ellis
Votes: 80
Popularity: 0.68
First Submitted: 2011-03-03 21:27 (UTC)
Last Updated: 2024-01-15 22:25 (UTC)

Dependencies (51)

Required by (1)

Sources (2)

Pinned Comments

JP-Ellis commented on 2024-01-15 22:27 (UTC)

The update to v14.0.0 has been uploaded. A list of new features can be found in Wolfram's blog.

If there are any issues with this PKGBUILD, please let me know in a commment below.

JP-Ellis commented on 2022-10-08 00:22 (UTC) (edited on 2023-08-19 12:56 (UTC) by JP-Ellis)

Wolfram offers two bundles for Mathematica: one with offline docs included, and one which relies on online docs. I have created corresponding version of the Mathematica package in the AUR:

  • mathematica: As this package has historically always included offline docs, it will continue to do so now. As of 13.1.0, the package takes up around 14.1GiB with all documentation.
  • mathematica-light: For those people who want a small package and/or want to use online docs, I have created this package which uses Wolfram's online-docs bundling of Mathematica. As of 13.3, the light version takes up around 7.2GiB.

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 35 Next › Last »

JP-Ellis commented on 2019-04-24 05:41 (UTC)

Update to Mathematica 12.0.0

Summary of new features: https://wolfr.am/new-features-12

Please let me know if you encounter any issues.

pants commented on 2019-04-17 19:27 (UTC) (edited on 2019-04-18 00:59 (UTC) by pants)

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 (UTC) (edited on 2019-04-29 14:45 (UTC) by RunAndTumble)

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/user/misc/mathematica/pkg/mathematica/opt/Mathematica/SystemFiles/Installation/wolframscript_1.2.0-36_amd64.deb'

PlaidPenguin commented on 2019-03-17 15:17 (UTC)

@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 (UTC)

@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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC) (edited on 2019-03-02 16:38 (UTC) by mpr)

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?