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: hottea
Votes: 24
Popularity: 1.21
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 ... Next › Last »

petronny commented on 2018-08-03 05:57


Also, is there a specific reason for having non pkg.xz extension?

Because it will take a lot of time to compress the package and then you will extract it just after the compression.

bbaserdem commented on 2018-08-03 01:39

ncurses5-compat-libs is necessary only for >=2016a, which I believe can be phased out. That would leave only a single aur dependency. There is a matlab-2015b package seperately in aur.

Also, is there a specific reason for having non pkg.xz extension?

Also getting a ==> WARNING: Package contains reference to $srcdir.

@a36233 your tar has to have a folder matlab in it, not directly the contents of the matlab installation. Either untar into a directory named matlab then tar -cvf matlab.tar matlab the directory. Or remove the ${pkgname} from the lines that refer to the source files.

specter119 commented on 2018-08-02 11:25

I vote for petronny's comment.

a36233 commented on 2018-07-25 14:03

I'm having the following problem:

-> Modifying the installer settings
sed: can't read
<path>AUR/matlab/matlab/src/matlab/installer_input.txt: No such file or directory</path>
==> ERROR: A failure occurred in prepare().

"installer_input.txt" it at root of the tar file in r2018a

petronny commented on 2018-07-23 03:04


-        "file://matlab.fik")
+       "file://matlab.fik"
+       "file://matlab.lic"
+       "matlab.png::")


-## For network installations, apparently, a license file needs to be used for the installation.
-if [ ! -z ${_networkinstall+isSet} ]; then
-  source+=("file://license.dat")
-  md5sums+=('SKIP')

Why matlab.lic is added as source for non-network installations?

-  msg2 'Configuring mex options'
-  sed -i "s#CC='gcc'#CC='gcc-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/"
-  sed -i "s#CXX='g++'#CXX='g++-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/"
-  sed -i "s#FC='gfortran'#FC='gfortran-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/"


-  ## See $MATLABROOT/sys/os/glnxa64/README.libstdc++
-  msg2 'Removing unused library files'
-  rm ${pkgdir}/opt/tmw/${pkgname}/sys/os/glnxa64/{,,,,,,}


-  # make sure MATLAB can find
-  sed -i 's,LD_LIBRARY_PATH="`eval echo $LD_LIBRARY_PATH`",LD_LIBRARY_PATH="`eval echo $LD_LIBRARY_PATH`:/usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0",g' "${pkgdir}/opt/tmw/matlab/bin/matlab"

Why these are removed?

-## This PKGBUILD creates an Arch Linux package for the proprietary MATLAB application. A license from The MathWorks is needed in order to both build the package and to run MATLAB once the package is installed. In order to build the package the user must supply a plain text file installation key and the software. For network installations, in addition to the file installation key, a license file needs to be used for the installation. The tar archive file can be generated from an ISO downloaded from The MathWorks, generated from the official DVD, or created by using the interactive installer to download the toolboxes (installation can be made to a temporary directory and canceled once the toolboxes are downloaded). The contents of the tar archive must include: ./archives/ ./bin/ ./etc/ ./help/ ./java/ /sys ./activate.ini ./install ./installer_input.txt

Why these instructions are removed? They are much clearer.

$ pacman -Fo /usr/bin/mex
usr/bin/mex is owned by extra/texlive-bin 2017.44590-14

Please rename the mex binary in matlab.

greyltc commented on 2018-07-20 16:07

Done. Go ahead and make your changes folks!

hottea commented on 2018-07-20 15:35

@greyltc Ok, I'm glad to.

petronny commented on 2018-06-26 08:30

@greyltc OK if you approve my changes.

greyltc commented on 2018-06-20 17:36

@petronny and/or @hottea, would you like me to make you a co-maintainer?

petronny commented on 2018-05-08 21:58

@greyltc I wrote a 2018a PKGBUILD here. It behaves almost as same as your current one, except splitting the keys to a new package.

PS. You can just pull my repository to fetch these changes.