- 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
조회 수: 30 (최근 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!