So I did the command in the pdf of install -inputfile installer_input.txt when I didn't change the name of the installer input, then I ran into the problem of bash not knowing what install was so I did ./install, but when I did that permissions was rejected and when I did sudo ./install it said it couldn't find install again. and when I wrote out the full path of install in the matlab installation folder it still failed
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ ./install
-bash: ./install: Permission denied
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ sudo ./install -inputfile installer_input.txt
[sudo] password for adlab:
sudo: ./install: command not found
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ sudo ./install
sudo: ./install: command not found
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ ./install
-bash: ./install: Permission denied
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ sudo ./install
sudo: ./install: command not found
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ sudo /usr/matlabfiles/matlab_R2018a_glnxa64_trans/install -inputfile installer_input.txt
sudo: /usr/matlabfiles/matlab_R2018a_glnxa64_trans/install: command not found
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$
Edit: thanks walter:sudo sh ./install -inputfile installer_input.txt -mode silent

2 件のコメント

Walter Roberson
Walter Roberson 2019 年 4 月 13 日
What shows up for
ls -ld ./install
Jonathan Fernow
Jonathan Fernow 2019 年 4 月 15 日
編集済み: Jonathan Fernow 2019 年 4 月 15 日
xxxxx@localhost:/usr/matlabfiles/matlab_R2018a_glnxa64_trans$ ls -ld ./install
-rw-rw-r-- 1 adlab adlab 8179 Apr 12 13:10 ./install

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

 採用された回答

Walter Roberson
Walter Roberson 2019 年 4 月 13 日

0 投票

sudo sh ./install

1 件のコメント

Jonathan Fernow
Jonathan Fernow 2019 年 4 月 15 日
編集済み: Jonathan Fernow 2019 年 4 月 15 日
I got the below
[sudo] password for adlab:
Preparing installation files ...
Installing ...
---------------------------------------------------------------------------
Error: Installation cannot proceed. You may either:
1. Set an X11 display, and restart the install process
2. Use the silent install feature by specifying the -mode silent option
---------------------------------------------------------------------------
Finished

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by