To install Visual Studio Code on your Ubuntu system, follow these steps.
First, update the packages index and install the dependencies by typing:
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
Next, import the Microsoft GPG key using the following wget command :
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
And enable the Visual Studio Code repository by typing:
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
Once the apt repository is enabled , install the latest version of Visual Studio Code with:
sudo apt update
sudo apt install code
That’s it. Visual Studio Code has been installed on your Ubuntu desktop and you can start using it.
本文详细介绍了如何在Ubuntu系统上安装Visual Studio Code。首先更新包索引并安装依赖,然后导入Microsoft GPG密钥,启用Visual Studio Code的软件仓库,最后通过apt更新并安装最新版的Visual Studio Code。
7009

被折叠的 条评论
为什么被折叠?



