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

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
主站蜘蛛池模板: 莱西市| 金塔县| 汽车| 九台市| 铜山县| 济阳县| 准格尔旗| 疏附县| 广东省| 鞍山市| 广宁县| 财经| 陆河县| 墨玉县| 凤山县| 额尔古纳市| 东丰县| 高陵县| 阿克陶县| 莱阳市| 定日县| 湖口县| 白朗县| 女性| 河池市| 蒙自县| 庄浪县| 白沙| 文水县| 霍邱县| 松溪县| 垦利县| 兴化市| 志丹县| 朝阳区| 太谷县| 清水河县| 平定县| 前郭尔| 大理市| 监利县|