官术网_书友最值得收藏!

Debian and Ubuntu-based distributions

The easiest way to install VS Code on Debian/Ubuntu-based distributions is to download and install the 64-bit .deb package from https://go.microsoft.com/fwlink/?LinkID=760868. If you have the graphical software center available, then install the 64-bit .deb package from there, and if it is not available then install it using the command line:

sudo dpkg -i <file>.deb
sudo apt-get install -f # Install dependencies

The .deb package installation will automatically install the apt repository and it will also install the signing key which enables auto-updating using the regular system mechanism. You can download the 32-bit .deb package and .tar.gz binaries from https://code.visualstudio.com/Download

The repository and key can also be installed manually using the following script:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

Then run the following commands to update the package cache and install the package:

sudo apt-get update
sudo apt-get install code # or code-insiders
主站蜘蛛池模板: 黄浦区| 景东| 宁津县| 涞水县| 嘉义县| 自贡市| 白城市| 五峰| 西充县| 靖西县| 丹江口市| 广德县| 搜索| 眉山市| 肥东县| 乾安县| 那坡县| 瓦房店市| 通渭县| 定远县| 金阳县| 喜德县| 东城区| 曲阜市| 霍城县| 卢湾区| 高邮市| 周至县| 公主岭市| 全州县| 洛隆县| 交口县| 闽侯县| 榆社县| 太康县| 张家界市| 广水市| 泸州市| 岑溪市| 上高县| 霍林郭勒市|