Package Details: matlab 1:R2025a.25.1.0.2943329-6

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)

Required by (13)

Sources (1)

Pinned Comments

vitaliikuzhdin commented on 2025-07-16 13:12 (UTC)

TODO:

  1. Figure out the users and permissions.

  2. Improve the installer.

  3. Add auto-discovery for packages written for MATLAB.

  4. 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.

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 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

vitaliikuzhdin commented on 2025-07-16 13:12 (UTC)

TODO:

  1. Figure out the users and permissions.

  2. Improve the installer.

  3. Add auto-discovery for packages written for MATLAB.

  4. 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