
ubuntu 14.04 中的軟體更新應用程式是否像 sudo apt-get update 命令?
答案1
軟體更新應用程式只是命令列中的 GUI 前端apt
和dpkg
後端,實際上維護和管理軟體包。
執行的最終底層命令大約相當於sudo apt-get update
您點擊「刷新」或「檢查更新」時的命令。當您在軟體包的圖形清單中選擇了所有軟體包時,執行的 about-equivalent 命令是sudo apt-get dist-upgrade
,或者對於選定的特定軟體包和未選擇的其他軟體包sudo apt-get install PACKAGE1 PACKAGE2 PACKAGE3 ...
(其中PACKAGE#
是所選軟體包的佔位符)。
最終,apt-get update
、apt-get upgrade
和軟體更新應用程式只是實現相同目標的不同介面 - 更新系統中的軟體包,最終由dpkg
最終處理。