vscode ubantu版本官网下载太慢
时间: 2023-10-06 15:07:10 浏览: 98
如果你在官网下载VSCode的过程中遇到下载速度慢的问题,可以尝试以下方法:
1. 更新下载源:打开终端,使用以下命令备份原有的源文件:
```
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
```
然后使用以下命令编辑源文件:
```
sudo gedit /etc/apt/sources.list
```
在文本编辑器中,将原有的下载源地址替换为以下地址:
```
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
```
保存并关闭文件,然后运行以下命令更新下载源:
```
sudo apt update
```
然后再次尝试在官网下载VSCode。
2. 使用代理:如果更新下载源后速度还是很慢,你可以尝试使用代理服务器来进行下载。首先,需要设置代理服务器,然后再进行下载。
希望这些方法可以帮助你加快VSCode在Ubuntu上的下载速度。如果问题依然存在,请参考其他来源的解决方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ubuntu下载vscode慢的问题](https://blog.csdn.net/Tjchen_520/article/details/123212575)[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%"]
- *3* [vscode下载缓慢](https://blog.csdn.net/Turn_to_empty/article/details/126260706)[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 ]
阅读全文