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
- 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
-
Download GPG signing key from PackageCloud: https://packagecloud.io/headmelted/codebuilds/gpgkey
-
Import GPG key
gpg --import /home/pi/Downloads/headmelted-code-oss-0CC3FD642696BFC8.pub.gpg
gpg --list-keys
- Install the PackageCloud repository for code-oss
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
- Install code-oss
sudo apt-get install code-oss=1.29.0-1539702238
- Tell
apt
to hold at version 1.29, since 1.32 doesn't work properly
sudo apt-mark hold code-oss
To install GLUT:
sudo apt-get install freeglut3-dev g++