- How do I download
- How to download debug-info packages like kernel-debuginfo?
- Why are debug info packages for Red Hat Enterprise Linux 6 (RHEL6) not available from the ftp site
- Is there a customer-accessible place where a consolidated set of
/usr/lib/debugfor certain packages can be found?
- Red Hat Enterprise Linux
- Red Hat Network (RHN)
- Red Hat Satellite
For Red Hat Enterprise Linux 5.8+, 6 and 7
With the release of RHEL 6 the debuginfo packages are no longer provided via the Red Hat public FTP site. They have instead moved to Red Hat Network (RHN) classic or Red Hat Satellite for download.
With the release of RHEL 5.8, all RHEL 5 debuginfo packages will be available via Red Hat Network or Red Hat Satellite. Note: Satellite customers need to activate a Satellite Certificate generated after RHEL 5.8 release to be able to synchronize the debug channels.
Each base Red Hat channel now has a debug child channel. For example,
rhel-i386-client-6 rhel-i386-client-6-debuginfo rhel-i386-client-5 rhel-i386-client-5-debuginfo rhel-i386-server-6 rhel-i386-server-6-debuginfo rhel-x86_64-server-6 rhel-x86_64-server-6-debuginfo
- If the system is registered via subscription-manager, the associated repostory label ends in "debug-rpms". Enable it with
# yum-config-manager --enable rhel-6-workstation-debug-rpms # subscription-manager repos --enable rhel-6-workstation-debug-rpms # yum-config-manager --enable rhel-6-server-debug-rpms # subscription-manager repos --enable rhel-6-server-debug-rpms
- If the system is registered to RHN Classic, add the channel to the system profile in the Customer Portal, or with
# rhn-channel -a -c rhel-`uname -i`-client-6-debuginfo -u <Red Hat login> -p <Password> # rhn-channel -a -c rhel-`uname -i`-server-6-debuginfo -u <Red Hat login> -p <Password>
- Note: if
rhn-channelstates that the channel does not exist, use the following command to verify the correct channel label in the list of available channels:
# rhn-channel -L
to verify the correct channel name in the list of available channels.
Additionally, the RHN user interface has been changed to link to the
debuginfo packages from the corresponding binary RPMs. For example:
Note that the "Associated Debug Info Package(s)" link at the bottom goes straight to the
debuginfo package instead of to
For Red Hat Enterprise Linux 5.7 and earlier
There are currently 3 options for getting
debuginfo package for RHEL 5.7 and earlier:
Through RHN classic or Red Hat Satellite, see the recommended solution above.
RHEL 5 is preconfigured with the yum repository information necessary to easily download debuginfo packages. This information resides in
/etc/yum.repos.d/rhel-debuginfo.repo. To download a particular debuginfo package, type
# debuginfo-install --enablerepo rhel-debuginfo <debuginfo-package>
# yum --enablerepo rhel-debuginfo install <debuginfo-package>
where debuginfo-package is the name of the debuginfo package to be downloaded and installed.
debuginfo-install is preferred, for resolving dependencies automatically. To use debuginfo-install, the yum-utils package need to be installed on the system.
The debuginfo-package may need to contain version information to ensure that the correct package is installed. For example, to prepare a system to analyze a vmcore file created by a system that was running the 2.6.18-8.el5 kernel, the command
# debuginfo-install --enablerepo rhel-debuginfo kernel
# yum --enablerepo rhel-debuginfo install kernel-debuginfo-2.6.18-8.el5
would automatically download and install the kernel-debuginfo package corresponding to the given version.
- Alternatively, manually download debuginfo packages for RHEL 5.7 and earlier at this address depending on the architecture and release version ("Client" or "Server"):
Solution for Red Hat Enterprise Linux 7
- First get the channels available with debug packages
subscription-manager repos --list |grep -i debug Repo ID: rhel-rs-for-rhel-7-server-fastrack-debug-rpms Repo Name: Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) - Fastrack (Debug RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/server/7/$basearch/resilientstorage/debug Repo ID: rhel-ha-for-rhel-7-server-beta-debug-rpms Repo Name: Red Hat Enterprise Linux High Availability (for RHEL 7 Server) Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/highavailability/debug Repo ID: rhel-7-server-supplementary-debug-rpms
- After you get Repo ID of the channel that you want to use just enabled it.
subscription-manager repos --enable=rhel-rs-for-rhel-7-server-fastrack-debug-rpms
Solution for Red Hat Enterprise Linux 2.1, 3 and 4
- For initial release, the debuginfo packages are available at this address depending on the specific flavor of RHEL:
- For subsequent releases of RHEL 2.1, 3 and 4, the debuginfo packages are available at this address (again, depending on the specific flavor):
An unsupported, but useful, tool exists for looking up debug info packages for Red Hat Enterprise Linux 3, 4, and 5 on the ftp site. See Unsupported Debuginfo tool for Red Hat Enterprise Linux 3, 4, and 5