Huawei Cloud EulerOS-使用dnf或yum命令升级:前提条件

时间:2025-02-12 15:01:04

前提条件

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

[root@localhost bin]# dnfusage: dnf [options] COMMANDList of Main Commands:alias                     List or create command aliasesautoremove                remove all unneeded packages that were originally installed as dependenciescheck                     check for problems in the packagedbcheck-update              check for available package upgradesclean                     remove cached datadeplist                   [deprecated, use repoquery --deplist] List package's dependencies and what packages provide themdistro-sync               synchronize installed packages to the latest available versionsdowngrade                 Downgrade a package......
support.huaweicloud.com/usermanual-hce/hce_02_0021.html