If you’re an aspiring programmer or a data enthusiast, MATLAB is undoubtedly one of the most powerful tools you can have in your arsenal. In this guide, we’ll walk you through the clever steps to install MATLAB on Ubuntu 20.04 LTS, ensuring a smooth and successful installation. A basic analysis would suggest that investing in a top-notch Linux VPS with VIP assistance is highly cost-effective. Begin this guide by selecting your desired Ubuntu VPS package.
How to Install Matlab On Ubuntu 20.04
Before you begin:
1. Ensure that you have a working Ubuntu 20.04 LTS operating system installed.
2. To set up, follow our Initial server setup on Ubuntu 20.04.
3. Make sure you have a MATLAB installation file ready. You can obtain this from the official MathWorks website.
21 Step to Install Matlab On Ubuntu VPS
As the MATLAB application is based on the MATLAB programming language, the primary usage within this application is the “Command Window.” This window serves as an interactive mathematical shell where users can execute MATLAB code stored in text files. We will now guide you through the steps outlined in this article, which will help you become proficient in installing MATLAB on Ubuntu 20.04.
Once again, it is advisable to access the most recent MATLAB installation package from its official Matlab website. Choose Linux and let it be downloaded.
Then, you would find the MATLAB installation package within your Downloads directory.
Clearly, once you download a package, you need to unzip it. Execute the command below from within your Download directory. Also, you can update the name of the package if it is needed.
unzip -q matlab_R2019b_glnxa64.zip -d matlab
In this step, the installation would begin. create an installation destination directory
sudo mkdir -p /usr/local/MATLAB/R2019b/
Then, you should begin the installation by navigating to the Matlab directory and running the commands below:
As shown below, in this step you should select your preferred installation method. Choose log in if you do not have the File installation key.
Accept the terms of the License agreements to pass this step.
At this point, it asks you to create a MathWorks Account or provide your existing Login credentials.
Now, select your MATLAB License.
Again, leave the /usr/local/MATLAB/R2019b/ for the destination of your Matlab install.
It is time to select the products you need to install.
Now, select Create symbolic links to Matlab scripts. The destination directory should still be the default /user/local/bin.
As shown below, you will view the Matlab installation summary.
By reaching this point, you see the Matlab installation progress. Just wait till the end.
Next, activate your Matlab installation as you see below.
Activate the product, click on Next, and go on.
And, once you press the Confirm button, the Matlab installation will be activated.
Again, once you press the Finish button, the Matlab installation will be ended.
From now on, to consider an easy Matlab application start, you can create a shortcut launcher. Run the following Linux commands since you are still in the Terminal.
sudo wget -qO /usr/share/icons/matlab.png http://bit.ly/2SUSFo3
sudo wget -qO /usr/share/applications/matlab.desktop http://bit.ly/2vcomAf
You can use your favorite text editor and edit /usr/share/applications/matlab.desktop to see what version of Matlab is running.
If you search for this keyword in your activities menu, you will be able to find Matlab and start it by simply clicking on its icon.
When the page below is visible, it indicates that Matlab is beginning to start.
You’re done! The installation of Matlab on Ubuntu 20.04 was successful.
Lastly, delete both the Matlab installation file and the temporary directory.
rm -fr ~/Downloads/matlab
Congratulations! You’ve now successfully installed MATLAB on your Ubuntu 20.04 LTS system. Prepare to take your programming and data analysis skills to the next level with this powerful tool!
Note: Remember to consult the official MATLAB documentation for any specific requirements or troubleshooting during the installation process.