Ubuntu APT包管理命令与Fedora(CentOS) DNF 命令对应表

Ubuntu command Fedora command 备注
apt update dnf check-update 您无需执行此操作,因为dnf在执行事务之前会自动更新其缓存
apt search dnf search
apt install dnf install
apt remove dnf remove
apt purge N/A
apt upgrade dnf upgrade
apt autoremove dnf autoremove

原创文章,作者:huoxiaoqiang,如若转载,请注明出处:https://www.huoxiaoqiang.com/experience/linux/440.html

发表评论

登录后才能评论