How to Install Matlab on Ubuntu

Step 1.

Download Matlab for Linux using the link provided by the college after you make an account on official Matlab website using your college email id.

Step 2.

Open up the terminal and confirm that is located within your ~/Downloads directory:

$ ls ~/Downloads/

Step 3.

Create a destination /usr/local/MATLAB/R2018a/ directory for the Matlab installation.

$ sudo mkdir -p /usr/local/MATLAB/R2018a/

Step 4.

Unzip the Matlab installation package.
Navigate to your ~/Downloads directory and create a new temporary matlab directory to store the content of the file:

$ cd Downloads
$ mkdir matlab
$ unzip -q -d matlab

Step 5.

Start the Matlab installer wizard:

$ cd matlab
$ sudo ./install
cd /usr/local/MATLAB/R2016b/bin/



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store