dnf upgrade package_name 比如要更新python软件: ~]# dnf upgrade python Using metadata from Mon Apr 20 16:38:16 2015 (2:42:14 hours old) Dependencies resolved. Package Arch Version Repository Size Upgrading: python x86_64 2.7.9-6.fc22 updates 92 k python-libs x86_64 2.7.9-6.fc22 upda...
dnf upgrade package_name 比如要更新python软件: ~]# dnf upgrade python Using metadata from Mon Apr 20 16:38:16 2015 (2:42:14 hours old) Dependencies resolved. Package Arch Version Repository Size Upgrading: python x86_64 2.7.9-6.fc22 updates 92 k python-libs x86_64 2.7.9-6.fc22 upda...
# dnf remove package_name... 例如示例命令如下: [root@superman-21 ~]# dnf remove lrzsz Dependencies resolved. === Package Architecture Version Repository Size ===
createrepo_c x86_640.17.6-1.oe2203 OS137k Installing dependencies: drpm x86_640.5.0-2.oe2203 update60k Transaction Summary===Install2Packages Total download size:197k Installed size:535k Is this ok[y/N]: y Downloading Packages:(1/2): drpm-0.5.0-2.oe2203.x86_64.rpm320kB/s|60kB 00...
dnf module switch-to php:8.1 ... dependencies resolved. === package arch version repository size === upgrading: php-common x86_64 8.1.14-1.module+el9.2.0+17911+b059dfc2 rhel-appstream 687 k enabling module streams:
Method 1: Download RPM packages using DNF/YUM You can make DNF store a copy of the packages and dependencies as follows. # dnf install --downloadonly --downloaddir=/path/to/dir/ PACKAGE –downloaddir=, –destdir= Redirectdownloaded packages to provided directory. The option has to be used...
package groupdnf:name:'@Developmenttools'state:present-name:Autoremove unneeded packages installed as dependenciesdnf:autoremove:yes-name:Uninstall httpd but keep its dependenciesdnf:name:httpdstate:absentautoremove:no-name:install a modularity appstream with defined stream and profilednf:name:'@postgresql...
dnf updatepackage_name 例如升级rpm包,示例如下: # dnf update anaconda-gui.aarch64 Last metadata expiration check: 0:02:10 ago on Sun 01 Sep 2019 11:30:27 PM CST.Dependencies Resolved ===Package Arch Version Repository Size ===Updating:anaconda-gui aarch64 19.31.123-...
check-update checkforavailable package upgrades clean remove cached data deplist List package's dependencies and what packages provide them distro-sync synchronize installed packages to the latest available versions downgrade Downgrade a package group display, or use, the groups information ...
更新单个软件包命令如下:dnfupgradepackage_name比如要更新python软件:~]#dnfupgradepythonUsingmetadatafromMonApr2016:38:162015(2:42:14hoursold)Dependenciesresolved.===PackageArchVersionRepositorySize===Upgrading:pythonx86_642.7.9-6.fc22u 君,已阅读到文档的结尾了呢~~ 立即下载相似精选,再来一篇 kaoeu1 分享...