HowToInstall

VScode Install in Jetson Xavier NX

yongee97 2023. 6. 28. 16:39

* Reference

https://forums.developer.nvidia.com/t/vs-code-can-t-launch-with-jetpack-5-0/213980/12

 

VS code can’t launch with JetPack 5.0

How are people here installing vscode? Do you have a reference to the download and install of the arm64 version of vscode?

forums.developer.nvidia.com

https://www.forecr.io/blogs/programming/how-to-install-visual-studio-code-on-nvidia-jetson-xavier-nx-nano-run-sample-in-c-application

 

How to install Visual Studio Code on NVIDIA® Jetson™  Xavier

After we have finished the installation process and done the verification, let’s create a new console application. We need to create a new console app with the following command:

www.forecr.io

 

 

* Enviornment

Jetson Xavier NX

Jetpack 5.1

Ubuntu 20.04

 

 

1.Download package

- You should download ARM64

There is an error when running latest version, so I downloaded older version

Download link

https://update.code.visualstudio.com/1.50.0/linux-deb-arm64/stable

 

- you can go directly to the official page

https://code.visualstudio.com/download#

 

Download Visual Studio Code - Mac, Linux, Windows

Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.

code.visualstudio.com

 

2. install

sudo dpkg -i ./code_[your_version].deb

 

3. If code is not installed after entering 2, follow this

sudo apt install apt-transport-https
sudo apt update
sudo apt install code