Installing Matlab in Linux without “sudo” level access?

45 ビュー (過去 30 日間)
HAMAYOUN AHMAD
HAMAYOUN AHMAD 2018 年 1 月 19 日
回答済み: Samuel Gray 2020 年 11 月 3 日
I have a user account on an Ubuntu-based server which has multiple power GPUs. I want to install MATLAB 2017a on that system but unfortunately, I have no "sudo" level access to that system. Is there any method to install Matlab on that system?

回答 (2 件)

Walter Roberson
Walter Roberson 2018 年 1 月 19 日
My memory from years ago is that on Linux Matlab can be installed into any directory, and that process should not need sudo provided that you do not ask to install the standard links.
I do not, however, know if privilege is needed for requesting access to a gpu.
Note: the license terms only permit you to install MATLAB into a system that you own or lease; here "own" would include the case where you are installing a commercial licence onto a system owned by your employer and you are authorized by your employer to install software there.
The licence terms do not permit you to install MATLAB onto a hosting service that you are a shared user of. No installation onto Amazon EC2 or the like. There is a separate license service from Mathworks for use on hosting services.
  2 件のコメント
HAMAYOUN AHMAD
HAMAYOUN AHMAD 2018 年 1 月 22 日
Thanks for answering. Can you explain a little bit how to install or a link for installation?
Walter Roberson
Walter Roberson 2018 年 1 月 22 日
The install script sets up a call to jre and runs that to do the install. That part of it does not need special permissions as long as it can write into /tmp . When java fires up, tell it to install MATLAB into a directory that you have write access to.

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


Samuel Gray
Samuel Gray 2020 年 11 月 3 日
I'd start with the MATLAB Online service and worry about installing it directly onto hardware (real or virtual) when you need to do that. It's great for performance and portability to install and run it locally but most users don't need that level of power most of the time.
And there are certain issues with installing it on a Linux OS that can lead to your system not running, that are not nearly as much of a problem when installing it onto Windows 10. So if you have to install it on Linux, it's better to avoid using sudo anyway. Then you just need to refer to the installation documentation.

カテゴリ

Help Center および File ExchangeIntroduction 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