Using Matlab (Linux) on chromebook via Crostini (Beta)

427 views
Skip to first unread message

TheTXSaint

unread,
Aug 23, 2019, 6:33:10 PM8/23/19
to Chromium OS Development
I am a complete layman with regards to Linux.  I just purchased a Chromebook this week to use for school and now my professor is saying we need Matlab/Simulink for the course.  I cannot figure out how to unzip the initial Matlab file in the terminal much less install the program (if it is even capable of running in Crostini).  If anyone could offer any help with this issue it would be much appreciated.  

Keith I Myers

unread,
Aug 23, 2019, 6:48:08 PM8/23/19
to TheTXSaint, Chromium OS Development
This may not be the best place to get help with this but can I ask which Chromebook you are using?

On Fri, Aug 23, 2019 at 6:33 PM TheTXSaint <chasem...@gmail.com> wrote:
I am a complete layman with regards to Linux.  I just purchased a Chromebook this week to use for school and now my professor is saying we need Matlab/Simulink for the course.  I cannot figure out how to unzip the initial Matlab file in the terminal much less install the program (if it is even capable of running in Crostini).  If anyone could offer any help with this issue it would be much appreciated.  

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev
---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.


--
 
--
Keith I Myers
 


Allen Webb

unread,
Aug 23, 2019, 7:12:32 PM8/23/19
to TheTXSaint, Chromium OS Development
Assuming you have crostini. There are tutorials on how to enable it from the Chrome OS settings menus, but if you search "Linux" it should show up on the settings if it is supported for your Chromebook. The quickest way to get started editing matlab files on linux is going to be gnu octave:
https://www.gnu.org/software/octave/

It can be installed on crostini with:
sudo apt-get update; sudo apt-get install -f octave

Alternatively, you may be able to run the matlab installer within crostini, but I am not sure whether or not that will work and it is likely you will need to hunt down dependencies you will have to install in order to get it working.


Regardless of whether or not you have crostini. If there are lab machines at your university with SSH access you may be able to use x-server forwarding to run matlab on the university lab machine, but have it display on the Chromebook. I tried to check if this would work, but I don't have a quick way of checking. For this you will need the Secure Shell Extension extension:
https://chrome.google.com/webstore/detail/secure-shell-extension/iodihamcpbpeioajjeobimgagajmlibd?hl=en
For X server forwarding to work you will need to add:
-X
to the SSH Arguments field.

On Fri, Aug 23, 2019 at 3:33 PM TheTXSaint <chasem...@gmail.com> wrote:
I am a complete layman with regards to Linux.  I just purchased a Chromebook this week to use for school and now my professor is saying we need Matlab/Simulink for the course.  I cannot figure out how to unzip the initial Matlab file in the terminal much less install the program (if it is even capable of running in Crostini).  If anyone could offer any help with this issue it would be much appreciated.  

--

Keith I Myers

unread,
Aug 23, 2019, 7:20:01 PM8/23/19
to Allen Webb, TheTXSaint, Chromium OS Development
You should be able to install it by running 
sudo apt-get install matlab-support

Download the installer from https://www.mathworks.com/downloads/
Unzip it and cd into the directory and "run sudo sh install"

I do not personally have access to this software so I cannot give you any more detailed steps. The reason why I asked about the Chromebook is to make sure you are running a x86_64 CPU which is needed for MATLIB
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages