Package Details: matlab

Git Clone URL: (read-only, click to copy)
Package Base: matlab
Description: A high-level language for numerical computation and visualization
Upstream URL:
Licenses: custom
Submitter: ido
Maintainer: greyltc
Last Packager: greyltc
Votes: 24
Popularity: 0.73
First Submitted: 2015-08-15 09:33
Last Updated: 2020-02-14 00:00

Latest Comments

« First ‹ Previous ... 4 5 6 7 8 9 10 11 Next › Last »

daniel_shub commented on 2016-08-22 15:19

@Tallix the MATLAB installer makes use of /tmp during the installation process. On Arch, /tmp is a tmpfs that usually defaults to using up to half of your available RAM. This means the space in your home partition does not matter.

When I build from either the PKGBUILD or directly from the MATLAB installer, I get exactly the same files written to /tmp. The only reason I can think of that it works for you with the MATLAB installer and not the PKGBUILD is that maybe you are only installing a subset of the toolboxes with the MATLAB installer. If you install less stuff, you need less space in /tmp.

Since the tmpfs filesystem uses RAM it is much faster than filesystems located on a physical hard drive. That said, the Arch way may be to keep everything in ${srcdir}. Let me check.

In the mean time you can either mount /tmp as a regular filesystem ( or edit the PKGBUILD to pass the MATLAB installer '-tmpdir "${srcdir}"'. Basically, you want to change line 66 from

"${srcdir}/install" -t -inputFile "${srcdir}/installer_input.txt" -mode silent &> /dev/null


"${srcdir}/install" -t -inputFile "${srcdir}/installer_input.txt" -mode silent -tmpdir "${srcdir}" &> /dev/null

Tallix commented on 2016-08-22 06:40

@0tie @daniel_shub @ido I'm having the same problem, even when running makepkg -s while in my home partition, which has 662.7GB of free space. The origin of the issue appears to be the Matlab installer. I modified the PKGBUILD so that the output of the Matlab installer is not redirected to /dev/null and now I'm seeing errors from cp saying that it has no space left on the device when trying to write to /tmp/mathworks_23253/whatever and a final error that says "Error: No classpath definition jar found." I find this strange, because I was able to run the installer by itself just fine earlier... I just wanted to use the AUR package because it integrates everything into Arch nicely.

greyltc commented on 2016-08-21 15:58

In case it helps anyone else...
MATLAB on my machine was segfaulting a few seconds after I started it and it mostly finished drawing the UI:
Segmentation violation detected at Sun Aug 21 16:50:31 2016
I've found two solutions.
1. Running matlab -r "opengl('save','software')" solves it (on next startup)
2. Run it with LIBGL_DRI3_DISABLE=1 matlab

greyltc commented on 2016-08-19 16:10


Do you think it would break anything if you renamed the /usr/bin/mex link you have here to something else (/usr/bin/mex-ml perhaps)? That file name conflicts with a file provided in
which is a shame. At the very least, you should add texlive-bin to `conflicts`

ido commented on 2016-07-22 15:57

@0tie: do you get the same issues when you do this somewhere outside of /tmp (for example, in your home directory):

yaourt -G matlab
cd matlab
makepkg -s

... /tmp is a tmpfs that usually defaults to using up to half of your available RAM.

daniel_shub commented on 2016-07-20 15:50

@Otie Are you sure that /tmp actually has 25G of free space? Arch uses a tempfs for /tmp by default ( so I think the free space will be limited by your RAM and swap space. What does df -h /tmp give you? How many toolboxes are trying to install?

0tie commented on 2016-07-18 16:05

Hey there, the problem of korfa in still exists. Tried to install R2016a the whole day :/
The Matlab installer complains about not having enough space in /tmp, but it should have (25G!):

==> Erstelle und installiere Paket
==> Erstelle Paket: matlab 08.06.00-1 (Mo 18. Jul 17:59:46 CEST 2016)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> matlab.iso gefunden
-> matlab.fik gefunden
==> Überprüfe source Dateien mit md5sums...
matlab.iso ... Übersprungen
matlab.fik ... Übersprungen
==> Entpacke Quellen...
-> Entpacke matlab.iso mit bsdtar
==> Beginne prepare()...
-> Creating desktop file
-> Extracting file installation key
-> Modifying the installer settings
==> Betrete fakeroot Umgebung...
==> Beginne package()...
-> Starting MATLAB installer
Preparing installation files ...
Installing ...
(Jul 18, 2016 18:01:54) # Today's Date:
(Jul 18, 2016 18:01:54) Mon Jul 18 18:01:54 CEST 2016
(Jul 18, 2016 18:01:54)
(Jul 18, 2016 18:01:54) System Info
(Jul 18, 2016 18:01:54) OS: Linux 4.6.4-1-ARCH
(Jul 18, 2016 18:01:54) Arch: amd64
(Jul 18, 2016 18:01:54) Data Model: 64
(Jul 18, 2016 18:01:54) Language: de
(Jul 18, 2016 18:01:54) Java Vendor: Oracle Corporation
(Jul 18, 2016 18:01:54) Java Home: /tmp/mathworks_16073/sys/java/jre/glnxa64/jre
(Jul 18, 2016 18:01:54) Java Version: 1.7.0_60
(Jul 18, 2016 18:01:54) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Jul 18, 2016 18:01:54) Java Class Path: /tmp/mathworks_16073/java/config/professionalinstaller/pathlist.jar
(Jul 18, 2016 18:01:54) User Name: root
(Jul 18, 2016 18:01:54) Current Directory: /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:54) Input arguments:
(Jul 18, 2016 18:01:54) root /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:54) libdir /tmp/mathworks_16073
(Jul 18, 2016 18:01:54) t true
(Jul 18, 2016 18:01:54) inputFile /tmp/yaourt-tmp-johannes/aur-matlab/src/installer_input.txt
(Jul 18, 2016 18:01:54) mode silent
(Jul 18, 2016 18:01:54) standalone true
(Jul 18, 2016 18:01:55) Input file:


