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

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
主站蜘蛛池模板: 古交市| 丰宁| 武宣县| 呈贡县| 甘德县| 永川市| 平原县| 正镶白旗| 台湾省| 汽车| 郧西县| 沁源县| 望谟县| 迁安市| 山东省| 阜平县| 佛冈县| 本溪| 开化县| 昆明市| 馆陶县| 根河市| 香河县| 东平县| 南川市| 泽州县| 金湖县| 宁波市| 阳西县| 班戈县| 玉溪市| 美姑县| 盐源县| 苍溪县| 泾源县| 璧山县| 通城县| 无为县| 蚌埠市| 尚志市| 东海县|