Running NuPIC on Crouton Ubuntu Chromebook




  • Crouton is for running Ubuntu on a Chromebook and switching between the environments
  • Platform: Samsung Chromebook (1.7 GHz), Linux 3.4, ARMv7 Architecture, Crouton Version (Ubuntu Precise 12.04)

Additional Packages by Terminal

  • sudo apt-get update
  • sudo apt-get install build-essential git-core libtool automake cmake
  • sudo apt-get install python-pip python-dev libboost-dev
  • sudo apt-get upgrade --fix-missing


  • Executing Python 2.7 (2.7.3) - Do not use update-alternatives, causes conflicts

Python installers by Terminal

  • wget; python
    • Alternatively use python setuptools -> sudo apt-get install python-setuptools
  • sudo pip install numpy pytest pytest-xdist unittest2 mock validictory asteval ordereddict
    • Alternative (or if required): sudo pip install -r external/common/requirements.txt
  • Matplotlib (if you want dependencies on graphing)
    • sudo easy_install -U distribute
    • sudo apt-get install libfreetype6-dev libpng-dev
    • sudo pip install matplotlib

Build and Execute Code

  • There is no difference between the Linux x86 and ARMv7 environment for this. Normal instructions can be followed.

Next Steps

  • Move to a higher end ARMv7 Architecture (e.g. Cortex A9, Cortex A15)

NuPIC Wiki is being deprecated
Building NuPIC