Skip to content

Instantly share code, notes, and snippets.

@nihonjinrxs
Last active August 14, 2019 01:43
Show Gist options
  • Save nihonjinrxs/d088931c7c964ae7e4d079fd713e1832 to your computer and use it in GitHub Desktop.
Save nihonjinrxs/d088931c7c964ae7e4d079fd713e1832 to your computer and use it in GitHub Desktop.

VSCode install for Raspberry Pi 3B+

The following were done on a Raspberry Pi 3B+ running Raspbian Linux with the following architecture:

root@raspberrypi:/home/pi# uname -a
Linux raspberrypi 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux
root@raspberrypi:/home/pi# dpkg --print-architecture
armhf

Purge prior attempts or installs of non-working v1.32.xxx

  1. If you've previously installed code-oss and the prior install is not working properly, you'll need to purge it prior to starting:
sudo apt-get purge code-oss

Install code-oss v1.29.xxx and hold at that version

  1. Download GPG signing key from PackageCloud: https://packagecloud.io/headmelted/codebuilds/gpgkey

  2. Import GPG key

gpg --import /home/pi/Downloads/headmelted-code-oss-0CC3FD642696BFC8.pub.gpg
gpg --list-keys
  1. Install the PackageCloud repository for code-oss
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
  1. Install code-oss
sudo apt-get install code-oss=1.29.0-1539702238
  1. Tell apt to hold at version 1.29, since 1.32 doesn't work properly
sudo apt-mark hold code-oss
@doctorscott
Copy link

To install GLUT:
sudo apt-get install freeglut3-dev g++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment