[root@www ~]# yum command [packages] command: install :安裝 reinstall:重新安裝 update :升級,若要整個系統都升級,後不接套件 remove :移除
[root@kvm8 ~]# yum install google-noto-cjk-fonts-common.noarch Last metadata expiration check: 1:25:24 ago on Fri 22 Oct 2021 03:38:02 PM CST. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: google-noto-cjk-fonts-common noarch 20190416-1.el8 App 20 k Transaction Summary ================================================================================ Install 1 Package Total download size: 20 k Installed size: 29 k Is this ok [y/N]: y Downloading Packages: google-noto-cjk-fonts-common-20190416-1.el8.noa 213 kB/s | 20 kB 00:00 -------------------------------------------------------------------------------- Total 206 kB/s | 20 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : google-noto-cjk-fonts-common-20190416-1.el8.noarch 1/1 Verifying : google-noto-cjk-fonts-common-20190416-1.el8.noarch 1/1 Installed products updated. Installed: google-noto-cjk-fonts-common-20190416-1.el8.noarch Complete!
[root@kvm8 ~]# yum remove google-noto-cjk-fonts-common.noarch Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Removing: google-noto-cjk-fonts-common noarch 20190416-1.el8 @App 29 k Transaction Summary ================================================================================ Remove 1 Package Freed space: 29 k Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : google-noto-cjk-fonts-common-20190416-1.el8.noarch 1/1 Verifying : google-noto-cjk-fonts-common-20190416-1.el8.noarch 1/1 Installed products updated. Removed: google-noto-cjk-fonts-common-20190416-1.el8.noarch Complete!