Package Details: mathematica 14.2.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: LicenseRef-WolframMathematicaLicenseAgreement
Submitter: Feanor12
Maintainer: JP-Ellis (marmis)
Last Packager: marmis
Votes: 80
Popularity: 0.45
First Submitted: 2011-03-03 21:27 (UTC)
Last Updated: 2025-01-26 05:16 (UTC)

Dependencies (54)

Required by (1)

Sources (2)

Pinned Comments

marmis commented on 2024-12-24 03:37 (UTC)

mathematica and mathematica-light have been updated to 14.1. Matematica 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 .. 37 Next › Last »

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.

hel commented on 2022-03-14 18:49 (UTC)

Download link for 13.0.1 (I got this from wolfram support):
https://amoeba.wolfram.com/index.php/s/3aqYPLZeotSM4bi

JP-Ellis commented on 2022-03-08 04:59 (UTC)

Unfortunately, I am still unable to download v13.0.1 which makes it impossible for me to update the PKGBUILD at this time.

In the past, Wolfram has made updates available to a few users before making everything broadly available, and perhaps this is what is going on here. Hopefully I will get access to v13.0.1 soon.

qumaciel commented on 2022-03-04 15:49 (UTC)

@prs, can you elaborate on the required changes for 13.0.1?!

prs commented on 2022-02-23 10:54 (UTC)

Greetings all! Since the 13.0.1 version has arrived about a month ago, I made a branch 13_0_1 and did some required changes. Kindly assist me with the process of making a pull request.

Also, I'm in a University where they have access to Mathematica so I might provide help in this repository with regards to updating the PKGBUILD.

Thanks!

kjslag commented on 2021-12-14 00:23 (UTC)

Version 13 fixes the text rendering issue for 3D plots for me. Here's a PKGBUILD: https://www.toptal.com/developers/hastebin/raw/ajiqexijog

JP-Ellis commented on 2021-12-13 22:14 (UTC)

I see that v13 has been released. I will be upgrading the package once I have access to it.