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

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
主站蜘蛛池模板: 沙湾县| 青川县| 海林市| 繁峙县| 含山县| 新泰市| 东源县| 镇宁| 临安市| 瑞安市| 张掖市| 衡东县| 阜南县| 泊头市| 沙雅县| 邹平县| 吴忠市| 洛阳市| 新宁县| 合山市| 葵青区| 闽侯县| 高尔夫| 呼伦贝尔市| 扎鲁特旗| 湖北省| 界首市| 龙口市| 荆门市| 营山县| 济南市| 镇赉县| 青神县| 大冶市| 石柱| 巢湖市| 石泉县| 鄂托克旗| 瑞昌市| 固原市| 华坪县|