Package Details: mathematica 12.0.0-1

Git Clone URL: (read-only)
Package Base: mathematica
Description: A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
Upstream URL:
Licenses: proprietary
Submitter: Feanor12
Maintainer: JP-Ellis
Last Packager: JP-Ellis
Votes: 61
Popularity: 0.296086
First Submitted: 2011-03-03 21:27
Last Updated: 2019-06-09 00:27

Dependencies (61)

Required by (1)

Sources (1)

Pinned Comments

JP-Ellis commented on 2019-04-24 05:41

Update to Mathematica 12.0.0

Summary of new features:

Please let me know if you encounter any issues.

Latest Comments

« First ‹ Previous ... 8 9 10 11 12 13 14 15 16 17 18 ... Next › Last »

kjslag commented on 2016-07-25 02:37

Really? What exactly does glxinfo add to Mathematica? If it does do something, I think mesa-demos would be better since it's in Extra as opposed to the AUR.

JP-Ellis commented on 2016-07-25 01:39

As an optional dependency, glxinfo should be added for optimized graphics capabilities (I updated my gist in the comment below to reflect that).

JP-Ellis commented on 2016-05-28 03:18

Yeah, unfortunately, the comments on this site are stripped of leading whitespaces :/

Here's a gist which has all the whitespaces preserved:

kjslag commented on 2016-05-27 22:55

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

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 <>
# Contributor: Anish Tondwalkar <>
# Contributor: Ghost91 <>
# Contributor: teratomata <>
# Contributor: Joshua Ellis <>

pkgdesc="A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing."
arch=('i686' 'x86_64')
depends=('ttf-bitstream-vera' 'libxcursor' 'alsa-lib' 'libxml2')


# 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

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}"

chmod +x ${srcdir}/Mathematica_${pkgver}

package() {
${srcdir}/Mathematica_${pkgver} -- \
-execdir=${pkgdir}/usr/bin \
-targetdir=${pkgdir}/opt/Mathematica \

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
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux/MathematicaScript
ln -s /opt/Mathematica/SystemFiles/Kernel/Binaries/Linux/WolframScript
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

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 ${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 \
cp App.Player.${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/wolfram-mathematicaplayer.png
cp vnd.wolfram.cdf.${i}.png \
cp vnd.wolfram.nb.${i}.png \
cp vnd.wolfram.player.${i}.png \
cp vnd.wolfram.cdf.${i}.png \
cp vnd.wolfram.nb.${i}.png \
cp vnd.wolfram.player.${i}.png\
cp vnd.wolfram.cdf.${i}.png \
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

@mirh done

mirh commented on 2016-05-03 19:32

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

Thanks someonerandom and kjslag, downgrading worked very well. No problems installing the package.

kjslag commented on 2016-04-25 17:17

If you can't install due to the gzip-1.7 error, you could downgrade gzip by downloading and installing gzip-1.6 from

torfan commented on 2016-04-25 14:23

@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.