Raspberry Pi Buster - Visual Studio Code Installation
by jeroenvanvlaardingen in Circuits > Raspberry Pi
2167 Views, 0 Favorites, 0 Comments
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.
Solved by installing jessie packages.
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
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
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
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