HUAWEI CLOUD EULEROS-使用dnf或yum命令升级:前提条件

时间:2024-09-14 11:44:00

前提条件

HCE中已安装dnf组件,dnf命令可用。

[root@localhost bin]# dnf
usage: dnf [options] COMMAND

List of Main Commands:

alias                     List or create command aliases
autoremove                remove all unneeded packages that were originally installed as dependencies
check                     check for problems in the packagedb
check-update              check for available package upgrades
clean                     remove cached data
deplist                   [deprecated, use repoquery --deplist] List package's dependencies and what packages provide them
distro-sync               synchronize installed packages to the latest available versions
downgrade                 Downgrade a package
......
support.huaweicloud.com/usermanual-hce/hce_02_0021.html