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

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
主站蜘蛛池模板: 赣州市| 岗巴县| 仁怀市| 武清区| 浙江省| 太仆寺旗| 安龙县| 闽侯县| 偏关县| 临邑县| 麟游县| 伊川县| 乌恰县| 汾阳市| 彝良县| 邳州市| 墨竹工卡县| 若尔盖县| 萍乡市| 澄城县| 白银市| 新沂市| 永城市| 义马市| 莱州市| 芦山县| 岳池县| 息烽县| 新化县| 犍为县| 宁强县| 西林县| 虎林市| 特克斯县| 金塔县| 万年县| 白山市| 称多县| 偃师市| 连山| 嘉峪关市|