Deployed Application not able to install using web installer in CentOS6

5 views (last 30 days)
I am using MATLAB 2019b. OS is CentOS6 (RHEL6)
I followed these steps:
1) Wrote a MATLAB code "SampleApp.m"
2) Using deploytool, build it as a "stand alone application". "Runtime download from web" options was selected.
3) In "for redistribution" folder, SampleAppInstaller_web.install file was generated.
In terminal, I tried to install it using command and got the following error
$ sudo ./SampleAppInstaller_web.install
Error: Download process failed - Couldn't connect to server
. Check your internet connectivity, proxy server, firewall, and virus scanner settings and rerun the installer.
Installation failed.
I have checked the internet settings, set the proxy and disabled firewall. The "yum update" command is also working fine.
What could be the reason for the error ? Is there any limitation of support for CentOS 6 ?

Accepted Answer

Etsuo Maeda
Etsuo Maeda on 25 Nov 2019
I am not sure your network environment but you can download MATLAB Runtime from your web browser:
If you changed the proxy server in your MATALB configulation window, please try to deploy your application again because the deployed application inherits almost all of environmental settings of your latest development environment.
note: R2019b requires Red Hat 6.7 and later
Varun Pai
Varun Pai on 28 Nov 2019
Thank you for the instructions. I was finally able to solve it.
I followed the below 2 steps:
1) Added these lines in the file /etc/environment of CentOS
2) Created a symbolic link to the ca-certificates.crt file
!sudo ln -s /etc/ssl/certs/ /etc/ssl/certs/ca-certificates.crt
Then run
!sudo ./AppInstaller_web.install

Sign in to comment.

More Answers (0)


Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!