Answers.Body: <p>Your best bet<sup>1</sup> for EV3 is <a href="http://www.ev3dev.org" rel="nofollow noreferrer">ev3dev</a>.</p>
  <p>For NXT, you should be able to get <a href="http://bricxcc.sourceforge.net/" rel="nofollow noreferrer">BricxCC</a> running <a href="http://www.legomindstormsrobots.com/lego-minstorms/bricxcc-running-linux-2" rel="nofollow noreferrer">on Linux</a>.</p>
  <p>You can also checkout <a href="http://www.lejos.org/" rel="nofollow noreferrer">leJOS</a> and <a href="http://www.monobrick.dk/" rel="nofollow noreferrer">MonoBrick</a>. There is a good change you can get either one of those working on Linux as well.</p>
  <p><sup>1: As a core contributor to ev3dev, this may not be entirely objective ;-)</sup></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-13T20:12:27.373Z
Answers.Text: ev3dev isn't exactly a Mindstorms IDE, but the Linux link is interesting, thanks. It's disappointing that Windows is still involved though.
Answers.UserDisplayName: vt.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-14T01:57:55.653Z
Answers.Text: Windows should not be needed for anything that I suggested.
Answers.UserDisplayName: David Lechner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2015-01-09T05:20:58.973Z
Answers.LastActivityDate: 2021-03-10T09:01:25.507Z
Answers.LastEditDate: 2021-03-10T09:01:25.507Z
Answers.UserDisplayName: David Lechner
Answers.Body: <h3>See <a href="https://appdb.winehq.org/objectManager.php?sClass=version&amp;iId=33517" rel="nofollow noreferrer">https://appdb.winehq.org/objectManager.php?sClass=version&amp;iId=33517</a> for latest instructions.</h3>
  
  <p>I recently did some testing to get the EV3 software working on Linux using Wine, and actually got it to work! (The EV3 software can also be used to program the NXT) Here are the instructions:</p>
  
  <pre><code>$ sudo add-apt-repository ppa:wine/wine-builds
  
  $ sudo apt-get install --install-recommends winehq-devel winbind libntlm0 ttf-mscorefonts-installer winetricks
  </code></pre>
  
  <p>Make sure the folder <code>~/.wine32</code> does not exist.</p>
  
  <pre><code>$ WINEPREFIX=~/.wine32 WINEARCH=win32 wineboot
  </code></pre>
  
  <p>Choose "No" on any prompts to download gecko or Mono</p>
  
  <pre><code>$ WINEPREFIX=~/.wine32 winetricks
  </code></pre>
  
  <p>Select the default prefix, and click OK</p>
  
  <p>Select Install a "Windows DLL or Component"</p>
  
  <p>Install all of the vcredist libraries, .NET version 4.0, and IE 8.</p>
  
  <p>Select "Change settings"</p>
  
  <p>Check <code>ddr=gdi</code>, and select OK (this fixes sections of the window turning white)</p>
  
  <p>Click "Cancel" twice to exit winetricks</p>
  
  <p>Download "IE8-WindowsXP-KB2936068-x86-ENU.exe" from the Microsoft website</p>
  
  <pre><code>$ WINEPREFIX=~/.wine32 wine '&lt;location of folder with IE8-WindowsXP-KB2936068-x86-ENU.exe&gt;/IE8-WindowsXP-KB2936068-x86-ENU.exe'
  
  $ WINEPREFIX=~/.wine32 winecfg
  </code></pre>
  
  <p>In the libraries tab, add an override for "<code>*urlmon.dll</code>", making sure to include the <code>*</code></p>
  
  <p>Select the override just created, and click "Edit..."</p>
  
  <p>Choose Native, and click OK</p>
  
  <p>Click Apply, then OK</p>
  
  <pre><code>$ WINEPREFIX=~/.wine32 wine '&lt;location of folder with mindstorms installer&gt;/LMS-EV3-WIN32-ENUS-01-01-01-full-setup.exe' (or whatever the filename of the installer is)
  </code></pre>
  
  <p>Install the software.</p>
  
  <p>Delete the <code>.lnk</code> file on the desktop, it is unnecessary and could cause problems</p>
  
  <p>Double-click the launcher on the desktop.</p>
  
  <p>I have not tested downloading to the brick yet, but creating a new project, adding a block, saving it, and reopening it works.</p>
  
  <p>Hope this helps.  If you have any problems or questions, let me know.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-24T21:20:44.603Z
