MATLAB Answers

Deployed Application not able to install using web installer in CentOS6

9 views (last 30 days)
Varun Pai
Varun Pai on 22 Nov 2019
Commented: Varun Pai on 28 Nov 2019
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: https://mathworks.com/products/compiler/matlab-runtime.html
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
HTH
  7 Comments
Varun Pai
Varun Pai on 28 Nov 2019
Maeda-san,
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
http_proxy=http://<proxy_address>:<portnumber>/
https_proxy=http://<proxy_address>:<portnumber>/
2) Created a symbolic link to the ca-certificates.crt file
!sudo ln -s /etc/ssl/certs/ca-bundle.trust.crt /etc/ssl/certs/ca-certificates.crt
Then run
!sudo ./AppInstaller_web.install

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!