第 1 章 建立一个开发工作站
Red Hat Enterprise Linux 10 支持自定义应用程序的开发。本章论述了常见的开发用例和所需工具。您必须确保 RHEL 系统(包括图形环境)已安装并订阅。
1.1. 启用调试和资源存储库 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Red Hat Enterprise Linux 的标准安装不会启用调试和资源存储库。这些存储库包含调试系统组件并测量其性能所需的信息。
流程
启用源并调试信息软件包通道:
subscription-manager repos --enable rhel-10-for-$(uname -i)-baseos-debug-rpms subscription-manager repos --enable rhel-10-for-$(uname -i)-baseos-source-rpms subscription-manager repos --enable rhel-10-for-$(uname -i)-appstream-debug-rpms subscription-manager repos --enable rhel-10-for-$(uname -i)-appstream-source-rpms
# subscription-manager repos --enable rhel-10-for-$(uname -i)-baseos-debug-rpms # subscription-manager repos --enable rhel-10-for-$(uname -i)-baseos-source-rpms # subscription-manager repos --enable rhel-10-for-$(uname -i)-appstream-debug-rpms # subscription-manager repos --enable rhel-10-for-$(uname -i)-appstream-source-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow $(uname -i)部分会自动替换为您系统构架的匹配值:Expand 架构名称 订阅价值 64 位 Intel 和 AMD
x86_64
64-bit ARM
aarch64
IBM POWER
ppc64le
64-bit IBM Z
s390x