If we run MathInstaller with bash, let's also add bash as a makedepends. Lots of people forget to do this
Search Criteria
Package Details: mathematica 14.2.0-1
Package Actions
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)
- openmp
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- rsync (rsync-gitAUR, rsync-reflink-gitAUR, rsync-reflinkAUR) (make)
- alsa-lib (optional)
- atk (at-spi2-core-gitAUR, at-spi2-core) (optional)
- cairo (cairo-gitAUR) (optional)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR) (optional)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (optional)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (optional)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (optional)
- glu (glu-gitAUR) (optional)
- gmimeAUR (optional)
- gmp (gmp-hgAUR) (optional)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR) (optional)
- harfbuzz (harfbuzz-gitAUR) (optional)
- intel-tbb (onetbb-gitAUR, onetbb) (optional)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, jdkAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, java-openjdk-binAUR, zulu-17-fx-binAUR, zulu-23-binAUR, jdk21-jetbrains-binAUR, jdk11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk8AUR, jre-jetbrainsAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, jreAUR, jdkAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, java-openjdk-binAUR, zulu-17-fx-binAUR, zulu-23-binAUR, jdk21-jetbrains-binAUR, jre11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk8-temurinAUR, zulu-21-binAUR, jre8AUR, jdk8AUR, jre-jetbrainsAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional)
- leptonica (optional)
- Show 34 more dependencies...
Required by (1)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 37 Next › Last »
loqy commented on 2024-01-16 11:15 (UTC)
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.
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.
Pinned Comments
marmis commented on 2024-12-24 03:37 (UTC)
mathematica
andmathematica-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:$UserBaseDirectory
is now~/.Wolfram
(you may need tomv ~/.Mathematica ~/.Wolfram
)MATHINIT
is nowWOLFRAMNB_INIT
(for additional arguments to Wolfram)MATHEMATICA_BASE
is nowWOLFRAM_BASE
(for custom$BaseDirectory
)MATHEMATICA_USERBASE
is nowWOLFRAM_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.