
這些apt
命令與其apt-get
對應命令/同名命令相同嗎?
apt clean
apt-get clean
apt autoclean
apt-get autoclean
apt autoremove
apt-get autoremove
看來確實如此。只是想確認一下。
答案1
從man apt
:
與 APT-GET(8) 的差異 apt 指令旨在讓最終使用者感到愉快,並且不需要像 apt-get(8) 那樣向後相容。因此一些選項是不同的:
· The option DPkgPM::Progress-Fancy is enabled. · The option APT::Color is enabled. · A new list command is available similar to dpkg --list. · The option upgrade has --with-new-pkgs enabled by default.