Package Details: mathematica 14.3.0-1

Git Clone URL: https://aur.archlinux.org/mathematica.git (read-only, click to copy)
Package Base: mathematica
Description: Computational software for mathematics, science, and engineering, with offline documentation included.
Upstream URL: http://www.wolfram.com/mathematica/
Keywords: algebra calculus documentation math numerical physics science simulation symbolic wolfram
Licenses: LicenseRef-Wolfram-Mathematica-License-Agreement
Submitter: Feanor12
Maintainer: JP-Ellis (marmis)
Last Packager: marmis
Votes: 82
Popularity: 0.069642
First Submitted: 2011-03-03 21:27 (UTC)
Last Updated: 2026-05-16 23:08 (UTC)

Pinned Comments

marmis commented on 2024-12-24 03:37 (UTC) (edited on 2025-05-06 20:14 (UTC) by marmis)

mathematica and mathematica-light have been updated to 14.1. Mathematica is being rebranded to WolframApp or just Wolfram. Because of that, you might have to update your current configuration according to Upgrading from Mathematica to Wolfram:

  • The default $UserBaseDirectory is now ~/.Wolfram (you may need to mv ~/.Mathematica ~/.Wolfram)
  • MATHINIT is now WOLFRAMNB_INIT (for additional arguments to Wolfram)
  • MATHEMATICA_BASE is now WOLFRAM_BASE (for custom $BaseDirectory)
  • MATHEMATICA_USERBASE is now WOLFRAM_USERBASE (for custom $UserBaseDirectory)

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 2 3 4 5 6 7 8 9 10 .. 38 Next › Last »

qtmax commented on 2023-02-24 11:56 (UTC)

@JP-Ellis, please pull the version bump along with some fixes from:

https://bitbucket.org/qt-max/mathematica/commits/

vlasiuk commented on 2022-12-17 22:57 (UTC) (edited on 2022-12-17 22:57 (UTC) by vlasiuk)

For 13.2 the only changes in PKGBUILD are

-pkgver=13.1.0
+pkgver=13.2.0
-md5sums=('23e6c72f6b948cefc4f588ec563af488')
+md5sums=('05a0eaaafef2e4478454cb28e0ab4bc8')

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.

mane.andrea commented on 2022-10-04 12:12 (UTC)

@JP-Ellis If you don't have time to maintain this package, I would be happy to take over in your stead. Let me know what you think.

Kamien commented on 2022-10-02 00:10 (UTC)

Hi, @JP-Ellis can you update PKGBUILD?

JP-Ellis commented on 2022-07-22 00:51 (UTC)

I've been a bit busy these part few weeks, but I am intending to get to this upgrade on the weekend. The split from a single installer to separate program and docs installer is good, though it does mean that the upgrade is less trivial. Thanks @mane.andrew for the patch though!

mane.andrea commented on 2022-07-21 13:44 (UTC)

They decided to change the way the software is shipped: now you have to download the binary and the documentation as separate files and install them separately.

I took the liberty of adding a patch. You can use it as a starting point, I don't think it's perfect, but it works (I built it in a chroot and installed it just now)

diff --git a/.SRCINFO b/.SRCINFO
index 6a72d0d..cae6dbc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = mathematica
    pkgdesc = A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
-   pkgver = 13.0.1
+   pkgver = 13.1.0
    pkgrel = 1
    url = http://www.wolfram.com/mathematica/
    arch = x86_64
@@ -56,7 +56,9 @@ pkgbase = mathematica
    optdepends = tesseract
    optdepends = zlib
    options = !strip
-   source = local://Mathematica_13.0.1_BNDL_LINUX.sh
-   md5sums = cdeae74ad72420c1dea5027f7f8c569e
+   source = local://Mathematica_13.1.0_LINUX.sh
+   source = local://WLDocs_13.1.0_LINUX.sh
+   md5sums = 43fee918e0520250daab1d962fb3a594
+   md5sums = b041ba25be3e8ec517cd845bf1f338da

 pkgname = mathematica
diff --git a/.gitignore b/.gitignore
index 0e5f346..009aae3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 Mathematica*.sh
+WLDocs*.sh
 *.pkg.tar
 *.pkg.tar.xz
