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.40
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 .. 37 Next › Last »

loqy commented on 2024-01-16 11:15 (UTC)

If we run MathInstaller with bash, let's also add bash as a makedepends. Lots of people forget to do this

jdujava commented on 2024-01-16 11:12 (UTC) (edited on 2024-01-16 11:13 (UTC) by jdujava)

MathInstaller is a bash script, so it is better to run it directly with bash (my sh was not symlinked to bash, which resulted in 3634 Syntax error: Bad for loop variable). Also, I think there are now some outdated comments before prepare().

Additionally, I include a patch which makes it easier to change the "installation directory" (as of now, it is hardcoded at many places to be /opt/Mathematica).

Patches can be found in this gist.

(I posted this previously also to mathematica-light)

JP-Ellis commented on 2024-01-16 10:14 (UTC)

@loqy Thanks for the bug report. It is strange that the error is coming from MathInstaller, as that comes from Mathematica's installer. Can anyone else check whether they get this issue? @loqy, can you check whether the same error happens with mathematica-light?

loqy commented on 2024-01-16 10:08 (UTC)

the new pkgbuild fails for me.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 72000    0 72000    0     0   210k      0 --:--:-- --:--:-- --:--:--  209k
==> Making package: mathematica 14.0.0-1 (Tue 16 Jan 2024 04:04:24 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Mathematica_14.0.0_BNDL_LINUX.sh
  -> Found remove-xdg-scripts.patch
==> Validating source files with md5sums...
    Mathematica_14.0.0_BNDL_LINUX.sh ... Passed
    remove-xdg-scripts.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
==> WARNING: Building Mathematica takes more than 24GiB of space for 'makepkg'.
==> WARNING: Building in a tmpfs (e.g. /tmp when mounted into RAM) may not work.
  -> Extracting Mathematica installer...
patching file Unix/Installer/MathInstaller
Hunk #1 succeeded at 1825 (offset -160 lines).
==> Entering fakeroot environment...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 72000    0 72000    0     0   237k      0 --:--:-- --:--:-- --:--:--  238k
==> Starting package()...
  -> Running Mathematica installer
/home/admin/Downloads/mathematica/src/bundle/Unix/Installer/MathInstaller: 3634: Syntax error: Bad for loop variable
==> ERROR: A failure occurred in package().
    Aborting...

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.

algar commented on 2024-01-13 20:50 (UTC)

There are two installers in the bundle with the offline docs included: one for the base system and another for the documentation. The current code in PKGBUILD only calls the installer for the base system. A possible way of fixing the failure with the docs installation is by adding the following in PKGBUILD

msg2 "Running Mathematica documentation installer"
    sh "${srcdir}/bundle/Unix/.bundle/Unix/Installer/MathInstaller" \
             -targetdir="${pkgdir}/usr/share/Wolfram" \
             -auto

Note that the documentation must be installed under /usr/share/Wolfram, otherwise it won't be found by the running Mathematica and it will then default to the on-line docs.

mueslo commented on 2023-10-06 20:59 (UTC)

what is "startdir"?

AsukaMinato commented on 2023-09-27 13:13 (UTC)

now wolfram provides the download page for mathematica, no login required.

https://www.wolfram.com/download-center/mathematica/

hammer commented on 2023-09-03 06:42 (UTC) (edited on 2023-09-04 18:51 (UTC) by hammer)

Turn out that (one of the) bundle installers should be given the same command line arguments as the entry installer, see L3804 of bundle/Unix/Installer/MathInstaller inside function installBundledInstall. Though it should be a bug of mathematica installer, we can temporarily just patch it with arguments needed.