Answers.LastActivityDate: 2016-12-13T01:07:33.837Z
Answers.LastEditDate: 2016-12-13T01:07:33.837Z
Answers.UserDisplayName: QwertyChouskie
Answers.Body: <p><a href="http://c4ev3.github.io" rel="nofollow">c4ev3</a> has an <a href="http://eclipse.org" rel="nofollow">Eclipse</a> CDT Plugin based on <a href="http://gnuarmeclipse.github.io" rel="nofollow">GNUARMEclipse</a> so you can do your C/C++ Programming for the EV3 and upload/browse the filesystem without leaving Eclipse.</p>
  
  <p>It works with the stock firmware/OS and comes with an API to access sensors/motors.</p>
  
  <p>You can run it on Windows, Linux and OS X. Also compiles on FreeBSD but didn't test if it actually works.</p>
  
  <p>If you don't want to use Eclipse, you can use the <a href="http://github.com/c4ev3/ev3duder" rel="nofollow">uploader</a> (a simple CLI tool written in C) and the <a href="http://github.com/c4ev3/EV3-API" rel="nofollow">C API</a> separately and integrate them into your build process. The uploader can also generate the menu entries for starting the programs on the EV3 menu, so using another IDE won't keep you from experiencing c4ev3's awesomeness [1].</p>
  
  <p>Doesn't support NXT though.</p>
  
  <hr>
  
  <p>[1] Might be biased because I wrote part of it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-09T08:41:26.763Z
