How do I install on Ubuntu?

4,650 ビュー (過去 30 日間)
John Griffin
John Griffin 2020 年 4 月 17 日
コメント済み: MAMATHA YADAVALLI 2022 年 12 月 28 日
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.
  2 件のコメント
Mahmod Karndash
Mahmod Karndash 2022 年 6 月 22 日
I have ubuntu18.04 in wsl2 how install matlab r2018a step by step please help
I tried but I do not Succeed
root@DESKTOP-SMROJT0:~/softwares/R2018a# sudo ./install
Preparing installation files ...
Installing ...
Finished
root@DESKTOP-SMROJT0:~/softwares/R2018a# xhost +SI:localuser:root
localuser:root being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0xe
Serial number of failed request: 7
Current serial number in output stream: 9
root@DESKTOP-SMROJT0:~/softwares/R2018a# sudo ./install
Preparing installation files ...
Installing ...
Finished
root@DESKTOP-SMROJT0:~/softwares/R2018a#
Mahmod Karndash
Mahmod Karndash 2022 年 6 月 22 日
root@DESKTOP-SMROJT0:~/softwares/R2018a# sudo ./install
Preparing installation files ...
Installing ...
Finished
the installer does not launch and MATLAB is not installed.
please help

サインインしてコメントする。


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 Center および File ExchangeIntroduction 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