Raspberry Pi Buster - Visual Studio Code Installation

Introduction: Raspberry Pi Buster - Visual Studio Code Installation

Solution for visual studio code installation error on raspbian strech of or buster.

Solved by installing jessie packages.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: VS Code Installation Fails - Sudo Apt-get Install Code-oss / Unable to Locate Package

Initially tried to use the Installer :
sudo wget -O - https://code.headmelted.com/installers/apt.sh

the apt-get install seems to fail on raspbian strech and buster.

The repository is setup! You can now install packages.
Repository install complete.
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss

Step 2: Install Raspbian Jessie Visual Studio Code Packages

1. Open the sources list
sudo nano /etc/apt/sources.list.d/headmelted_codebuilds.list

2. Replace stretch or buster with jessie
Edit file headmelted_codebuilds.list and save changes

3. Update package list
sudo apt-get update

4. Install VS code
sudo apt-get install code-oss

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    Discussions