Answers.LastActivityDate: 2016-06-09T08:47:23.277Z
Answers.LastEditDate: 2016-06-09T08:47:23.277Z
Answers.UserDisplayName: a3f
Answers.Body: <h2>Update Dec 2016</h2>
  
  <p>There is now an app for chromebooks on the chrome store:</p>
  
  <p><a href="https://chrome.google.com/webstore/detail/lego-mindstorms-education/jhnhfnolmcleankdkhfklakpchnccipg?hl=en-US" rel="noreferrer">https://chrome.google.com/webstore/detail/lego-mindstorms-education/jhnhfnolmcleankdkhfklakpchnccipg?hl=en-US</a></p>
  
  <p>I have used it to program EV3 version of the bricks. It connects via bluetooth to the EV3 brick (I don't think USB is even supported).  The bluetooth connection can be buggy at times and I've found myself having to re-pair the brick.  </p>
  
  <p>The chrome app saves programs in a format (<code>.ev3m</code> format) which is not compatible with the Mac/Windows desktop versions of the programming app.   Attempts to load programs written on Mac/Windows (<code>.ev3</code> format) will not load in the app.  Suffice to say transferring programs between a chromebook and the desktop version of the EV3 programming software is difficult and perhaps not possible. There may be a way to download the program from the chrome app onto the brick and then pull the software using the 'Memory Browser' tool into the desktop version but I haven't had time to look into it.</p>
  
  <p>My chromebook has only 2 GB of RAM and the program sometimes struggles to load so I recommend at least 4 GB of RAM in your chromebook.</p>
  
  <p>There is a pretty good Q/A article here: </p>
  
  <p><a href="https://education.lego.com/en-us/middle-school/explore/c/ev3-chromebook-faq" rel="noreferrer">https://education.lego.com/en-us/middle-school/explore/c/ev3-chromebook-faq</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-07T05:49:02.343Z
Answers.LastActivityDate: 2016-12-07T05:49:02.343Z
Answers.UserDisplayName: cyber-monk
Body: <p>I know there is no official way to program NXT/EV3 on a Chromebook.</p>
  
  <p>But a Chromebook can have Ubuntu installed via Crouton in developer mode.</p>
  
  <p>So, is there a relatively painless way to program NXT/EV3 on Ubuntu?</p>
  
Tags: <mindstorms><nxt><ev3>
Title: Programming Mindstorms on a chromebook
UserDisplayName: vt.
ThreadText: # Programming Mindstorms on a chromebook
  
  (Asked by: username_0 on 2015-01-09)
  
  I know there is no official way to program NXT/EV3 on a Chromebook.
  
  But a Chromebook can have Ubuntu installed via Crouton in developer mode.
  
  So, is there a relatively painless way to program NXT/EV3 on Ubuntu?
  
  **Tags:** mindstorms, nxt, ev3
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_4 on 2016-12-07. Score: 10 | Accepted answer
  
  ## Update Dec 2016
  
  There is now an app for chromebooks on the chrome store:
  
  <https://chrome.google.com/webstore/detail/lego-mindstorms-education/jhnhfnolmcleankdkhfklakpchnccipg?hl=en-US>
  
  I have used it to program EV3 version of the bricks. It connects via bluetooth to the EV3 brick (I don't think USB is even supported). The bluetooth connection can be buggy at times and I've found myself having to re-pair the brick.
  
  The chrome app saves programs in a format (`.ev3m` format) which is not compatible with the Mac/Windows desktop versions of the programming app. Attempts to load programs written on Mac/Windows (`.ev3` format) will not load in the app. Suffice to say transferring programs between a chromebook and the desktop version of the EV3 programming software is difficult and perhaps not possible. There may be a way to download the program from the chrome app onto the brick and then pull the software using the 'Memory Browser' tool into the desktop version but I haven't had time to look into it.
  
  My chromebook has only 2 GB of RAM and the program sometimes struggles to load so I recommend at least 4 GB of RAM in your chromebook.
  
  There is a pretty good Q/A article here:
  
  <https://education.lego.com/en-us/middle-school/explore/c/ev3-chromebook-faq>
  
  
  ---
  
  ### Answer by username_1 on 2015-01-09. Score: 3
  
  Your best bet1 for EV3 is [ev3dev](http://www.ev3dev.org).
  
  For NXT, you should be able to get [BricxCC](http://bricxcc.sourceforge.net/) running [on Linux](http://www.legomindstormsrobots.com/lego-minstorms/bricxcc-running-linux-2).
  
  You can also checkout [leJOS](http://www.lejos.org/) and [MonoBrick](http://www.monobrick.dk/). There is a good change you can get either one of those working on Linux as well.
  
  1: As a core contributor to ev3dev, this may not be entirely objective ;-)
  
  > **Comments:**
  > **username_0**: ev3dev isn't exactly a Mindstorms IDE, but the Linux link is interesting, thanks. It's disappointing that Windows is still involved though.  
  > **username_1**: Windows should not be needed for anything that I suggested.  
  
  ---
  
  ### Answer by username_2 on 2015-12-24. Score: 2
  
  ### See <https://appdb.winehq.org/objectManager.php?sClass=version&iId=33517> for latest instructions.
  
  I recently did some testing to get the EV3 software working on Linux using Wine, and actually got it to work! (The EV3 software can also be used to program the NXT) Here are the instructions:
  
  ```
  $ sudo add-apt-repository ppa:wine/wine-builds
  
  $ sudo apt-get install --install-recommends winehq-devel winbind libntlm0 ttf-mscorefonts-installer winetricks
  
  ```
  
  Make sure the folder `~/.wine32` does not exist.
  
  ```
  $ WINEPREFIX=~/.wine32 WINEARCH=win32 wineboot
  
  ```
  
  Choose "No" on any prompts to download gecko or Mono
  
  ```
  $ WINEPREFIX=~/.wine32 winetricks
  
  ```
  
  Select the default prefix, and click OK
  
  Select Install a "Windows DLL or Component"
  
  Install all of the vcredist libraries, .NET version 4.0, and IE 8.
  
  Select "Change settings"
  
  Check `ddr=gdi`, and select OK (this fixes sections of the window turning white)
  
  Click "Cancel" twice to exit winetricks
  
  Download "IE8-WindowsXP-KB2936068-x86-ENU.exe" from the Microsoft website
  
  ```
  $ WINEPREFIX=~/.wine32 wine '<location of folder with IE8-WindowsXP-KB2936068-x86-ENU.exe>/IE8-WindowsXP-KB2936068-x86-ENU.exe'
  
  $ WINEPREFIX=~/.wine32 winecfg
  
  ```
  
  In the libraries tab, add an override for "`*urlmon.dll`", making sure to include the `*`
  
  Select the override just created, and click "Edit..."
  
  Choose Native, and click OK
  
  Click Apply, then OK
  
  ```
  $ WINEPREFIX=~/.wine32 wine '<location of folder with mindstorms installer>/LMS-EV3-WIN32-ENUS-01-01-01-full-setup.exe' (or whatever the filename of the installer is)
  
  ```
  
  Install the software.
  
  Delete the `.lnk` file on the desktop, it is unnecessary and could cause problems
  
  Double-click the launcher on the desktop.
  
  I have not tested downloading to the brick yet, but creating a new project, adding a block, saving it, and reopening it works.
  
  Hope this helps. If you have any problems or questions, let me know.
  
  
  ---
  
  ### Answer by username_3 on 2016-06-09. Score: 0
  
  [c4ev3](http://c4ev3.github.io) has an [Eclipse](http://eclipse.org) CDT Plugin based on [GNUARMEclipse](http://gnuarmeclipse.github.io) so you can do your C/C++ Programming for the EV3 and upload/browse the filesystem without leaving Eclipse.
  
  It works with the stock firmware/OS and comes with an API to access sensors/motors.
  
  You can run it on Windows, Linux and OS X. Also compiles on FreeBSD but didn't test if it actually works.
  
  If you don't want to use Eclipse, you can use the [uploader](http://github.com/c4ev3/ev3duder) (a simple CLI tool written in C) and the [C API](http://github.com/c4ev3/EV3-API) separately and integrate them into your build process. The uploader can also generate the menu entries for starting the programs on the EV3 menu, so using another IDE won't keep you from experiencing c4ev3's awesomeness [1].
  
  Doesn't support NXT though.
  
  ---
  
  [1] Might be biased because I wrote part of it.
  
  
  ---
  
  