一、Rocky Linux 执行命令(带注释 + 用途)本篇用的是Rocky Linux 9 # dnf:Rocky/CentOS的包管理器,类似Windows应用商店 # update -y:更新本机所有已安装软件,-y 自动确认,不用手动输y sudo dnf update -y # CRB