What dependencies are needed to install MATLAB on "minimal" or "core" Linux installations?

673 views (last 30 days)
I have a "minimal" or "core" installation of Linux and I'd like to install MATLAB on it. What additional dependencies are needed to do so?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Nov 2024 at 0:00
Edited: MathWorks Support Team on 11 Nov 2024 at 15:10
MATLAB and Simulink are validated on standard installations of the distributions listed on our system requirements page:
MATLAB and Simulink Requirements for Linux
“Minimal” or “core” installations of Linux may lack the necessary software packages required to install and run MATLAB and Simulink. Starting with MATLAB R2019b, MathWorks has been formally documenting the full list of required library dependencies for MATLAB on certain supported Linux distributions including Ubuntu. For R2021b and newer releases, we also document the dependencies for ubi ("Universal Base Image" e.g. RHEL, CentOS, etc.). 
Refer to the base_dependencies.txt for the matlab-deps docker image for your preferred MATLAB release and Linux distribution here: 
MATLAB Dependencies
Under "files" on the left side of the page, select the desired release, and then operating system. Then, click on base_dependencies.txt to view the dependencies needed. 
You can install all of the library dependencies using a single command. For example, to install all of the library dependencies for MATLAB R2024b on Ubuntu 24.04, you could run this command:
sudo apt install ca-certificates debianutils libasound2t64 libatomic1 libc6 libcairo-gobject2 libcairo2 libcap2 libcrypt1 libcups2t64 libdrm2 libfontconfig1 libfribidi0 libgbm1 libgdk-pixbuf-2.0-0 libgl1 libglib2.0-0t64 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0t64 libice6 libltdl7 libnettle8t64 libnspr4 libnss3 libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libsndfile1 libtirpc3t64 libudev1 libuuid1 libwayland-client0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont2 libxft2 libxinerama1 libxrandr2 libxt6t64 libxtst6 libxxf86vm1 locales locales-all make net-tools procps sudo unzip zlib1g
Based on this base-dependencies.txt file:
matlab-deps/r2024b/ubuntu24.04/base-dependencies.txt

More Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!