@hmenke Thanks - My licence expired with 11.3 so this is v. helpful.
For others with this issue, the problem arose with openmp 9.0.1-1 -> 9.0.1-2, so downgrading to 9.0.1-1 is also an option if that isn't required by another package on your system.
| Git Clone URL: | https://aur.archlinux.org/mathematica.git (read-only, click to copy) |
|---|---|
| Package Base: | mathematica |
| Description: | Computational software for mathematics, science, and engineering, with offline documentation included. |
| Upstream URL: | http://www.wolfram.com/mathematica/ |
| Keywords: | algebra calculus documentation math numerical physics science simulation symbolic wolfram |
| Licenses: | LicenseRef-Wolfram-Mathematica-License-Agreement |
| Submitter: | Feanor12 |
| Maintainer: | JP-Ellis (marmis) |
| Last Packager: | marmis |
| Votes: | 82 |
| Popularity: | 0.069642 |
| First Submitted: | 2011-03-03 21:27 (UTC) |
| Last Updated: | 2026-05-16 23:08 (UTC) |
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 38 Next › Last »
@hmenke Thanks - My licence expired with 11.3 so this is v. helpful.
For others with this issue, the problem arose with openmp 9.0.1-1 -> 9.0.1-2, so downgrading to 9.0.1-1 is also an option if that isn't required by another package on your system.
The recent openmp update removed the aliases and now libiomp5.so is no longer provided. Older version of the PKGBUILD did deduplicate system libraries an removed libiomp5.so, so these older version will break now. I chose to just link libomp.so into the package:
ln -sf /usr/lib/libomp.so ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libiomp5.so
This in only an issue with the PKGBUILD for Mathematica 11.3 (an older I guess).
I have fixed the backticks in the PKGBUILD.
I can confirm what @ruy16109 says. When you replace the backticks ` with the common apostrophe ' there is no one ERROR message.
Probably unrelated to my previous comment:
When trying to install 12.0.0 using makechrootpkg (with the help of aur helper "aurutils" using aur build -c), the installation seems to be "unable to determine the pacakge manageer used by the system..." and leaves installation files on my /opt/Mathematica/SystemFiles/Installation under RPM and DEB formats. I guess I can just convert one of them to tar and install it directly.
In the newest update (Mathematica 12.0.0, AUR update time 2019-09-11 23:52), the prepare function contains the following line:
warning ".. 18 GiB of space for makepkg, and ..."
Since around the "makepkg" is a pair of backticks, I am suspecting that this invokes another "makepkg" process and causes the "no PKGBUILD" error that I have been repeatedly for my multiple attempts.
Edit: confirmed. The back ticks caused the prepare() function to fail, and thus I was unable to proceed in makechrootpkg. For some reason makepkg, even though it still shows the error message, continues to run the script.
@Firnen Read the PKGBUILD, there is an explanation on how to obtain that file and where to place it.
A file appears to be missing for the build.
Building mathematica...
==> Making package: mathematica 12.0.0-1 (Thu 19 Sep 2019 03:04:40 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Mathematica_12.0.0_LINUX.sh was not found in the build directory and is not a URL.
@JP-Undercover The issue you have is most likely because you are running out of space. Unfortunately, Mathematica's installer doesn't check for available space and if your drive fills up, Mathematica simply doesn't install create all the files (hence why wolframscript is missing). With the recent updates, I think you'll actually need more than 18GiB (I think the latest version needs 26.4GiB of free space unpack, install and then re-pack everything).
@JP-Ellis i have at least 18GB avalible on my system, i'm trying to edit the PKGBUILD by using yay --editmenu mathematica but it's not working. I've deleted all the cache and tried again, same error shows up, i'm trying to install normally by simply using yay -S mathematica.
EDIT: Installing using yay -S mathematica shows that i in fact don't have enough space, disregard what i said it turns out it was just me being incompetent, thanks for the tip!
Pinned Comments
marmis commented on 2024-12-24 03:37 (UTC) (edited on 2025-05-06 20:14 (UTC) by marmis)
mathematicaandmathematica-lighthave been updated to 14.1. Mathematica 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:$UserBaseDirectoryis now~/.Wolfram(you may need tomv ~/.Mathematica ~/.Wolfram)MATHINITis nowWOLFRAMNB_INIT(for additional arguments to Wolfram)MATHEMATICA_BASEis nowWOLFRAM_BASE(for custom$BaseDirectory)MATHEMATICA_USERBASEis 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.