When I try to install MATLAB Runtime R2021b (9.11), I get a install_unix_legacy: not found error
16 views (last 30 days)
Show older comments
I'm running Ubuntu Ubuntu 20.04.4 LTS 64-bit on an M1 Silicon Mac via Parallels. I've downloaded and unzipped MATLAB Runtime R2021b (9.11). When I try to run the installer with sudo -H ./install, I get the error ./install: 1: exec: /home/parallels/Desktop/matlab_unzip/bin/unknown/install_unix_legacy: not found.
2 Comments
Smile Smile
on 24 May 2022
Hello.. I'm also try to install into Ubuntu 20.04 in M1 Silicon via UTM. I had the similar issue. This answer said it requires Intel/AMD x86_64 processor ..
Alex
on 18 Apr 2025
Edited: Alex
on 22 Apr 2025
knock your self out on Docker
./install: 1: exec: /root/matlab_R2024b_Linux/bin/linux-arm-64/install_unix_legacy: not found
root@dockerimage:~/matlab_R2024b_Linux# cd bin
root@dockerimage:~/matlab_R2024b_Linux/bin# cd glnxa64/
no support for creating your own Docker container either, they do not have X11 and do not want to support anything without X11, or a GUI (Mac or Ubuntu with a desktop VM) You have better luck getting this to function on a VM than Docker, with docker. I saw some guides on putting in the licencing in a file and doing an offline install, but have not found anything successful....i created a dockerhub repo and got as far as this, if anyone can conclude anything quicker from 1 Day's work.(anyone have a working guide link to getting it to work without a GUI, would be nice.) I saw you can use some offline installers and place a serial key inside, but i am using a Trial meaning that i do not have a serial and would need to enter my login credentials (so i think i am stuck going through the GUI method of installing Matlab)
More Research:
Attempted Rocky Linux Rocky-9.5-aarch64-minimal.iso -- aarch64 said it all....
does not work on aarm arch VM, you need 64 bit OS ISO to run this. will try it on my old macbook 2015 just for this, basically do not want to install java for my main machine as i do not code in Java, and would only use matlab for one specific usecase. :P - tried to install this on Aarch Rocky Linux, lol and found out it also does not work
If anyone can get this to work on aarch architecture, please let me know would love to get this working instead of using an old laptop specifically for Matlab.
i guess if i have the hardware lying around piling dust why not format it and just use it, but wanted it done today :( and without installing crazy amoiunts of java libraries that i would never use aside from Matlab :(
on vm tried : the whole guide that was provided with the .zip install
xhost +SI:localhost:root
sudo -H ./install
matlab_R2024b_Linux/bin/linux-arm-64/install_unix_legacy: not found
Cheers and much more research from yours truly.
If you are using a trial you do not have a serial number, another problem for offline installers.
Alex Diker
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!