centos7安装vscode
时间: 2023-09-08 09:10:14 浏览: 127
要在CentOS 7上安装VSCode,可以使用以下步骤:
1. 首先,导入Microsoft的GPG密钥并添加VSCode的存储库。可以使用以下命令完成:
```
rpm --import https://packages.microsoft.com/keys/microsoft.asc
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
```
2. 接下来,检查并更新系统的软件包列表:
```
yum check-update
```
3. 最后,安装Visual Studio Code:
```
sudo yum install code
```
这样,您就可以在CentOS 7上成功安装VSCode了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [linux+centos7 +vscode+C++11+muduo示例](https://download.csdn.net/download/huangdecai2/11975118)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [centos7下安装vscode](https://blog.csdn.net/lixiaomei0623/article/details/125655031)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文