@vitaliikuzhdin I am pretty sure the problems @aoneko and @Reexys are not related to the execstack and are rather related to an issue with the newest gnutls, but I am still on 2024b so cannot be certain. I posted a work around at https://bbs.archlinux.org/viewtopic.php?pid=2251599#p2251599
Search Criteria
Package Details: matlab 1:R2025a.25.1.0.2943329-6
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/products/matlab.html |
Keywords: | computation matlab numerical visualization |
Licenses: | custom:MATLAB EULA |
Provides: | matlab-version |
Submitter: | ido |
Maintainer: | vitaliikuzhdin |
Last Packager: | vitaliikuzhdin |
Votes: | 41 |
Popularity: | 0.46 |
First Submitted: | 2015-08-15 09:33 (UTC) |
Last Updated: | 2025-06-25 09:52 (UTC) |
Dependencies (90)
- alsa-lib
- apr
- apr-util
- at-spi2-core (at-spi2-core-gitAUR)
- ca-certificates (ca-certificates-utils)
- cairo (cairo-gitAUR)
- cfitsio9AUR
- fluxbox (fluxbox-noslitAUR, fluxbox-gitAUR, fluxbox-wmAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR, freetype2-macosAUR)
- fribidi (fribidi-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- glu (glu-gitAUR)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR)
- gstreamer (gstreamer-gitAUR)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR)
- hunspell (hunspell-gitAUR)
- hunspell-en_us
- libcap
- libdrm (libdrm-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libice
- libsm
- libsndfile (libsndfile-gitAUR)
- libssh2 (libssh2-gitAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libtirpc
- libx11 (libx11-gitAUR)
- libxau
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxdamage
- libxdmcp
- libxext (libxext-gitAUR)
- libxfixes
- libxft (libxft-gitAUR)
- libxi (libxi-gitAUR)
- libxinerama (libxinerama-randr-gitAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- libxml2-legacy
- libxrandr (libxrandr-gitAUR)
- libxrender
- libxslt (libxslt-gitAUR)
- libxt
- libxxf86vm
- make (make-gitAUR)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, mesa-minimal-gitAUR, vulkan-terakan-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-amber)
- nanomsg (nanomsg-gitAUR)
- net-tools (net-tools-gitAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- pam (pam-selinuxAUR)
- pango (pango-gitAUR)
- pixman (pixman-gitAUR)
- polyclippingAUR
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-gamepadAUR (qt5-gamepad-gitAUR)
- qt5-svg (qt5-svg-gitAUR)
- qt5-x11extras
- serf
- sh (dashbinshAUR, zshbinshAUR, bash-devel-gitAUR, bash-gitAUR, bash)
- subversion
- sudo (fake-sudoAUR, sudo-gitAUR, doas-sudo-shimAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR, voixAUR, doas-sudo-shim-kAUR)
- unzip (unzip-natspecAUR, unzip-zstdAUR, unzip-pAUR)
- util-linux-libs (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR)
- which (which-gitAUR)
- xalan-c
- xcb-util
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-server-xvfb (xorg-server-xvfb-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- gendesk (make)
- inotify-tools (inotify-tools-gitAUR) (make)
- matlab-mpmAUR (make)
- glibc-locales (glibc-eac-localesAUR) (optional) – listed in the original depends
- java-matlabAUR (optional) – required for certain products and features
- libcups (libcups-gitAUR, cups-gitAUR, libcups-gssapiAUR) (optional) – printing support
- matlab-batchAUR (optional) – start MATLAB non-interactively using a batch licensing token
- matlab-mpmAUR (optional) – package manager
- patchelf (patchelf-gitAUR) (optional) – clear the executable stack after the install
- perl (perl-gitAUR) (optional)
- python-matlabengineAUR (optional) – Python bindings
Required by (13)
- carnot
- digital_rf-git (optional)
- diplib-git (optional)
- java-matlab
- jupyter-matlab_kernel (optional)
- libmole (optional)
- matlab-batch
- matlab-gurobi (requires matlab-version)
- matlab-segymat (optional)
- python-matlabengine (requires matlab-version)
- vitis (optional)
- vivado (optional)
- yalmip-git (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 28 Next › Last »
daniel_shub commented on 2025-07-16 13:39 (UTC)
vitaliikuzhdin commented on 2025-07-16 13:12 (UTC)
TODO:
-
Figure out the users and permissions.
-
Improve the installer.
-
Add auto-discovery for packages written for MATLAB.
-
Write and upload packages for MATLAB-dependent add-ons and products.
vitaliikuzhdin commented on 2025-07-16 12:55 (UTC)
@aoneko, @Reexys, please read the post-installation instructions. If you've lost them, you can find the same information here.
Reexys commented on 2025-07-16 07:03 (UTC)
@aoneko
I'm currently also experiencing the same issue. Hopefully it's just something to do with their servers and maybe some licence validation. Not entirely sure what the issue is however.
aoneko commented on 2025-07-16 05:33 (UTC)
I tried this PKGBUILD and installed dependencies manually. However, every time I ran Matlab I got the following error message:
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Desktop Environment : GNOME
GNU C Library : 2.41 stable
MATLAB Architecture : glnxa64
MATLAB Root : /opt/MATLAB/R2025a
MATLAB Version : 25.1.0.2943329 (R2025a)
Operating System : "Arch Linux"
Process ID : 11578
Processor ID : x86 Family 6 Model 186 Stepping 2, GenuineIntel
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 134325228005056
Register State (from fault):
RAX = 0000000000000000 RBX = 00007a2b077fbd88
RCX = 00007a2bf5e3bcc0 RDX = 00007a2bf5e130c0
RSP = 00007a2b077fbcf0 RBP = 00007a2b842c4900
RSI = 0000000000001000 RDI = 0000000000000000
R8 = 00007a2bf5e39f20 R9 = 00007a2bf5e39fa0
R10 = 00007a2bf5e3a138 R11 = 00007a2bf5e3a140
R12 = 0000000000000000 R13 = 00007a2b077fbd10
R14 = 00007a2b077fbd20 R15 = 0000000000000000
RIP = 00007a2b842fe008 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007a2b842fe008 /opt/MATLAB/R2025a/bin/glnxa64/connector_plugins/notifications/subscriber_impl/../../../../../bin/glnxa64/libmwinstall_activationwsclientimpl.so+00499720 lc_new_job+00000216
[ 1] 0x00007a2b0435ccaf /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428655
[ 2] 0x00007a2b0435d735 /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431349
[ 3] 0x00007a2b043c7274 /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01864308
[ 4] 0x00007a2b0435fb56 /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440598
[ 5] 0x00007a2b0435e57d /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01435005
[ 6] 0x00007a2b0438ef40 /opt/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01634112
[ 7] 0x00007a2b0c033437 /opt/MATLAB/R2025a/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160823
[ 8] 0x00007a2c42b3a656 /opt/MATLAB/R2025a/bin/glnxa64/factory_settings/compute/shared_cmlink/settings/../../../../../../bin/glnxa64/libmwservices.so+03384918 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[ 9] 0x00007a2c40677741 /opt/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00841537
[ 10] 0x00007a2c40689d3d /opt/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00916797
[ 11] 0x00007a2c406661da /opt/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00770522
[ 12] 0x00007a2c4066669d /opt/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00771741
[ 13] 0x00007a2c4c0a6b17 /opt/MATLAB/R2025a/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x00007a2c4bca57eb /usr/lib/libc.so.6+00612331
[ 15] 0x00007a2c4bd2918c /usr/lib/libc.so.6+01151372
daniel_shub commented on 2025-04-07 15:25 (UTC)
The lines
# Needed for programs like python-matlabengine which expect MATLAB to be in /usr/local
install -dm755 "$pkgdir/usr/local"
ln -s /$_matlabdir "$pkgdir/usr/local/MATLAB"
violate the Arch packaging guidelines (https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette) which says "Packages should never be installed to /usr/local/" and is in fact not needed (at least for python-matlabengine). That page https://github.com/mathworks/matlab-engine-for-python) says "When MATLAB is not installed in the default location, the bin/architecture directory within the MATLAB root directory must be added to the environment variable LD_LIBRARY_PATH"
zincles commented on 2023-10-12 16:05 (UTC)
Seems that resetting the owner of the folder /opt/MATLAB by chown can solve the problem of "Something unexpected occurred" when installing APPs. This is definitely not the best solution, but it works. I'm not sure about that.
Rubo commented on 2023-09-21 11:35 (UTC)
@amad3v I moved it because sometimes MATLAB expects it to be installed there, if not you'd have to edit LD_LIBRARY_PATH, as is the case with python-matlabengine
. But since it seems impossible to retrieve the license file to install it offline from R2023b+, I'll likely move it to /opt
one day.
amad3v commented on 2023-09-21 11:24 (UTC)
@Rubo
I think it's better to move the installtion to /opt
Pinned Comments
vitaliikuzhdin commented on 2025-07-16 13:12 (UTC)
TODO:
Figure out the users and permissions.
Improve the installer.
Add auto-discovery for packages written for MATLAB.
Write and upload packages for MATLAB-dependent add-ons and products.
vitaliikuzhdin commented on 2025-07-16 12:55 (UTC)
@aoneko, @Reexys, please read the post-installation instructions. If you've lost them, you can find the same information here.