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.
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.