Install MATLAB R2015a 64bit for Linux.
1. Download MATLAB R2015a 64bit for Linux.
Step 1. To download MATLAB R2015a 64 bit, go to the following address.
or
Crazy hD
Click on “GET THIS TORRENT” button and download this file with installed application “Transmission BitTorrent Client” in your Linux device.
After download is finished, go to the next stage.
Step 2. First, go the the folder which contains your downloaded MATLAB file.
Since the folder name “Mathworks_Matlab_R2015a_Linux” is quite long to type, I rename this folder to “Matlab2015” as showed in Figure 1.
Step 3. Open terminal by “Ctrl + Alt + T” as usual, and type
bunzip2 ~/Downloads/Matlab2015/R2015a-glnxa64.iso.bz2
Wait until this command is finished (important).
Step 4. Type the following command in the second Terminal
gksu nautilus
and remember that you must not close it until the end.
One file explorer will appear immediately which allow you to access root file explorer. I will call this is root file explorer thorough this guide.
Remark 2.1. If you have installed “gksu” yet. Type the following command
sudo apt install gksu
to install “gksu“ in your Ubuntu.
Step 5. Create a folder named “iso” in “/media/” and mount the obtained ISO file in Step 3 by typing three following commands.
sudo modprobe loop
sudo mkdir /media/iso
sudo mount ~/Downloads/Matlab2015/R2015a-glnxa64.iso /media/iso -t iso9660 -o loop
We then obtain a folder like this.
Step 6. Copy (Ctrl + C) all these files to a folder “/tmp/matlab/” (create “matlab” folder yourself). Note that “/tmp/” is a temporary folder. Data in this folder will be auto-deleted after you reboot or shutdown your device.
Step 7. Replace “install.jar” file to “jar” by the following command.
sudo cp ~/Downloads/Matlab2015/fixr2015arel/install.jar /tmp/matlab/java/jar
Step 8. After copying all the necessary files to “tmp/matlab”, go to “/tmp/”, right click, choose “Open in Terminal”, you must give special permissions to all files in the folder “/tmp/matlab” by running the command
chmod 777 -R ./matlab
Step 9. Go to “/tmp/matlab/”, click right, choose “Open in Terminal”. Then install MATLAB by running the command
./install
Step 10. Choose “Use a File Installation Key”.
Step 11. Choose “Yes”, of course.
Step 12. Choose “I have a File Installation Key for my license” and fill the blank with
54422-40402-23817-20808-30933
Step 13. Choose path to install MATLAB, just click “Next”.
Step 14. Click “Next”.
Step 15. Click “Install”.
Wait the installation process is finished.
Step 16. Click “Next”.
Step 17. “Installation is complete”.
We are now ready to crack MATLAB.
Step 18. Replace “libmwservices.so” file by running the following command
sudo cp ~/Downloads/Matlab2015/fixr2015arel/libmwservices.so /usr/local/MATLAB/R2015a/bin/glnxa64
Step 19. In “/usr/local/MATLAB/R2015a/bin” directory, right click, choose “Open in Terminal”, and run the command
./matlab
Step 20. Choose “Activate manually without Internet”.
Step 21. Click “Next”, and choose “Enter the full path to your license file, including the file name”, then click “Browse” and choose “/Downloads/Matlab2015/fixr2015arel/Standalone License.lic”.
Then click “Next”, “Activation is complete” appears.
Step 22. During the installation you have to confirm the installation path of matlab and could restrict the installation only to certain users (which I did not require). In addition you could rename the GCC libraries, but I had no problems so far so I didn’t deactivate those. Install “matlab-support” via Terminal by running the command
sudo apt-get install matlab-support
Step 23. Fill in the path of installed MATLAB when matlab-support asks.
Installation of matlab-support is finished.
Step 24. After completion, you have to change the ownership of the .matlab folder in the home folder to your own user account if you do not want to run Matlab as a super user. Running the command
sudo chown your_user_name -R ~/.matlab
Step 25. Search “matlab”, click on MATLAB’s icon.
MATLAB is running.
Enjoy the result.
Work!
No comments:
Post a Comment