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

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
主站蜘蛛池模板: 博野县| 西丰县| 日照市| 团风县| 黄石市| 万宁市| 垦利县| 岢岚县| 商河县| 宜州市| 楚雄市| 赤城县| 沂水县| 陇川县| 托里县| 永吉县| 乐昌市| 江城| 吉林省| 汝城县| 新竹市| 石阡县| 罗江县| 中江县| 即墨市| 兴仁县| 诸暨市| 沙河市| 桂林市| 衡水市| 宜都市| 巴里| 盐亭县| 大同市| 民乐县| 收藏| 灵寿县| 营口市| 鹤壁市| 宁阳县| 长葛市|