How do I install MATLAB R2012a?
Solution 1:
Something's wrong here. I've installed Matlab R2012a, and the install file does not require any input file.
This should work.
Command line way.
- Open Terminal
- cd into Matlab directory ( which has the install file and is shown in your screenshot)
sudo chmod +x ./install
sudo ./install
- This will open a window, from where you will be able to proceed yourself.
GUI way:
- type alt+F2. this opens the
run
dialog - type
gksudo nautilus
and hit enter - open the Matlab directory (as shown in your screenshot)
- check if install file has execute permissions (as in your screenshot)
- Double click install. You will get a window asking you wether to display or run.
- Click on Run
- you should be able to find your way from here. this opens a window with necessary instructions.
as you see, The Command line way is easier and safer.. ;)
This is guaranteed to work.
And just so you know, when you executed install, as described in your question, /usr/bin/install
must have got executed. It is probably the one that complained of a missing file operand.
Solution 2:
For the error:
eval: 1: /tmp/mathworks_11425/sys/java/jre/glnxa64/jre/bin/java: Permission denied
You have to give permissions for the java to run (credits to http://kittipatkampa.wordpress.com/2012/02/12/matlab-on-ubuntu-from-install-make-launching-icon-to-uninstall/ )
After proceeding the steps by Mahesh, go to the folder
cd sys/java/jre/glnxa64/jre/bin/ (the folder that appears in your error message)
and then
chmod +x java
Ready to go. Go back to where your install file is and type
sudo sh install
The setup will (hopefully) launch.