Thursday, March 30, 2023

Installing VS Code on Raspberry Pi and Ubuntu

 The aarch64 build of VS Code is available in Raspberry Pi OS repositories to bi installed directly with "apt install code", but the Ubuntu repos only have x86 and x86_64 versions of code.  So we need to manually install code - once we install the .deb package, it adds the Microsoft repo for us to keep it up to date:

Look for and download the latest arm64 package here:
https://packages.microsoft.com/repos/code/pool/main/c/code/

Then install it with dpkg:
sudo dpkg --install ~/Downloads/code*arm64.deb

Afterward, apt will keep it up to date.

No comments: