@johann
To run Visual Studio Code on Linux, follow the steps below:
After completing these steps, Visual Studio Code should launch successfully on your Linux system.
@johann
1 2 |
sudo apt update sudo apt install software-properties-common apt-transport-https wget |
For Fedora/RHEL-based distributions:
1
|
sudo dnf install wget |
1
|
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/microsoft.gpg |
1
|
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" |
For Fedora/RHEL-based distributions:
1 2 3 4 5 6 7 |
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "[code] name=Visual Studio Code baseurl=https://packages.microsoft.com/yumrepos/vscode enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo' |
1 2 |
sudo apt update sudo apt install code |
For Fedora/RHEL-based distributions:
1 2 |
sudo dnf check-update sudo dnf install code |
1
|
code |
For Fedora/RHEL-based distributions:
1
|
code |
After completing these steps, Visual Studio Code should launch successfully on your Linux system.