Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save caot/1788ae1df9b948191f8098860bb7de23 to your computer and use it in GitHub Desktop.
Save caot/1788ae1df9b948191f8098860bb7de23 to your computer and use it in GitHub Desktop.
CentOS 7 - How to install kernel-debuginfo
yum --enablerepo=base-debuginfo install -y kernel-debuginfo-$(uname -r)
@caot
Copy link
Author

caot commented May 8, 2020

$ cat /etc/yum.repos.d/centos-debug.repo
# https://github.com/projectatomic/centos-release-atomic-host-devel/blob/master/CentOS-Debuginfo.repo
# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#

# All debug packages from all the various CentOS-7 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#

[base-debuginfo]
name=CentOS-7 - Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment