Installing Matlab in Linux without “sudo” level access?

조회 수: 58 (최근 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 CenterFile 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