InstallForMacOSX doesn't work

14 views (last 30 days)
Max Lu
Max Lu on 10 Sep 2015
Commented: Walter Roberson on 28 Jun 2021
Hi, I'm using a Mac OS X Yosemite and when I double click to launch the installer (named InstallForMacOSX) for R2015b nothing happens. On the dock, an empty space briefly emerges as if an application is launching but then immediately disappears and nothing happens. And when I try to launch the Unix Executable File in the same folder (named install), it gives me the following:
/Users/maxlu/Desktop/matlab_R2015b_maci64/install ; exit;
Maxs-MacBook-Air:~ maxlu$ /Users/maxlu/Desktop/matlab_R2015b_maci64/install ; exit;
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 158: awk: command not found
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 330: dirname: command not found
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 332: /bin/unknown/install_unix: No such file or directory
logout
[Process completed]
I get the same problem when I try to install matlab 2015a.
Does anyone have any idea what I should do?
Thanks!
  3 Comments
Max Lu
Max Lu on 10 Sep 2015
Edited: Walter Roberson on 10 Sep 2015
Hi, I got:
Maxs-MacBook-Air:~ maxlu$ which awk
-bash: which: command not found
Maxs-MacBook-Air:~ maxlu$ ls -l /usr/bin/awk
ls: /usr/bin/awk: No such file or directory
Maxs-MacBook-Air:~ maxlu$ which dirname
-bash: which: command not found
Maxs-MacBook-Air:~ maxlu$ ls -l /usr/bin/dirname
ls: /usr/bin/dirname: No such file or directory
Max Lu
Max Lu on 10 Sep 2015
Edited: Max Lu on 10 Sep 2015
I guess this would be easier to read. Thanks.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Sep 2015
Your /usr/bin directory is not present. You may need to reinstall OS-X. At the very least, enter your TimeMachine Backup and restore the directory. If you do not have a TimeMachine backup (or equivalent) you will probably have to reinstall OS-X. Reinstalling OS-X would be safer: /usr/bin is a critical directory and if it is messed up there could be many other things messed up.
  5 Comments
Naiem Foysal
Naiem Foysal on 28 Jun 2021
I also have the same problem?
Do you solve this problem?
Please help.
Walter Roberson
Walter Roberson on 28 Jun 2021
Naiem: which problem are you encountering? William's problem was different than the original problem.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!