ubuntu20.04にMATLABR2022aをインストールしようとすると「選択したファイルに書き込めません」と出る
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Linux用インストーラーをダウンロードし、ターミナル上で「./install」を実行。
MathWorks Product Installerが起動し、指示に従って進んでいたところ、保存先フォルダーを選択する画面で上記のエラーが発生しました。
https://jp.mathworks.com/matlabcentral/answers/471456-linux-matlab を参考にパーミッションを作成してみたものの解決できませんでした。
解決策をご存知の方がいらっしゃいましたらご教示いただけますと幸いです。
よろしくお願いいたします。

5 commentaires
Kojiro Saito
le 21 Juil 2022
Modifié(e) : Kojiro Saito
le 21 Juil 2022
確認ありがとうございます。回答にも記載しておきましたので、差し支えなければAccept (採用)いただけますか。
Réponse acceptée
Kojiro Saito
le 21 Juil 2022
chownでインストールディレクトリの所有権を一般ユーザーにしてみてください。
whoamiで出力されるユーザー名がuserだったとすると、「ユーザー名:ユーザーグループ」が「user:users」となります。ユーザー名は実際のユーザー名に置き換えて実行ください。
sudo chown user:users /usr/local/MATLAB/R2022a
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur インストールとライセンスの紹介 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!