Install Matlab in Linux - Linux Mint Community

6
1/21/2016 Install Matlab in linux - Linux Mint Community http://community.linuxmint.com/tutorial/view/1493 1/6 They offer different flash templates with latest features. community.linuxmint.com The website for all Linux Mint users Home Community  Ideas  Tutorials  Hardware  Software  Countries  Users  Moderation  Chat room Testing  ISO Images  Teams Login Username Password Remember me Forgot password Login  Register Back Written by:  jahid_0903014 Score: 2 votes:  9 Format:  Article  Install Matlab in linux You need to have the unix version of Matlab dvd or dvd image to install it in linux mint. Two different approaches are going to be adopted:

Transcript of Install Matlab in Linux - Linux Mint Community

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 1/6

1/21/2016 Install Matlab in linux - Linux Mint Community

http://community.linuxmint.com/tutorial/view/1493

They offer different flash templates with latest features.

community.linuxmint.com

The website for all Linux Mint users

Home

Community

 Ideas

 Tutorials

 Hardware

 Software

 Countries

 Users

 Moderation

 Chat room

Testing

 ISO Images

 Teams

LoginUsername

Password

Remember meForgot password Login  Register

Back

Written by:

 jahid_0903014

Score: 2votes: 9Format: Article

 Install Matlab in linux

You need to have the unix version of Matlab dvd or dvd image to install it in linux mint.

Two different approaches are going to be adopted:

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 2/6

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 3/6

1/21/2016 Install Matlab in linux - Linux Mint Community

http://community.linuxmint.com/tutorial/view/1493

[Desktop Entry]Exec=/home/user/Matlab/bin/matlab -desktopIcon=/home/user/Matlab/X11/icons/matlab64c_icon.xpmType=ApplicationComment=Matrix LaboratoryName=MatlabCategories=Development;

user will be replaced by your user name. (must).

For Exec and Icon, the path should be correct i.e you must change "user" according to your path. (must).

in "Name= Matlab " you can change the name whatever you want.(optional).

in "GenericName" you can put whatever you want. you can cut off this line too.(optional).

save & exit the .desktop file.

a new entry named "Matlab" will be added in the menu under the programming section.

3. now go to menu->programming->Matlab.

Enjoy... your Matlab environment....

#2. installing in /usr/local directory:

if there are several users in a single pc & each of them has individual user accounts and need to use thesame application then it is required to install it in the directory indicated by default in matlab installationprocess i.e in /usr/loal

steps:

1. mount the iso (with furiusisomount). if you already have the contents of the iso copied elsewhere thenskip this step.

2. create a directory /home/user/matlab.(it's temporarilly, after installation this can be deleted.)

run in terminal (to create the directory):

mkdir /home/user/matlab

user=your user name.

copy the contents of the iso (archives, bin, etc, java, sys, install,.........) in your /home/user/matlab folder.

 If you want to avoid copying, then mount the iso with this command:

sudo mount -o loop path_to_the_iso_file_matlabxxx.iso /mnt 

then

cd /mnt 

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 4/6

1/21/2016 Install Matlab in linux - Linux Mint Community

http://community.linuxmint.com/tutorial/view/1493

sudo ./install 

now you can skip the next step(3) and after finishing the installation clear the mnt directory with sudo umount /mnt 

3. run these commands in terminal:

sudo chmod 777 -R /home/user/matlab

cd /home/user/matlab

sudo ./install

here user=your user name.

4. now the installation gui will be run. go through the processes as, it is known how to install it from a gui(explained a little in section #1).

5. after installation run this code:

sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

this fixes a warning that libc.so.6 can not be found.

to run Matlab:

go to the /usr/local/MATLAB/R2011b/bin/ directory and double click on matlab and 'select run interminal' or enter command in terminal:

 /usr/local/MATLAB/R2011b/bin/matlab

or, to run from the menu, follow these steps:

1. in the terminal enter this code:

 sudo gedit /usr/share/applications/matlab.desktop

2. copy paste the following lines into the newly opened .desktop file

[Desktop Entry]Exec=/usr/local/MATLAB/R2011b/bin/matlab -desktopIcon=/usr/local/MATLAB/R2011b/X11/icons/matlab64c_icon.xpmType=Application

Comment=Matrix LaboratoryName=MatlabCategories=Development;

in "Name= Matlab " you can change the name whatever you want.(optional).

in "GenericName" you can put whatever you want. this line can be cut off too.(optional).

save & exit the .desktop file.

a new entry named "Matlab" will be added in the menu under the programming section.

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 5/6

1/21/2016 Install Matlab in linux - Linux Mint Community

http://community.linuxmint.com/tutorial/view/1493

3. now go to menu->programming->Matlab.

Enjoy... your Matlab environment....

the above process was tested on Matlab R2011b. other version should work too.

Tags: install Matlab,matlab,matlab in linuxCreated: 2 years ago.

Last edited: 1 year ago.Reviewed: 2 years ago.Read 0 times.

Comments

1 year ago jahid_0903014

may be you didn't run the installer with sudo.you should run it with :sudo ./installcomplete method for you:

mount the iso with this commandsudo mount -o loop path_to_the_iso_file_matlabxxx.iso /mnt

then

cd /mnt

sudo ./installafter install finishes, unmount it withsudo umount /mnt

1 year agoRboggyz

I've mounted the image,I ran the installer in terminal and got this:

Preparing installation files ...Installing ...cp: cannot create regular file‘/usr/local/MATLAB/R2013a/licenses/license.lic’: Permission deniedcp: cannot create regular file ‘/usr/local/MATLAB/R2013a/Matlab.png’:Permission deniedchmod: changing permissions of ‘/usr/local/MATLAB/R2013a/Matlab.png’:Operation not permittedcp: cannot create regular file ‘/usr/local/MATLAB/R2013a/Matlab.desktop’:Permission deniedchmod: changing permissions of ‘/usr/local/MATLAB/R2013a/Matlab.desktop’: Operation not permittedFinishedCan I have some help, please??

1 year ago jahid_0903014

If you don't want to read the whole thing then go here:http://forums.linuxmint.com/viewtopic.php?f=42&t=165811

Other tutorials from jahid_0903014

Installing softwares in linux

8/15/2019 Install Matlab in Linux - Linux Mint Community

http://slidepdf.com/reader/full/install-matlab-in-linux-linux-mint-community 6/6

1/21/2016 Install Matlab in linux - Linux Mint Community

http://community.linuxmint.com/tutorial/view/1493

Share internet from Linux to windows with squid3 proxy serverHow to install & use Avro Bangla keyboard in linuxConnecting Realtek wireless modems in linuxType in your native language in Linux Mintinstall latest eclipse in linux mintAdding new item in the menuConnecting Zoom Ultra modem in Linux Mintinstall latest Netbeans (7.4) in Linux mint

Editing fstab to automount partitions at startupSystem Backup: A manual approachShare internet from your linux distro to your android phoneFull system upgrade to a newer release without fresh installDim laptop monitor immediately after the laptop being unpluggedHow to install or uninstall kernel in linuxHow to customize Linux Mint live cd/dvdHow to install Mediatek MT7630E wireless LAN driver in Linux Mint/UbuntuInstalling Teletalk Flash Modem in Linux Mint/UbuntuInstalling Unreal Engine in Linux Mint/UbuntuHow to make a self-extracting shell script from a TAR archive

Linux Mint | Blog | ForumsCopyright © 2014. All Rights Reserved.