I vote for petronny's comment.
Search Criteria
Package Details: matlab 9.14.0.2337262-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/matlab.git (read-only, click to copy) |
---|---|
Package Base: | matlab |
Description: | A high-level language for numerical computation and visualization |
Upstream URL: | https://www.mathworks.com |
Keywords: | computation matlab numerical visualization |
Licenses: | custom |
Provides: | matlab-bin |
Submitter: | ido |
Maintainer: | None |
Last Packager: | Rubo |
Votes: | 40 |
Popularity: | 0.000512 |
First Submitted: | 2015-08-15 09:33 (UTC) |
Last Updated: | 2023-09-19 12:20 (UTC) |
Dependencies (2)
- matlab-metaAUR
- gendesk (make)
Required by (11)
- carnot
- digital_rf-git (optional)
- diplib-git (optional)
- gurobi (optional)
- gurobi81 (optional)
- jupyter-matlab_kernel (optional)
- libmole (optional)
- matlab-segymat (optional)
- python-matlabengine
- vitis (optional)
- vivado (optional)
Sources (3)
specter119 commented on 2018-08-02 11:25 (UTC)
a36233 commented on 2018-07-25 14:03 (UTC) (edited on 2018-07-25 14:22 (UTC) by a36233)
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().
Aborting...
"installer_input.txt" it at root of the tar file in r2018a
petronny commented on 2018-07-23 03:04 (UTC) (edited on 2018-07-23 03:08 (UTC) by petronny)
@hottea
1
source=("file://matlab.tar"
- "file://matlab.fik")
+ "file://matlab.fik"
+ "file://matlab.lic"
+ "matlab.png::https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png")
,
-#_networkinstall=true
-
-## 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')
-fi
Why matlab.lic is added as source for non-network installations?
2
- msg2 'Configuring mex options'
- sed -i "s#CC='gcc'#CC='gcc-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/mexopts.sh"
- sed -i "s#CXX='g++'#CXX='g++-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/mexopts.sh"
- sed -i "s#FC='gfortran'#FC='gfortran-4.7'#g" "${pkgdir}/opt/tmw/${pkgname}/bin/mexopts.sh"
,
- ## See $MATLABROOT/sys/os/glnxa64/README.libstdc++
- msg2 'Removing unused library files'
- rm ${pkgdir}/opt/tmw/${pkgname}/sys/os/glnxa64/{libstdc++.so.6.0.20,libstdc++.so.6,libgcc_s.so.1,libgfortran.so.3.0.0,libgfortran.so.3,libquadmath.so.0.0.0,libquadmath.so.0}
and
- # make sure MATLAB can find libgfortran.so.3
- 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?
3
-## 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.
4
$ 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 (UTC)
Done. Go ahead and make your changes folks!
hottea commented on 2018-07-20 15:35 (UTC)
@greyltc Ok, I'm glad to.
petronny commented on 2018-06-26 08:30 (UTC)
@greyltc OK if you approve my changes.
greyltc commented on 2018-06-20 17:36 (UTC)
@petronny and/or @hottea, would you like me to make you a co-maintainer?
petronny commented on 2018-05-08 21:58 (UTC) (edited on 2018-05-09 11:02 (UTC) by petronny)
@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.
hottea commented on 2018-05-02 07:52 (UTC)
Hi all, I create a repo in Github. If interested, one could use this PKGBUILD for building a package. I remove all dependencies, install all products available by default, and no desktop entry is provided. I gonna add a desktop entry to wiki.
greyltc commented on 2018-05-01 14:26 (UTC)
@gunjah post a link here to a pastebin (or similar) of your 2018a PKGBUILD and I'll have a look at getting it in here
Pinned Comments
Rubo commented on 2022-09-25 13:31 (UTC) (edited on 2022-09-25 13:32 (UTC) by Rubo)
Hi, I'm tackling the problem with the add-ons installation, where the installer can't write to
/usr/local/MATLAB/R2022b
. I think we should avoid manualchmod
s orchown
s, as it would be easy to mess up with the permissions, so I created amatlab
group withrwx
permissions, which owns the tree starting at/usr/local/MATLAB/R2022b
. The PKGBUILD sets up the correct permissions, so after installing MATLAB, you should just add yourself to that group, re-login and then you should be able to install add-ons. So far I'm able to start the installer, download the add-on archive, but when I get toPerforming post-installation tasks. This may take a few minutes...
, an error occurs, and the installer logsEnd - Unsuccessful Exception: java.lang.InterruptedException
without further information.If anyone wants to help me resolve this issue, here is the repo: https://github.com/Rubo3/matlab-aur/tree/addons.
Rubo commented on 2022-09-16 13:52 (UTC) (edited on 2022-09-16 20:26 (UTC) by Rubo)
I updated the PKGBUILD to MATLAB R2022b. Sorry it took so long. Here are the main changes:
namcap
(thanks @sukanka), and are now managed via the matlab-meta meta package, now it's really easy to play around with them, as you don't have to rebuild the entire MATLAB package (thanks @bbaserdem). I still don't know the exact dependencies needed by MATLAB, as I don't use all its toolkits and whatnots. As always, please tell me if you find something.install.log
, under the same directory of the PKGBUILD, so that you can check whether something went wrong even if it didn't fail (e.g. when you need a new license or installation key because the major version changed).python-matlabengine
to its own repo, which is built from upstream and works for the latest MATLAB versions. Currently it supports Python 3.9 and 3.10. If you have other needs, you can find the installation instructions here. Since the source files are still provided in your local MATLAB installation under$_instdir/extern/engines/python
, building it and packaging it here was really just a convenience. I would like to know how many users of this PKGBUILD really need to spoof their Python version, so that we can reason about putting back that extra logic in the other PKGBUILD.silverbluep commented on 2020-09-21 16:39 (UTC) (edited on 2021-02-03 18:13 (UTC) by silverbluep)
READ THE README FILE IN THE REPO. NO AUR HELPERS SUPPORTED. ONLY ARCHLINUX AS OS IS SUPPORTED. YOU SHOULD BE BUILDING THIS PACKAGE USING MAKEPKG, NOTHING ELSE WILL BE SUPPORTED. Please only post issues here AFTER you followed the README.md. located at the root of this repo: https://aur.archlinux.org/cgit/aur.git/tree/README.md?h=matlab Due to a lot of comments; my spam filter is removing AUR notifications which keeps me from responding timely to issues in packaging, please don't post if you don't do some troubleshooting yourself. If your skill level is not up to troubleshooting (or following simple instructions as laid out by the readme), just install matlab locally, without using this package.