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

RHEL, Fedora, and CentOS-based distributions

Stable versions of 64-bit Visual Studio Code are shipped through a yum repository for RHEL, CentOS, and Fedora distributions. Once you run the following script, it will install the 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\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

Then run the following commands to update the package cache and install the package using dnf (Fedora 22 and above):

dnf check-update
sudo dnf install code

Or, if you are on an older version of Fedora, use yum:

yum check-update
sudo yum install code
主站蜘蛛池模板: 五莲县| 桂平市| 蓬安县| 上高县| 海城市| 昌黎县| 拜城县| 洪雅县| 柳林县| 筠连县| 江门市| 汉沽区| 吉木萨尔县| 交口县| 怀远县| 玉门市| 靖西县| 黎平县| 肇源县| 偃师市| 天全县| 安塞县| 炎陵县| 宁化县| 柏乡县| 曲麻莱县| 金阳县| 盖州市| 旬邑县| 汪清县| 囊谦县| 武威市| 全南县| 长治县| 收藏| 平和县| 班戈县| 阿尔山市| 辰溪县| 甘孜县| 区。|