如何安装 qt5-qtconfiguration CentOS 8

qt5-qtconfiguration 是 Qt5 – QtConfiguration 模块

介绍

在本教程中我们学习如何安装 qt5-qtconfiguration 在 CentOS 8.

什么是 qt5-qtconfiguration

带有更改通知的设置 API。

我们可以用 yum 或者 dnf 安装 qt5-qtconfiguration 在 CentOS 8. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 qt5-qtconfiguration。

安装 qt5-qtconfiguration CentOS 8 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

更新 yum 数据库后,我们可以安装 qt5-qtconfiguration 使用 dnf 通过运行以下命令:

sudo dnf -y install qt5-qtconfiguration

安装 qt5-qtconfiguration CentOS 8 使用百胜

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

更新 yum 数据库后,我们可以安装 qt5-qtconfiguration 使用 yum 通过运行以下命令:

sudo yum -y install qt5-qtconfiguration

如何卸载 qt5-qtconfiguration CentOS 8

仅卸载 qt5-qtconfiguration 打包我们可以使用以下命令:

sudo dnf remove qt5-qtconfiguration

qt5-qtconfiguration 包内容 CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/ef5b46e9b55938f8652b008906a668f4b525d4
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/a2af9f98035a394e94eec89efc022cdd915e99
/usr/lib64/hawaii
/usr/lib64/hawaii/qml
/usr/lib64/hawaii/qml/Hawaii
/usr/lib64/hawaii/qml/Hawaii/Configuration
/usr/lib64/hawaii/qml/Hawaii/Configuration/libqmlconfigurationplugin.so
/usr/lib64/hawaii/qml/Hawaii/Configuration/plugins.qmltypes
/usr/lib64/hawaii/qml/Hawaii/Configuration/qmldir
/usr/lib64/libqtconfiguration.so.0.3.1
/usr/share/doc/qt5-qtconfiguration
/usr/share/doc/qt5-qtconfiguration/README.md
/usr/share/licenses/qt5-qtconfiguration
/usr/share/licenses/qt5-qtconfiguration/LICENSE.FDL
/usr/share/licenses/qt5-qtconfiguration/LICENSE.GPL
/usr/share/licenses/qt5-qtconfiguration/LICENSE.LGPL

参考

概括

在本教程中我们学习如何安装 qt5-qtconfiguration 在 CentOS 8 使用 yum 和 dnf。