-*.pkg.tar.zst
\ No newline at end of file
+*.pkg.tar.zst
diff --git a/PKGBUILD b/PKGBUILD
index e071fd0..534eca5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 # Contributor: teratomata <teratomat@gmail.com>

 pkgname=mathematica
-pkgver=13.0.1
+pkgver=13.1.0
 pkgrel=1
 pkgdesc="A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing."
 arch=('x86_64')
@@ -70,8 +70,10 @@ optdepends=(
     'tesseract'
     'zlib'
 )
-source=("local://Mathematica_${pkgver}_BNDL_LINUX.sh")
-md5sums=('cdeae74ad72420c1dea5027f7f8c569e')
+source=("local://Mathematica_${pkgver}_LINUX.sh"
+        "local://WLDocs_${pkgver}_LINUX.sh")
+md5sums=('43fee918e0520250daab1d962fb3a594'
+         'b041ba25be3e8ec517cd845bf1f338da')
 options=("!strip")

 ## To build this package you need to place the mathematica-installer into your
@@ -96,19 +98,40 @@ prepare() {
         exit 1
     fi

-    chmod +x ${srcdir}/Mathematica_${pkgver}_BNDL_LINUX.sh
+    chmod +x ${srcdir}/Mathematica_${pkgver}_LINUX.sh
+    chmod +x ${srcdir}/WLDocs_${pkgver}_LINUX.sh
 }

 package() {
+
+    # The installer calls hostname, which is not necessarily available
+    hostname() { echo '$HOSTNAME'; }
+    export -f hostname
+
     msg2 "Running Mathematica installer"
     # https://reference.wolfram.com/language/tutorial/InstallingMathematica.html#650929293
-    sh ${srcdir}/Mathematica_${pkgver}_BNDL_LINUX.sh -- \
+    sh ${srcdir}/Mathematica_${pkgver}_LINUX.sh -- \
              -execdir=${pkgdir}/usr/bin \
              -targetdir=${pkgdir}/opt/Mathematica \
              -auto
+
     msg2 "Errors related to 'xdg-icon-resource' and 'xdg-desktop-menu' are to be expected during Mathematica's installation."
     rm ${pkgdir}/opt/Mathematica/InstallErrors

+    ## The documentation takes up the majority of the disk space (7.8G+).  If you
+    ## do not wish to have the documentation installed, comment out the following
+     sh ${srcdir}/WLDocs_${pkgver}_LINUX.sh -- \
+             -execdir=${pkgdir}/usr/bin \
+             -targetdir=${pkgdir}/opt/Mathematica_docs \
+             -auto
+
+    # Merge contents of Mathematica_docs with Mathematica
+    rm -r ${pkgdir}/opt/Mathematica/Documentation/English/{SearchIndex,System}
+    mv ${pkgdir}/opt/Mathematica_docs/Documentation/English/* ${pkgdir}/opt/Mathematica/Documentation/English/
+    rm -r ${pkgdir}/opt/Mathematica_docs/
+    ## until here
+
+
     msg2 "Fixing symbolic links"
     cd ${pkgdir}/opt/Mathematica/Executables
     rm wolframscript
@@ -169,10 +192,4 @@ package() {

     msg2 "Fixing file permissions"
     chmod go-w -R ${pkgdir}/*
-
-    ## The documentation takes up the majority of the disk space (6.8G+).  If you
-    ## do not wish to have the documentation installed, uncomment the following
-    ## lines.
-    # msg2 "Removing documentation"
-    # rm -rf "${pkgdir}/opt/Mathematica/Documentation"
 }

iyanmv commented on 2022-06-02 11:16 (UTC)

RabbitLime: you can define an env variable QT_QPA_PLATFORM=wayland;xcb, so you don't have to manually add this in the Exec line of each app.

https://wiki.archlinux.org/title/Wayland#Qt

RabbitLime commented on 2022-03-24 10:07 (UTC)

Can't launch it in Gnome Wayland. But just add 'QT_QPA_PLATFORM=xcb', then solve it.

JP-Ellis commented on 2022-03-15 22:40 (UTC)

Updated to 13.0.1

This release includes hundreds of bug fixes, feature enhancements and performance improvements, including a security update for log4j.

Thanks for everyone's patience as I was waiting to be able to download the installer from Wolfram.