如何在Linux操作系统中成功安装Visual Studio Code?
在Linux下安装Visual Studio Code(VSC),你可以使用以下命令行操作:,,“bash,sudo apt update,sudo apt install softwarepropertiescommon apttransporthttps wget,wget q https://packages.microsoft.com/keys/microsoft.asc O| sudo gpg dearmor ˃ microsoft.gpg,sudo install o root g root m 644 microsoft.gpg /etc/apt/trusted.gpg.d/,sudo sh c ‘echo “deb [arch=amd64 signedby=/etc/apt/trusted.gpg.d/microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main” ˃ /etc/apt/sources.list.d/vscode.list’,sudo apt install vscodium,“,,这段代码会添加微软的GPG公钥和软件源,然后安装VSCodium。VSCodium是VS Code的一个自由软件版本,它与VS Code功能相同,但不含专有组件。
近期评论