installing matlab silently in linux terminal on mac

12 views (last 30 days)
I am working on a MacBook Pro and need to run a workflow that contains programs written in Linux, Matlab, and Fortran.
I have successfully installed mulitpass and can launch a Linux command line (ubuntu) and have been able to execute Linux commands and run linux scripts. Example:
chmod +x remove_old_data_cop_21
./remove_old_data_cop_21
I am now trying to install matlab on my linux terminal. I have downloaded the linux version of matlab from the mathworks site with my whoi license and copied the download .zip into my Linux directory:
multipass transfer --recursive /Users/jveatch/Documents/MATLAB/ACC/altimetry/matlab_R2024b_Linux.zip ubuntu:/home/ubuntu/
I am now trying to install matlab in my linux.
multipass shell ubuntu
sudo apt install unzip
unzip matlab_R2024b_Linux.zip -d matlab_installer
sudo apt update
sudo apt install -y unzip libx11-6 libxext6 libxrandr2 libglu1-mesa libxtst6 libcanberra-gtk-module libcanberra-gtk3-module
Because my multipass linux does not have a GUI, I edited my installer_input.txt file to install silently.
# Path where MATLAB will be installed
destinationFolder=/home/ubuntu/MATLAB/R2024b
# License information
fileInstallationKey=[file install key omitted for question publication]
agreeToLicense=yes
# Choose which products to install (or use `products=*` for all)
products=*
# Disable GUI mode
mode=silent
I have tried several debugging-techniques and have been unable to get the installer to complete.
sudo ./install -inputFile installer_input.txt

Answers (1)

Jacob Mathew
Jacob Mathew on 9 May 2025
Hey Jacquelyn,
You can follow the below documentation to install MATLAB Silently:
The guide also has a section that allows you to view installation and activation log files. These would be helpful in identifying what went wrong.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!