ubuntu20.04 下vscode更新
时间: 2023-08-17 22:04:48 浏览: 214
在Ubuntu 20.04下更新VS Code,你可以按照以下步骤进行操作:
1. 首先,你需要将VS Code的存储库添加到APT源列表中。根据你的系统架构选择以下命令之一:
- 对于armhf架构:`echo "deb \[arch=armhf\] http://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list`
- 对于amd64架构:`echo "deb \[arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg\] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list`
2. 添加完存储库后,运行以下命令更新APT包列表:
`sudo apt update`
3. 现在你可以使用以下命令来更新VS Code:
`sudo apt upgrade code`
这样就可以在Ubuntu 20.04下更新VS Code了。请注意,你需要具有管理员权限才能执行这些命令。
#### 引用[.reference_title]
- *1* *2* [在ubuntu20.04安装vscode](https://blog.csdn.net/k1419197516/article/details/129591168)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Ubuntu20.04安装vscode配置python环境](https://blog.csdn.net/weixin_48661404/article/details/127308771)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文