March 26, 2021

How to Install Visual Studio Code on Fedora 33

Prerequisite

$ cat /etc/fedora-release 
Fedora release 33 (Thirty Three)

Installation

https://computingforgeeks.com/install-visual-studio-code-on-fedora/

In short.

$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

$ cat <<EOF | sudo tee /etc/yum.repos.d/vscode.repo
[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF

$ sudo dnf check-update; sudo dnf install code

$ code

No comments: