How do I install on Ubuntu?

조회 수: 2,504 (최근 30일)
John Griffin
John Griffin 2020년 4월 17일
댓글: Laxmi 2024년 8월 11일
I am a novice Ubuntu user, I know how to use Terminal. I am trying to install MATLAB 2020a on my Ubuntu machine, I have downloaded the Linux Installer which is a zip folder. What do I do from here? Thanks!
  댓글 수: 1
Haoran Zhu
Haoran Zhu 2021년 7월 20일
help me solve the problem.

댓글을 달려면 로그인하십시오.

답변 (3개)

Karim Ghezali
Karim Ghezali 2020년 5월 9일
How to install MATLAB R2020a on ubuntu
  • Download the Matlab installer file
  • Unzip the installer file using this command:
unzip -X -K matlab_R2020a_glnxa64.zip -d matlab_2020a_installer
  • Open the matalab_2020a_installer folder and open a terminal
  • use your terminal as root using the following command :
sudo su
  • type your password then :
sudo ./install
Now the MATLAB Installer is on, sign in, follow the steps and choose the product that you need
Nb :
Be sure to run the installer as root that will allow matlab to write in /usr/local/MATLAB/R2020a folder
Using only the sudo command can cause this error message :
$ sudo ./install
No protocol specified
terminate called after throwing an instance of '(anonymous namespace)::DisplayError'
what(): No display available.
  댓글 수: 26
Sébastien MAILFERT
Sébastien MAILFERT 2022년 7월 4일
@Álvaro F. López de Quadros Thank you!!!!!!!!
MAMATHA YADAVALLI
MAMATHA YADAVALLI 2022년 12월 28일
While installaing matlab in ubunru i am geeting below error.Please help me to install.

댓글을 달려면 로그인하십시오.


William Rolen
William Rolen 2020년 10월 26일
You dont actually have to install it to root. You can just install to your home directory. I would actually prefer this way, particularly if you work on a cluster.
  댓글 수: 4
Mohamed Kbaier
Mohamed Kbaier 2024년 5월 19일
sudo ./install it works. 00EKm:~/Téléchargements/matlab_R2024a_Linux$ sudo ./install
Laxmi
Laxmi 2024년 8월 11일
After installation, how to load the matlab which is installed in ubuntu 20.04.

댓글을 달려면 로그인하십시오.


Samuel Gray
Samuel Gray 2021년 5월 25일
The basic problem is that "Linux Matlab" was initially only compatible with RedHat based Linux and has gained compatibility with Debian-based Ubuntu over time.
https://www.mathworks.com/support/requirements/matlab-system-requirements.html
To install the older RH based Matlab on Ubuntu you have to go into the distribution tree and run an "alternate" installer. Look at the readme files which will show how to do this. Look for the section that has to do with the GUI failing to launch.
The later versions are compatible with Ubuntu and as such an upgraded version should not have this problem. So now you just have to worry about what version of Linux to run as there are definite advantages to each.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by