rmol-devel 是 rmol 的头文件、库和开发帮助工具
介绍
在本教程中我们学习如何安装 rmol-devel
在 CentOS 8.
什么是 rmol-devel
该软件包包含 rmol 的头文件、共享库和开发帮助工具。 如果您想使用 rmol 开发程序,则需要安装 rmol-devel。
我们可以用 yum
或者 dnf
安装 rmol-devel
在 CentOS 8. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 rmol-devel。
安装 rmol-devel 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 数据库后,我们可以安装 rmol-devel
使用 dnf
通过运行以下命令:
sudo dnf -y install rmol-devel
安装 rmol-devel 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 数据库后,我们可以安装 rmol-devel
使用 yum
通过运行以下命令:
sudo yum -y install rmol-devel
如何卸载 rmol-devel CentOS 8
仅卸载 rmol-devel
打包我们可以使用以下命令:
sudo dnf remove rmol-devel
rmol-devel 软件包内容位于 CentOS 8
/usr/bin/rmol-config
/usr/include/rmol
/usr/include/rmol/OptimizationType.hpp
/usr/include/rmol/RMOL_Service.hpp
/usr/include/rmol/RMOL_Types.hpp
/usr/lib64/librmol.so
/usr/lib64/pkgconfig/rmol.pc
/usr/share/aclocal/rmol.m4
/usr/share/man/man1/rmol-config.1.gz
/usr/share/man/man3/rmol-library.3.gz
/usr/share/rmol
/usr/share/rmol/CMake
/usr/share/rmol/CMake/rmol-config-version.cmake
/usr/share/rmol/CMake/rmol-config.cmake
/usr/share/rmol/CMake/rmol-library-depends-debug.cmake
/usr/share/rmol/CMake/rmol-library-depends.cmake
参考
概括
在本教程中我们学习如何安装 rmol-devel
在 CentOS 8 使用 yum 和 dnf。