@daniel_shub
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
https://www.archlinux.org/packages/extra/x86_64/texlive-bin/
which is a shame. At the very least, you should add texlive-bin to `conflicts`
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.000852 |
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)
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 Next › Last »
greyltc commented on 2016-08-19 16:10 (UTC) (edited on 2016-08-21 14:11 (UTC) by greyltc)
ido commented on 2016-07-22 15:57 (UTC)
@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 (UTC)
@Otie Are you sure that /tmp actually has 25G of free space? Arch uses a tempfs for /tmp by default (https://wiki.archlinux.org/index.php/Tmpfs) 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 (UTC) (edited on 2016-07-18 19:10 (UTC) by 0tie)
Hey there, the problem of korfa in https://aur.archlinux.org/packages/matlab-r2015b/ 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) java.io.FileNotFoundException: /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 java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
[...]
at java.lang.Thread.run(Unknown 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.
Finished
-> 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 (UTC)
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 (UTC)
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 (UTC)
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.
Thanks
kyak commented on 2015-12-30 17:14 (UTC)
Thanks a lot for your reply and such a thorough approach to packaging! Didn't know about namcap - nice!
daniel_shub commented on 2015-12-30 16:51 (UTC)
I came up with the dependency list using a combination of namcap and my own test suite (basically the things listed on the Arch Wiki). I run namcap and remove any dependency it says is included and not needed and add any dependency it says is not included. I then run my test suite in a clean chroot. I then find the minimum set of packages needed to pass the suite and add them as dependencies.
I do not keep a list of which dependencies are needed to pass the test suite. I do know that namcap does not think the libxp, libxpm, and ncursues5-compat-libs packages are needed, but they are needed to pass my test suite. My test suite is not comprehensive, so while namcap may be picking up dependencies that are not needed, passing the test without a namcap detected dependency, does not mean the dependency is not needed by some untested MATLAB function. At some point I would like to go through the namcap output and use that to build a better test suite so I could tell you the exact behavior that would demonstrate why a dependency is included.
In regards to the gconf package, I can uninstall it and the test suite still passes. In otherwords, the gconf package is a dependency because namcap says it is needed. Specifically, namcap says:
matlab E: Dependency gconf detected and not included (libraries ['usr/lib/libgconf-2.so.4'] needed in files ['opt/tmw/matlab/bin/glnxa64/libcef.so', 'opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/components/libmozgnome.so', 'opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/components/libnkgnomevfs.so'])
kyak commented on 2015-12-30 14:42 (UTC)
@daniel_shub: how did you come up with the list of package dependencies? For example, gconf - why is it needed? I don't have most of these packages, and doesn't seem to have problems. I'm installing manually, and just came across this PKGBUILD.
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.