Install MATLAB on Pop!_OS 20.04 LTS Edit on GitHub

Visit the MatLab website with this link and click the blue box titled Linux.Save the file.

Downloaded file prompt to save Matlab installation file

Create a new directory to install MATLAB. Open a terminal and execute the following commands. The second command is the file name of the MATLAB download.


$ mkdir matlab
$ unzip -q matlab_R2020a_glnxa64.zip -d matlab

Create an installation directory for MATLAB.


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

Navigate to the main MATLAB directory and begin the installation process. Do not close the terminal until the installation is complete.

Terminal view showing commands

Sign in using your MathWorks account. Accept the License Agreement and click Next.

Sign into MathWorks account screen

Select the appropriate license. If you’ve received and activation key, select the option to Enter the Activation Key. Enter your key and click Next.

Select your license or enter your MatLab activation key

Select the destination for the MATLAB installation. The destination specified in the previous command will auto-populate, but you can change it here if necessary. Click Next.

Select Destination Folder for MATLAB

Choose your toolboxes. Each tool box requires additional storage space.

MATLAB toolbox Selection

Select the destination for symbolic links to MATLAB scripts. MATLAB sends user experience information to MathWorks by default. Uncheck the box if you do not want to participate in providing the information. Click Next.

Designate location for symbolic links to MATLAB scripts

Confirm your information on the final screen and click Begin Install.

Begin MATLAB install

Once the download is complete, click Close.

Completed MATLAB download

The MathWorks Activation Software will pop up. Click Next.

Mathworks Activation Software

Confirm your license information to complete the activation. Click Finish when the activation is complete.

MathWorks Matlab Activation is Complete

Open a terminal to launch MATLAB


$ matlab

MATLAB installed on Pop!_OS 20.04 LTS

Article last modified: 2020-04-30