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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 37 Next › Last »

qft commented on 2018-04-11 06:04 (UTC)

I agree we should not mark all the dependencies as required and that was my original point. However many of the library files you removed are not related to the recent freetype bug, and by removing those files there is no system libraries to replace them.

One example is the libespeak.so. Before you removed this file, my installation of Mathematica could do text2speech perfectly. Now it cannot because libespeak.so does not exist. Now a feature is broken with no added benefit. The same can be said for other libraries files. Each removed library file implies either one extra dependency or at least one missing feature. Why not just limit the deleted library files to the really necessary ones related to the freetype bug?

JP-Ellis commented on 2018-04-11 05:46 (UTC) (edited on 2018-04-11 05:51 (UTC) by JP-Ellis)

@qft I was hesitant to remove the extra libraries; however, given the incompatibility that came up with freetype I thought I would try for the time being to default using the system libraries.

If people do report issues, then I am able to revert back to including some of the libraries.

Additionally, I am not going to mark all dependencies as required simply because there exists a situation where they might be used. For example, I will not be making GUI libraries required as these are clearly not required for installations of Mathematica on a server. (Same argument can be made for GPU computing libraries).

In response to your second comment: all the libraries you list are all already on the optional dependencies. I myself have neither libpng12 nor espeak installed, and I am yet to encounter any issues. These libraries presumably are used by Mathematica at some point, but I have no idea where/when.

qft commented on 2018-04-11 05:39 (UTC) (edited on 2018-04-11 05:40 (UTC) by qft)

Also, removing the libraries in duplicate-libs.txt implies the following packages become required:

cairo, espeak, freetype2, glib2, glu, gmp, harfbuzz, libffi, libpng12, libssh2, openssl-1.0, pango, pixman, portaudio, zlib

Since espeak, libpng12 and portaudio are not commonly installed, the files libpng12.so.0, libespeak.so, and libportaudio.so.2 should not be removed. In my opinion the original library files should kept as is unless absolutely necessary.

qft commented on 2018-04-11 05:24 (UTC)

Actually I think instead of making openmp as a required dependency, a better strategy is to not include libiomp5.so in the duplicate-libs.txt file. The libiomp5.so file that ships with mathematica was from gcc, and the libiomp5.so file from openmp package was from LLVM. I'm sure these two files are not compatible even if the share the same name.

Also the files libpng12.so.0 and libespeak.so should not be removed. Otherwise two more dependencies are needed and it's always not a good idea to add unnecessary extra dependencies.

JP-Ellis commented on 2018-04-11 05:06 (UTC)

@qft I have added openmp are a required dependency (instead of just an optional one). Thanks for the feedback.

Note that I will not be incrementing the release number as this is such a minor change (and openmp was already optional). If there are libraries which are required, please let me know.

qft commented on 2018-04-11 04:50 (UTC)

openmp should be a dependency of the latest version, otherwise mathematica complains about missing libiomp5.so and cannot start.

JP-Ellis commented on 2018-04-10 23:33 (UTC)

@jumper149 I have made a new release of 11.3.0, please give it a go and let me know if you have any issue with it. (The reason you couldn't find the libraries is that they are located in /opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/)

jumper149 commented on 2018-04-10 13:23 (UTC)

I uninstalled Mathematica 11.2 with instructions from http://support.wolfram.com/kb/12473. Before it was installed without pacman. I lately got the error: /opt/Mathematica/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

Then i installed Mathematica 11.3 with this aur package. The fix @JP-Ellis is not possible because the following files are NOT in /opt/Mathematica/SystemFiles/FrontEnd/Binaries/Linux-x86-64/:

freetype.so.6, freetype.so and libz.so

so i cant remove them.

The installation seems fine I think.

/lib/libfontconfig.so.1 exists.

what can i do now i still get the fontconfig error.

JP-Ellis commented on 2018-03-26 06:25 (UTC)

As pointed out by wjhandley, a recent update broke aspects of Mathematica handling fonts. At this stage, the easiest is to just remove freetype.so.6, freetype.so and libz.so so that Mathematica falls back to the system libraries.

I am currently testing a new release of 11.3.0 which removes certain libraries already provided by the system. Although everything works fine for me so far, I suspect this may break things for some users until they install the necessary optional dependencies. I will be releasing the next release in the next day or so.

wjhandley commented on 2018-03-25 16:23 (UTC)

If you get an error like:

/opt/Mathematica/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica: symbol lookup error: /lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

then just remove or rename the mathematica freetype.so.6 and libz.so libraries in the directory ${TopDirectory}/SystemFiles/Libraries/Linux-x86-64

(source https://bugs.archlinux.org/task/57948 )