Skip to content

Official Support for ARM/Raspberry Pi Linux (armhf, arm64) #6442

Closed

Description

  • VSCode Version: > 1.1
  • OS Version: Ubuntu Mate / Linux

It would be good if VS Code Supports Raspberry Pi 2/3 or provide arm binaries alongside the x86 and x86-64 binaries for linux

Activity

  1. changed the title [-]Officially Support Raspberry Pi 2/3 On Linux[/-] [+]Official Support for Raspberry Pi 2/3 On Linux[/+] on May 17, 2016
  2. added
    install-updateVS Code installation and upgrade system issues
    linuxIssues with VS Code on Linux
    feature-requestRequest for new features or functionality
    on May 17, 2016
  3. jieverson commented on Aug 18, 2016

    @jieverson

    Having the same problem on my Raspbian (debian) running at a Raspberry Pi 3.
    I've actually tried to compile it from source, but I got this:

    npm ERR! notsup Unsupported
    npm ERR! notsup Not compatible with your operating system or architecture: fsevents@0.3.8
    npm ERR! notsup Valid OS: darwin
    npm ERR! notsup Valid Arch: any
    npm ERR! notsup Actual OS: linux
    npm ERR! notsup Actual Arch: arm
    

    I tried using nodejs from apt-get, and tried again using this version (supose to build for ARM):
    http://node-arm.herokuapp.com/node_latest_armhf.deb

    For compiling, I wrote this:

    ./scripts/npm.sh install --arch=armhf
    

    Not sure if the npm.sh support the arch parameter

  4. Tyriar commented on Aug 18, 2016

    @Tyriar
    Contributor

    What version of node and npm are you using? I think that error happened when optional dependencies weren't working properly for certain versions of npm 3.

  5. jieverson commented on Aug 18, 2016

    @jieverson

    I'm using node v4.2.1

  6. Tyriar commented on Aug 19, 2016

    @Tyriar
    Contributor

    Can you try using node 6.4.0?

  7. jieverson commented on Aug 19, 2016

    @jieverson

    The v4.2.1 is the last version I can get at apt-get form Raspbian. At night I will try to get a better version outside package manager.

    [EDIT] My node is kind outdated, cause I've checked and I cant even use ES6 javascript, like const or let instead of var.

  8. Tyriar commented on Aug 19, 2016

    @Tyriar
    Contributor

    Jiéverson Maissiat (@jieverson) vscode is TypeScript so it should be compiled down, regardless though according to the docs

    You'll need Node.JS, at least v5.10.

    Warning: npm/npm#12698 prevents us from using npm >= 3.9, be sure to install npm < 3.9.

    https://github.com/Microsoft/vscode/wiki/How-to-Contribute#installing-prerequisites

  9. sleepyfoxen commented on Aug 23, 2016

    @sleepyfoxen

    Jiéverson Maissiat (@jieverson) sorry for bumping an old thread, but I did get it working on Raspbian on a RPi3 model B.

    node --version
    v6.4.0
    npm --version
    v3.8.9
    

    Although node@6.4.0 is not available in the default apt-get repositories, you can still install it with apt-get through these instructions.
    You'll then have to manually downgrade npm -- I did this systemwide because I didn't need a super up-to-date version of npm: sudo npm install -g npm@3.8.9. After that, the build just kind of worked to be honest. Either way, good luck!

  10. jieverson commented on Aug 24, 2016

    @jieverson

    I really cant get it to work here.

    # curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash
    

    16-08-23-23 38 35

    I got some errors trying to install nodesource repo. After the errors, if I try to apt-get nodejs, I still get the v4.

  11. sleepyfoxen commented on Aug 24, 2016

    @sleepyfoxen

    Wow, that really is very strange! I guess you can try using the binaries from node themselves, since they do provide arm-packaged binaries?
    For me, the nodesource installer only added (and installed keys for)

    deb https://deb.nodesource.com/node_6.x jessie main
    deb-src https://deb.nodesource.com/node_6.x jessie main
    

    to my /etc/apt/sources.list.d/nodesource.list file, and didn't touch any mirrors in other apt settings.
    I'm running the latest Raspbian image though - your sources seem to imply that you're running Ubuntu trusty?

    pi@raspberrypi:~ $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Raspbian
    Description:    Raspbian GNU/Linux 8.0 (jessie)
    Release:    8.0
    Codename:   jessie
    
  12. sleepyfoxen commented on Aug 24, 2016

    @sleepyfoxen

    okay, for the sake of completeness, I tried to run a full build and package VSCode on a RPi to see if it is possible. On the RPi3 Model B, this fails because the optimize-vscode stage allocates too much memory.

    Specifically where we OOM seems to vary between runs, sometimes it's an Array.prototype.forEach call and sometimes it's JSON.stringify.

    This isn't a huge problem as "fast" builds still complete, and VSCode does run, although it would be nice if the entire build process could be performed on a RPi.

  13. 132 remaining items

  14. davidrimshnick commented on Sep 11, 2020

    @davidrimshnick
  15. joaomoreno commented on Sep 11, 2020

    @joaomoreno
    Contributor

    Hi all! Starting today we have archive, deb and rpm insider packages for Linux ARM 32 and 64 bits: #106289 (comment)

    Looking forward to your feedback!

  16. added a commit that references this issue on Sep 14, 2020
  17. CuriousTommy commented on Sep 20, 2020

    @CuriousTommy

    João Moreno (@joaomoreno) Apologizes if this is the wrong place to ask, but are there plans to update the insider download page to include Linux arm64/armhf?

    Screenshot_20200920_073908

  18. koutsenko commented on Sep 26, 2020

    @koutsenko

    Cannot find download link for ARM linux deb.
    Only ARM windows link provided :(

  19. Sleuth56 commented on Sep 26, 2020

    @Sleuth56
  20. koutsenko commented on Sep 26, 2020

    @koutsenko

    @lerker100 , thanks , but i installed insiders version mentioned here - #106289 (comment)

  21. davidrimshnick commented on Oct 10, 2020

    @davidrimshnick

    Looks like ARM supported now:

    https://code.visualstudio.com/updates/v1_50#_linux-arm-builds

    Guess this can be closed.

  22. ShalokShalom commented on Oct 10, 2020

    @ShalokShalom

    This is already closed.

  23. locked and limited conversation to collaborators on Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersinstall-updateVS Code installation and upgrade system issueslinuxIssues with VS Code on Linuxon-release-notesIssue/pull request mentioned in release notesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions