Package Details: matlab

Git Clone URL: (read-only)
Package Base: matlab
Description: A high-level language for numerical computation and visualization
Upstream URL:
Licenses: custom
Submitter: ido
Maintainer: greyltc (hottea)
Last Packager: hottea
Votes: 20
Popularity: 0.018333
First Submitted: 2015-08-15 09:33
Last Updated: 2019-05-03 02:21

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

sadid commented on 2018-05-01 14:12

@gunjah, you can just copy/paste it here or create your own 2018a specific aur package.

jachymb commented on 2018-04-25 11:54

Please update to 2018a

coldspark commented on 2018-04-19 08:31

I updated the PKGBUILD for 2018a. How can I upload it?

hottea commented on 2017-12-20 12:02

Hello, I write a PKGBUILD based on this one.


  • default installation folder: /opt/matlab
  • license.dat is installed in /opt/matlab/licenses. I'm sure how matlab activing, but just copying license.dat to /etc/matlab/licenses/, and create a soft link from /opt/matlab/licenses to /etc/matlab/licenses/ not work for me.
  • matlab.tar is created by just copying all file in matlab iso file to folder matlab, and tar cvf matlab.tar matlab

However, I just test with _networkinstall=true, and everything works fine. I'm not sure if other activating method would work.

hottea commented on 2017-12-20 02:10

@daniel_shub Hi, it seems that the package don't install the license.dat when _networkinstall=true. It just create a soft link to /etc/matlab/licenses/, but /etc/matlab/licenses/ is not created, license.dat is not installed either. So after installation, one still need to activate matlab.

As for the ISO file, only license Administrator could download the ISO file. I just download it from school website (our school buy licenses). Or one could always down the ISO in some other way. As long as one has the proper license, I think it's OK to do that.

daniel_shub commented on 2017-12-19 19:17

@hottea the tarball is a pain. When I first packaged things, TMW was making getting the ISO file difficult, but you could download zip files of everything you needed from your TMW account. Then they changed the installer so that you could only download the files from the installer. Getting the files into a place that makepkg can find them is a moving target. I no longer have access to new versions of MATLAB and am no longer sure what the easiest or best thing to do it. If I had access to ISO files I would probably just use the ISO and add a checksum.

I used /opt/tmw/matlab based on Adobe Reader ( which puts the package in /opt/Adobe/Reader9 and Google Earth ( which puts the package in /opt/google/earth/free/. I think the FHS requirement for subdirectories to be the LANANA names only came about recently, maybe it is time to just use /opt/matlab.

hottea commented on 2017-12-19 15:07

It seems that the matlab.tar contains all file in the matlab iso, I think it would be better if it one could create a matlab folder, and copy files in matlab iso to the matlab folder, and then create a tarball by tar cvf matlab.tar matlab/. Also why the installation dir is /opt/tmw/matlab? It's a little weird.

@t4mmi In package function, the MATLAB installer output is redirected to /dev/null, you might wanna change it and see the log. In fact, I think it MathWorks's mistake that matlab installer and some other scripts are without x permission. Just chmod +x -R matlab before create matlab.tar might fix it.

jkhsjdhjs commented on 2017-12-04 17:22

@t4mmi You need to place matlab.tar and matlab.fik (a file with your installation key inside) in the directory where you cloned this package. If you used pacaur it is ~/.cache/pacaur/matlab. Further instructions are in the head of the PKGBUILD.

t4mmi commented on 2017-12-04 16:35

was unable to build ...

[user@workstation matlab]$ makepkg -si

==> Making package: matlab (Mon Dec 4 17:31:29 CET 2017)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

==> ERROR: Unknown download protocol: file Aborting...

jkhsjdhjs commented on 2017-12-04 16:32

@streckus: very nice, thank you! It would also be nice if the PKGBUILD would check the exit code of the matlab installer for failure because if the matlab installer fails you won't know, it will only show:

install: cannot stat '/home/MyName/.cache/pacaur/matlab/pkg/matlab/opt/tmw/matlab/license_agreement.txt': No such file or directory

The error, that @yiping_huang, @xcabal and I experienced. For me it failed because I entered a wrong installation key.