Could the wolfram-mathematica,png
files be renamed to mathematica.png
to match the files provided by the icon Breeze icon theme, so that icon replacements work correctly?
Search Criteria
Package Details: mathematica 14.0.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: | proprietary |
Submitter: | Feanor12 |
Maintainer: | JP-Ellis |
Last Packager: | JP-Ellis |
Votes: | 80 |
Popularity: | 0.32 |
First Submitted: | 2011-03-03 21:27 (UTC) |
Last Updated: | 2024-01-15 22:25 (UTC) |
Dependencies (51)
- openmp
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- alsa-lib (optional)
- atk (at-spi2-core-gitAUR, at-spi2-core) (optional)
- cairo (cairo-gitAUR) (optional)
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-ffplayoutAUR, ffmpeg-libfdk_aacAUR, ffmpeg-full-gitAUR) (optional)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (optional)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (optional)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR, glib2-selinuxAUR) (optional)
- glu (glu-gitAUR) (optional)
- gmimeAUR (optional)
- gmp (gmp-hgAUR) (optional)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR, gtk2-maemoAUR) (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, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, amazon-corretto-18AUR, jdk18-openjdkAUR, jdk-android-studioAUR, 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, jdk19-openjdkAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk20-graalvm-ee-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, mandrel-binAUR, jdk8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-jetbrainsAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk8-openj9-binAUR, jdk-temurinAUR, amazon-corretto-22-binAUR, jdk22-graalvm-binAUR, zing-8-binAUR, zing-21-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk8-temurinAUR, jdkAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk-openjdk-wakefieldAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, liberica-jdk-21-full-binAUR, jdk17-jetbrains-binAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-jetbrainsAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional)
- java-runtime (jre10AUR, jre12AUR, server-jreAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, jdk-android-studioAUR, 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, jre19-openjdkAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk20-graalvm-ee-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, mandrel-binAUR, jdk8AUR, jre8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre17-jetbrainsAUR, jre21-jetbrainsAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk8-openj9-binAUR, zulu-jre-fx-binAUR, jdk-temurinAUR, amazon-corretto-22-binAUR, jdk22-graalvm-binAUR, zing-8-binAUR, zing-21-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk8-temurinAUR, jreAUR, jdkAUR, jre-ltsAUR, jre17AUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, liberica-jdk-21-full-binAUR, jdk17-jetbrains-binAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-jetbrainsAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional)
- leptonica (optional)
- libbson (mongo-c-driver) (optional)
- libffi (libffi-gitAUR) (optional)
- libmongoc (mongo-c-driver) (optional)
- libogg (libogg-gitAUR) (optional)
- libpng12 (optional)
- libselinuxAUR (optional)
- libsm (optional)
- libssh2 (libssh2-gitAUR) (optional)
- libutil-linux (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, util-linux-libs) (optional)
- libx11 (libx11-gitAUR) (optional)
- libxcomposite (optional)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (optional)
- libxrandr (libxrandr-gitAUR) (optional)
- libxslt (libxslt-gitAUR) (optional)
- libxss (optional)
- libxtst (optional)
- libxxf86vm (optional)
- mesa-demos (optional) – for improved graphics output
- ncurses (ncurses-gitAUR) (optional)
- nvidia-utils (nvidia-410xx-utilsAUR, nvidia-340xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-utils-teslaAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-390xx-utilsAUR, nvidia-535xx-utilsAUR, nvidia-470xx-utilsAUR, nvidia-utils-betaAUR) (optional)
- openssl-1.0AUR (optional)
- pango (pango-gitAUR) (optional)
- pixman (pixman-gitAUR) (optional)
- portaudio (optional)
- postgresql-libs (postgresql-libs-gitAUR, postgresql-libs-12AUR, postgresql13-libsAUR) (optional)
- python (python37AUR, python311AUR, python310AUR) (optional)
- qt5-declarative (qt5-declarative-gitAUR) (optional)
- qt5-multimedia (qt5-multimedia-gitAUR) (optional)
- qt5-webengine (optional)
- qt5-xmlpatterns (qt5-xmlpatterns-gitAUR) (optional)
- r (r352AUR, r-mklAUR) (optional)
- tesseract (tesseract-gitAUR) (optional)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (optional)
Required by (1)
Sources (2)
loqy commented on 2024-04-03 08:46 (UTC)
algar commented on 2024-01-17 09:02 (UTC)
The situation with wolframengine is that its kernel version is usually behind the kernel version shipped with mathematica. Check https://www.wolfram.com/engine/ versus https://www.wolfram.com/mathematica/.
JP-Ellis commented on 2024-01-17 05:23 (UTC)
Thanks for checking @loqy! I'll update the PKGBUILDs to make use of bash
correctly.
I'll make sure to mark the difference with wolframengine
more explicitly. I guess there's two ways I can do this: provides=('wolframengine')
and conflicts=('wolframengine')
. I'm thinking it should be the former (provides
), as I think that all of the functionality of wolframengine
is provided by the main mathematica
package. Can someone confirm whether this is true (or if not, why)?
loqy commented on 2024-01-17 05:17 (UTC)
I can confirm that switching the sh
calls in PKGBUILD to bash
resulted in a successful installation, though I do not have wolframengine
installed as algar does.
algar commented on 2024-01-16 11:55 (UTC)
I did not experience any problems to build the package with the PKGBUILD
as given. However I did experience a problem installing:
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [#############################################################################################] 100%
(1/1) checking package integrity [#############################################################################################] 100%
(1/1) loading package files [#############################################################################################] 100%
(1/1) checking for file conflicts [#############################################################################################] 100%
error: failed to commit transaction (conflicting files)
mathematica: /usr/bin/ELProver exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/MathKernel exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/WolframKernel exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/math exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/mcc exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/wolfram exists in filesystem (owned by wolframengine)
mathematica: /usr/bin/wolframscript exists in filesystem (owned by wolframengine)
mathematica: /usr/share/desktop-directories/wolfram-all.directory exists in filesystem (owned by wolframengine)
mathematica: /usr/share/doc/wolframscript/copyright exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/apps/wolfram-mathematica.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.cdf.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.mathematica.package.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.nb.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.player.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.wl.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/128x128/mimetypes/application-vnd.wolfram.wls.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/apps/wolfram-mathematica.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.cdf.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.mathematica.package.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.nb.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.player.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.wl.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/32x32/mimetypes/application-vnd.wolfram.wls.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/apps/wolfram-mathematica.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.cdf.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.mathematica.package.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.nb.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.player.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.wl.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/icons/hicolor/64x64/mimetypes/application-vnd.wolfram.wls.png exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/math.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/mathematica.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/mathlm.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/mcc.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/monitorlm.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/man/man1/wolframscript.1.gz exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.cdf.xml exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.mathematica.package.xml exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.nb.xml exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.nbp.xml exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.wl.xml exists in filesystem (owned by wolframengine)
mathematica: /usr/share/mime/packages/application-vnd.wolfram.wls.xml exists in filesystem (owned by wolframengine)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).
A possibility is to make mathematica and wolfram engine packages incompatible.
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.
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.