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

openSUSE and SLE-based distributions

The yum repository mentioned above for RHEL, CentOS, and Fedora distributions also works for openSUSE and SLE-based systems. The following script will install the signing key and repository:

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/vscode.repo'

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

sudo zypper refresh
sudo zypper install code
主站蜘蛛池模板: 卢湾区| 高青县| 阿瓦提县| 广汉市| 沈阳市| 长阳| 遵化市| 奉化市| 兴国县| 腾冲县| 育儿| 基隆市| 汉阴县| 赫章县| 古浪县| 文昌市| 涡阳县| 花垣县| 原阳县| 安阳县| 颍上县| 黔东| 大荔县| 厦门市| 柞水县| 林口县| 潼关县| 新密市| 和顺县| 新邵县| 云安县| 盐山县| 卫辉市| 旬邑县| 天津市| 安吉县| 会泽县| 灵石县| 盘锦市| 汝南县| 宾阳县|