Import gpg key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Create the Repository
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
Install the software
sudo dnf install code
No comments:
Post a Comment