Package Details: matlab 9.3.0.713579-2

Git Clone URL: https://aur.archlinux.org/matlab.git (read-only)
Package Base: matlab
Description: A high-level language for numerical computation and visualization
Upstream URL: http://www.mathworks.com
Licenses: custom
Submitter: ido
Maintainer: greyltc (daniel_shub, ido)
Last Packager: greyltc
Votes: 11
Popularity: 0.809471
First Submitted: 2015-08-15 09:33
Last Updated: 2017-11-26 23:53

Latest Comments

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 9.3.0.713579-2 (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.

alleut commented on 2017-11-28 15:06

What are the steps to install Matlab using this PKGBUILD? Wiki tells about an ISO, but MathWorks lets download a ZIP, and the PKGBUILD uses a TAR.
Any example how to proeed?

otaj commented on 2017-11-27 17:04

Why is there added the weird number after version 9.3 (aka current version 9.3.0.713579)? As far as I know, it's not MathWorks' numbering (they use just 9.3) and when I tweaked the PKGBUILD manually from previous release before you bumped the version up to comply with our school's installation of MATLAB, I just put there 9.3 and now pacaur (pacman helper) wants me to update it every time, since 9.3.0.713579 is newer version than 9.3. I know, I can add it to IgnorePkg (and that's the current status), but it's sort of annoying.

Anyway, not to sound so negative, thanks for the PKGBUILD, it's awesome to have something to build it upon ;)

streckus commented on 2017-11-19 18:03

I modified the PKGBUILD to correctly link to gcc49 (for mex), link mex as /usr/bin/matlab-mex for avoiding conflicts with texlive etc. and include the fixes for Addon Manager and Help Browser from the Wiki mentioned in Turtizzles comment below. You can find my version here: https://pastebin.com/wyKwL728
(Also, I dropped the ncurses5-compat-libs dependency since its not needed anymore, see https://wiki.archlinux.org/index.php/matlab#Installing_from_the_MATLAB_installation_software )

alienzj commented on 2017-11-02 00:23

sudo pacman -U matlab-9.2.0.556344-3-x86_64.pkg.tar
[sudo] password for alienzj:
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) matlab-9.2.0.556344-3

Total Installed Size: 14088.64 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [########################################################################] 100%
(1/1) checking package integrity [########################################################################] 100%
(1/1) loading package files [########################################################################] 100%
(1/1) checking for file conflicts [########################################################################] 100%
error: failed to commit transaction (conflicting files)
matlab: /usr/bin/mcc exists in filesystem
matlab: /usr/bin/mex exists in filesystem
Errors occurred, no packages were upgraded.

Turtizzle commented on 2017-10-25 16:48

gcc5 was updated to version 5.5, now the path to libgfortran.so.3 changed to /usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0/libgfortran.so.3.
The last line in package() needs a change. :)

For everyone who does not want to build the entire package again because of this small change:
Open /opt/tmv/matlab/bin/matlab in the editor of your choice and change the two paths manually.

Edit: As we're already editing links: we could also include the fixes from "Addon Manager not working": https://wiki.archlinux.org/index.php/matlab#Addon_manager_not_working
(In addition to the update, ofc)

yiping_huang commented on 2017-10-21 17:23

==> Entering fakeroot environment...
==> Starting package()...
-> Starting MATLAB installer
-> Installing license
install: cannot stat '/home/_MyName_/.cache/pacaur/matlab/pkg/matlab/opt/tmw/matlab/license_agreement.txt': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
:: failed to build matlab package(s)

Same as @xcabal, there is no pacaur/matlab/pkg/matlab/opt folder.

daniel_shub commented on 2017-10-18 13:48

@21violins you need to download the software from the Mathworks and put the software in the build directory. the PKGBUILD tells you how to do this.

All comments