Carnegie Mellon University

Install MATLAB | Linux

Follow the appropriate steps based on your license file.

  1. Download the Linux installer file and the standard license file to your Downloads directory.
  2. Press CTRL+ALT+T to open a terminal window.
  3. Type cd Downloads, then press Enter.
  4. Unzip Matlab. From Terminal, then type tar -xvf R2019a.tar.
    IMPORTANT: Linux is case-sensitive. Type all commands exactly as written. Do not unzip the archive using the GUI utility. The command-line unzip utility is different, and will correctly decompress the archive.
  5. Unzip the license file.
  6. When the archive finishes decompressing, type cd R2019a/R2019a, then press Enter.
  7. Type sudo ./install, then press Enter.
  8. Type your system password when prompted, then press Enter.
  9. Select Use a file installation key, then click Next>.
  10. Select Yes, then click Next>.
  11. Select I have the File installation Key for my license.
  12. Open File Manager, and browse to the location to where the license file was extracted.
  13. Open the file (MATLAB_<version>_Key_Standard.txt) from the extracted license files and locate the Installation Key.
  14. Copy and paste the Installation Key into the installer field, then click Next>.
  15. Choose an installation folder and note the path. You will need to navigate to this directory each time you want to launch Matlab, unless you create a symbolic link (shortcut). Click Next>.
  16. Click Create symbolic links to MATLAB scripts in, then click Next>Install>.
  17. Click Next> when installation is complete, confirm that Activate Matlab is checked, then click Next>.
  18. Select Activate manually without the Internet, then click Next>.
  19. Select Enter the full path to your license file, then click Browse. Navigate to the directory where you unzipped the license file download. Select the License.dat file, then click Select > Next > Finish.

Open Matlab

  1. Press CTRL+ALT+T to open a terminal window.
  2. Type cd /usr/local/MATLAB/R2019a/bin, then type ./matlab to open Matlab desktop.
  1. Download the Linux installer file and the standalone edition license file to your Downloads directory.
  2. Press CTRL+ALT+T to open a terminal window, type cd Downloads, then Enter.
  3. Unzip Matlab. From the terminal, type tar-xvf R2019a.tar, then press Enter.
    IMPORTANT: Linux is case-sensitive. Type all commands exactly as written. Do not unzip the archive using the GUI utility. The command-line unzip utility is different, and will correctly decompress the archive.
  4. When the archive finishes decompressing, type cd R2019a/R2019a, then press Enter.
  5. Type sudo ./install, then Enter.
  6. Type your system password when prompted, then press Enter.
  7. Select Use a file installation key, then click Next >.
  8. Select Yes, then click Next >.
  9. Select I have the File installation Key for my license.
  10. Open File Manager, browse to the Downloads directory, open the  license file that was downloaded (MATLAB_<version>_Licensing_Standalone.txt) and locate the Installation Key. Copy and paste the Installation Key into the installer field, then click Next >.
  11. Choose an installation folder and note the path. You will need to navigate to this directory each time you want to launch Matlab, unless you create a symbolic link (shortcut). Click Next >.
  12. Click Create symbolic links to MATLAB scripts in, then click Next >.
  13. Click Install>. Confirm that Activate Matlab is checked, then click Next >.
  14. Select Activate automatically using the internet.
  15. Log into your Mathworks account. If you don't have an account, select I need to create an account and create one. Use your Andrew, SCS or ECE email and create a password.
  16. Select the Standalone license on the License Selection Screen, then click Next. If you do not see this, go to the next step.
  17. If you were unable to select the license in the previous step, select Enter an Activation Key. Locate the Activation Key file in the MATLAB_<version>_Licensing_Standalone.txt file, and follow the onscreen instructions.

Open Matlab

  1. CTRL+ALT+T to open a terminal window.
  2. Type cd /usr/local/MATLAB/R2019a/bin, then type ./matlab to open Matlab desktop.