Posted on

install in silent mode, for example

挂载并把installer_input.txt文件拷出

sudo mount -o loop R2025b_Linux.iso /mnt/

cp /mnt/installer_input.txt  .

编辑installer_input.txt文件,fileInstallationKey和agreeToLicense必须修改,前面的注释#去掉生效,如下,

不更改#destinationFolder=将会安装到默认位置:/usr/local/MATLAB/R2025b/

#destinationFolder=/yourFold/
fileInstallationKey=63733-59078-50866-02827-32355-07987-57979-17850-05492-24096-05227-42839-55624-20610-22640-51189
agreeToLicense=yes

安装:

sudo /mnt/install -inputFile installer_input.txt

安装完毕:

cd Crack/
sudo cp -f libmwlmgrimpl.so /usr/local/MATLAB/R2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/

sudo mkdir /usr/local/MATLAB/R2025b/licenses
sudo cp license.lic /usr/local/MATLAB/R2025b/licenses/

建个软链接:

sudo ln -s /usr/local/MATLAB/R2025b/bin/matlab /usr/local/bin/

运行:

matlab