(Jul 18, 2016 18:01:57) Starting local product/component search in download directory
(Jul 18, 2016 18:01:57) Searching for archives...
(Jul 18, 2016 18:01:57) Reading /tmp/yaourt-tmp-johannes/aur-matlab/src/archives
(Jul 18, 2016 18:01:57) Assembling product list...
(Jul 18, 2016 18:01:57) 2210 files found in /tmp/yaourt-tmp-johannes/aur-matlab/src/archives
(Jul 18, 2016 18:01:57) Reading /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:57) 15 files found in /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:57) /root/Downloads/MathWorks/R2016a/archives doesn't exist ... skipping.
(Jul 18, 2016 18:01:57) Archive search complete. 2225 total files found.
(Jul 18, 2016 18:02:04) Completed local product/component search
(Jul 18, 2016 18:02:05) Installing Product: MATLAB 9.0
(Jul 18, 2016 18:02:12) /tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/toolbox/matlab/icons/plotpicker-simio.png (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)
at Method)
at Source)
at Source)

(Jul 18, 2016 18:02:12) The following error was detected while installing matlab_toolbox_icons_common:

/tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/toolbox/matlab/icons/plotpicker-simio.png (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)

Would you like to retry installing matlab_toolbox_icons_common? If you press No, the installer will exit without completing the installation. More information can be found at /tmp/mathworks_root.log
(Jul 18, 2016 18:02:12) Exiting with status -1
(Jul 18, 2016 18:02:13) End - Unsuccessful.
-> Installing license
-> Creating links for license.lic
-> Creating links for executables
-> Installing desktop files
install: der Aufruf von stat für '/tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/help/matlab/matlab_env/matlab_desktop_icon.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
==> FEHLER: Ein Fehler geschah in package().
Breche ab...
==> FEHLER:Makepkg konnte matlab nicht erstellen.

birnenwerfer commented on 2016-03-31 00:44

I get the same error
"Protocol for the unknown download : files"

But I have downloaded the matlab iso file (R2016a_glnxa64.iso) with campus licence from our university. We don't need a keyfile or anything like this. We get a registration key a register the product into matlab.
So how do I have to install matlab with this AUR Package?

daniel_shub commented on 2016-03-02 14:45

MATLAB is proprietary software and you need to supply the iso in order to build the package. While some licenses do not provide you with a DVD or allow you to download an iso file, many licenses allow you to download the MATLAB installer zip file which can then be used to build the iso (see, the PKGBUILD and Wiki). If you do not have a license, or your license does not allow you to get the software, then you cannot use MATLAB.

darkanmoore commented on 2016-03-02 10:30

Hi, I have a problem with matlab installation:
"Protocol for the unknown download : files".
It's possible to resolve this problem, because I really need this program, and I can't download iso and install for it.