在Debian系統中,通常使用apt
或apt-get
命令來更新軟件包,而不是yum
打開終端(快捷鍵:Ctrl + Alt + T)。
首先,確保你的系統已更新到最新的軟件包列表。運行以下命令:
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
dpkg --get-selections | grep -v deinstall
注意:yum
是Red Hat系列發行版(如Fedora、CentOS)的包管理器,而不是Debian系列的。在Debian系統中,請使用apt
或apt-get
命令。