- Creates an application menu for MATLAB (i.e. in your KDE/Gnome/MATE menus)
- Using the Debian alternatives system, creates symlinks for various components in /usr/bin (e.g. /usr/bin/matlab, /usr/bin/matlab-mex, ...)
- MATLAB ships with quite a few shared libraries, however your Linux system will already have those. So the package renames the MATLAB provided ones (by adding .bak to their file name). This then forces MATLAB to use the system provided libraries instead. This is good because those libraries are regularly maintained and updated by your distributions package manager.
matlab-support linux package
32 次查看(过去 30 天)
显示 更早的评论
Suprisingly lot of MATLAB users on Linux using and activelly recommanding the matlab-support linux package.
Home page: https://launchpad.net/ubuntu/+source/matlab-support
See attached description:
--------------------- description-----------------------------
This package does not provide MATLAB. Instead, it configures an
existing MATLAB installation to integrate more comfortably in
a Debian installation.
Currently it provides /usr/bin/matlab through the alternatives
system, offers to work around incompatibilities between the libraries
bundled with MATLAB and system libraries, and provides a helper
utility meant to be used by other packages to compile MEX extensions.
Install this if you would like your MATLAB installation to behave more
like an ordinary Debian package. Other packages may depend on
this one if they install MATLAB code, for example in order to
compile MEX extensions.
I would like to know what exactly provide and what modification perform this package with MATLAB installation and Linux system settings. Any, more detailed info, regarding matlab-support package is not available!
Is that package recommanded by MATLAB community as a safe and reliable extension of MATLAB on Linux platform?
Thanks in advance for any help.
0 个评论
回答(1 个)
Saman Ghannadzadeh
2024-10-12
编辑:Saman Ghannadzadeh
2024-10-12
You can see what this package does by looking at the source code at https://salsa.debian.org/debian/matlab-support
It:
Although highly unlikely, switching to the system libraries could lead to problems as MATLAB might have shipped with a slightly different version of those libraries. If MATLAB calls a function that is defined differentely in these two versions then there could be a problem. However this is highly unlikely as these libraries (e.g. libstdc++) are very mature and so have a very stable and well-defined ABI that don't change across minor versions.
Here is the list of libraries:
$matlab_path/sys/os/glnx86/libgcc_s.so.1
$matlab_path/sys/os/glnx86/libstdc++.so.6
$matlab_path/sys/os/glnx86/libgfortran.so.5
$matlab_path/sys/os/glnx86/libquadmath.so.0
$matlab_path/sys/os/glnxa64/libgcc_s.so.1
$matlab_path/sys/os/glnxa64/libstdc++.so.6
$matlab_path/sys/os/glnxa64/libgfortran.so.5
$matlab_path/sys/os/glnxa64/libquadmath.so.0
$matlab_path/bin/glnxa64/libvulkan.so.1
$matlab_path/bin/glnxa64/libfreetype.so.6
1 个评论
FWDekker
2024-11-4,12:55
The reason matlab-support makes MATLAB use system libraries instead of bundled libraries is not because the former are better maintained, but because the latter regularly cause major bugs due to system incompatibilities. For example, without renaming these libraries, I am completely unable to launch MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!