As an optional dependency, glxinfo should be added for optimized graphics capabilities (I updated my gist in the comment below to reflect that).
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: | 79 |
Popularity: | 0.005901 |
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-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, 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-maemoAUR, 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, 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, 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, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-openj9-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, amazon-corretto-22-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zulu-21-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-21-full-binAUR, jdk8-temurinAUR, mandrel-binAUR, mandrel24-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk8-perfAUR, jdk22-graalvm-binAUR, jdkAUR, jdk19-openjdkAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jdk21-jetbrains-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jdk21-openj9-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, java-openjdk-ea-binAUR, 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, 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, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jdk8AUR, jre8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, jre17AUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-openj9-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-jre-fx-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, amazon-corretto-22-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zulu-21-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-21-full-binAUR, jdk8-temurinAUR, mandrel-binAUR, mandrel24-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk8-perfAUR, jdk22-graalvm-binAUR, jreAUR, jdkAUR, jre19-openjdkAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jdk21-jetbrains-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jdk21-openj9-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, jre21-jetbrainsAUR, 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)
- 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-525xx-utilsAUR, nvidia-utils-teslaAUR, nvidia-510xx-utilsAUR, nvidia-390xx-utilsAUR, nvidia-470xx-utilsAUR, nvidia-535xx-utilsAUR, nvidia-550xx-utilsAUR, nvidia-utils-betaAUR) (optional)
- openssl-1.0AUR (optional)
- pango (pango-gitAUR) (optional)
- pixman (pixman-gitAUR) (optional)
- portaudio (optional)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (optional)
- python (python37AUR, python311AUR, python310AUR) (optional)
- qt5-declarative (qt5-declarative-gitAUR) (optional)
- qt5-multimedia (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)
Latest Comments
« First ‹ Previous 1 .. 20 21 22 23 24 25 26 27 28 29 30 .. 37 Next › Last »
JP-Ellis commented on 2016-07-25 01:39 (UTC)
JP-Ellis commented on 2016-05-28 03:18 (UTC)
Yeah, unfortunately, the comments on this site are stripped of leading whitespaces :/
Here's a gist which has all the whitespaces preserved:
https://gist.github.com/JP-Ellis/cdda6f7be5938c9e3af446f46032e4f8
kjslag commented on 2016-05-27 22:55 (UTC)
Thanks! I added the symbolic links.
That's a lot of aesthetic changes, and ironically the indentation whitespace was lost...
JP-Ellis commented on 2016-05-27 08:21 (UTC)
Wolfram is pushing their new "Wolfram Language" and as a result, they now have `wolfram` and `WolframKernel` (as binaries which should be installed as well. These are (afaik) equivalent to `math` and `MathKernel`.
Here's an updated PKGBUILD (which has a few minor aesthetic changes as well):
```
# Maintainer: kjslag <kjslag at gmail dot com>
# Contributor: Michael Pusterhofer <pusterhofer at student dot tugraz dot at>
# Contributor: Raphael Scholer <rscholer@gmx.de>
# Contributor: Anish Tondwalkar <anish@tjhsst.edu>
# Contributor: Ghost91 <m_graeb11@cs.uni-kl.de>
# Contributor: teratomata <teratomat@gmail.com>
# Contributor: Joshua Ellis <josh@jpellis.me>
pkgname=mathematica
pkgver=10.4.1
pkgrel=2
pkgdesc="A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing."
arch=('i686' 'x86_64')
url="http://www.wolfram.com/mathematica/"
license=('proprietary')
depends=('ttf-bitstream-vera' 'libxcursor' 'alsa-lib' 'libxml2')
source=("local://Mathematica_${pkgver}_LINUX.sh")
md5sums=('ea1f13a88279e6fc2ed1edc80e7a1612')
install='mathematica.install'
options=('!strip')
PKGEXT=".pkg.tar"
# To build this package you need to place the mathematica-installer into your startdir
# If you don't own the installer you can download a trial version at http://www.wolfram.com/mathematica/trial
build() {
if [[ `echo "${srcdir}" | wc -w` -ne 1 ]]
then echo
echo "ERROR: The Mathematica installer doesn't support directory names with spaces. Try building from a directory without spaces."
echo "current build directory: ${srcdir}"
false
fi
chmod +x ${srcdir}/Mathematica_${pkgver}_LINUX.sh
}
package() {
# https://reference.wolfram.com/language/tutorial/InstallingMathematica.html#650929293
${srcdir}/Mathematica_${pkgver}_LINUX.sh -- \
-execdir=${pkgdir}/usr/bin \
-targetdir=${pkgdir}/opt/Mathematica \
-auto
printf "Fixing symbolic symlinks..."
cd ${pkgdir}/usr/bin
rm *
ln -s /opt/Mathematica/Executables/math
ln -s /opt/Mathematica/Executables/mathematica
ln -s /opt/Mathematica/Executables/Mathematica
ln -s /opt/Mathematica/Executables/MathKernel
ln -s /opt/Mathematica/Executables/mcc
ln -s /opt/Mathematica/Executables/wolfram
ln -s /opt/Mathematica/Executables/WolframKernel
printf " Done\n"
printf "Linking MathematicaScript..."
if [ "${CARCH}" = "x86_64" ]; then
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux-x86-64/MathematicaScript
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux-x86-64/WolframScript
else
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux/MathematicaScript
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux/WolframScript
fi
printf " Done\n"
printf "Copying menu and mimetype information..."
mkdir -p ${pkgdir}/usr/share/applications
mkdir -p ${pkgdir}/usr/share/desktop-directories
mkdir -p ${pkgdir}/usr/share/mime/packages
cd ${pkgdir}/opt/Mathematica/SystemFiles/Installation
desktopFile='wolfram-mathematica.desktop'
sed -Ei 's|^(\s*TryExec=).*|\1/usr/bin/Mathematica|g' $desktopFile
sed -Ei 's|^(\s*Exec=).*|\1/usr/bin/Mathematica %F|g' $desktopFile
cp $desktopFile ${pkgdir}/usr/share/applications/
echo -e '\t\tCategories=Science;Math;NumericalAnalysis;DataVisualization;' >> ${pkgdir}/usr/share/applications/$desktopFile
cp wolfram-all.directory ${pkgdir}/usr/share/desktop-directories/
cp *.xml ${pkgdir}/usr/share/mime/packages/
printf " Done\n"
printf "Copying icons..."
mkdir -p ${pkgdir}/usr/share/icons/hicolor/{32x32,64x64,128x128}/{apps,mimetypes}
cd ${pkgdir}/opt/Mathematica/SystemFiles/FrontEnd/SystemResources/X
for i in "32" "64" "128"; do
cp App.Mathematica.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/wolfram-mathematica.png
cp App.Player.${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/wolfram-mathematicaplayer.png
cp vnd.wolfram.cdf.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-vnd.wolfram.cdf.png
cp vnd.wolfram.nb.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-mathematica.png
cp vnd.wolfram.player.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-mathematicaplayer.png
cp vnd.wolfram.cdf.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-vnd.wolfram.cdf.png
cp vnd.wolfram.nb.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/gnome-mime-application-mathematica.png
cp vnd.wolfram.player.${i}.png\
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/gnome-mime-application-mathematicaplayer.png
cp vnd.wolfram.cdf.${i}.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/mimetypes/gnome-mime-application-vnd.wolfram.cdf.png
done
printf " Done\n"
printf "Copying man pages..."
mkdir -p ${pkgdir}/usr/share/man/man1
cd ${pkgdir}/opt/Mathematica/SystemFiles/SystemDocumentation/Unix
cp *.1 ${pkgdir}/usr/share/man/man1
printf " Done\n"
printf "Fixing file permissions..."
chmod go-w -R ${pkgdir}/*
printf " Done\n"
}
# vim:set ts=2 sw=2 et:
# Local Variables:
# major-mode: sh
# End:
```
kjslag commented on 2016-05-03 20:29 (UTC)
@mirh done
mirh commented on 2016-05-03 19:32 (UTC)
It wouldn't be bad if you could edit this with local:// "protocol" instead of the unsupported file://
karlpvoss commented on 2016-04-26 06:12 (UTC)
Thanks someonerandom and kjslag, downgrading worked very well. No problems installing the package.
kjslag commented on 2016-04-25 17:17 (UTC)
If you can't install due to the gzip-1.7 error, you could downgrade gzip by downloading and installing gzip-1.6 from
https://archive.archlinux.org/packages/g/gzip/
torfan commented on 2016-04-25 14:23 (UTC)
@someonerandom I installed yesterday Arch Linux with KDE Desktop and I can't install Mathematica. I have the problem you describe. I don't know how to apply the patch you refer. How I will install Mathematica (or the patch)?
Thanks in advance.
someonerandom commented on 2016-04-24 12:28 (UTC)
If someone recently wants to build this package, keep away from gzip-1.7-1:
gzip: write error: Bad file descriptor
expr: syntax error
Critical Failure in CheckSpace_()
Unix/Installer/MathInstaller: line 3484: [: =: unary operator expected
Unix/Installer/MathInstaller: line 3488: [: =: unary operator expected
Unix/Installer/MathInstaller: line 3484: [: =: unary operator expected
Unix/Installer/MathInstaller: line 3488: [: =: unary operator expected
This is only fixed at git at the moment: http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=3557cd57906915eb9c990b5f386e25c395592643
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.