sudo apt-get update sudo apt-get upgrade
时间: 2023-09-09 17:09:30 浏览: 279
sudo apt-get update用于更新软件源列表,它会访问源列表中的每个网址,并将最新的软件列表保存在本地电脑。而sudo apt-get upgrade命令用于将本地已安装的软件与软件列表中对应的软件进行对比,如果发现已安装的软件版本较低,就会提示你进行更新。通过这两个命令,你可以保持系统软件的最新状态,并获取最新的功能和修复。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [sudo apt-get update 和sudo apt-get upgrade 的区别](https://blog.csdn.net/kids_budong_c/article/details/122369468)[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_2"}}] [.reference_item style="max-width: 50%"]
- *3* [linux命令:软件更新 sudo apt-get update 和 sudo apt-get upgrade](https://blog.csdn.net/Mark_md/article/details/107089815)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文