ubuntu20.04にMATLABR2022aをインストールしようとすると「選択したファイルに書き込めません」と出る
29 views (last 30 days)
Show older comments
Linux用インストーラーをダウンロードし、ターミナル上で「./install」を実行。
MathWorks Product Installerが起動し、指示に従って進んでいたところ、保存先フォルダーを選択する画面で上記のエラーが発生しました。
https://jp.mathworks.com/matlabcentral/answers/471456-linux-matlab を参考にパーミッションを作成してみたものの解決できませんでした。
解決策をご存知の方がいらっしゃいましたらご教示いただけますと幸いです。
よろしくお願いいたします。
5 Comments
Kojiro Saito
on 21 Jul 2022
Edited: Kojiro Saito
on 21 Jul 2022
確認ありがとうございます。回答にも記載しておきましたので、差し支えなければAccept (採用)いただけますか。
Accepted Answer
Kojiro Saito
on 21 Jul 2022
chownでインストールディレクトリの所有権を一般ユーザーにしてみてください。
whoamiで出力されるユーザー名がuserだったとすると、「ユーザー名:ユーザーグループ」が「user:users」となります。ユーザー名は実際のユーザー名に置き換えて実行ください。
sudo chown user:users /usr/local/MATLAB/R2022a
More Answers (0)
See Also
Categories
Find more on インストールとライセンスの紹介 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!