From c7f7d21486ff9ca55986ffbfc0c69eb858e34cda Mon Sep 17 00:00:00 2001 From: William Cohen Date: Mon, 23 Aug 2010 15:59:50 -0400 Subject: [PATCH] Simplify the installation of the needed rpm packages There was some detail on writing repo files. However, that text is not needed for rhel-5/6 or fedora. There are already repo files that point on the location of the debuginfo files. --- .../en-US/Installation.xml | 55 ++++++------------- 1 file changed, 16 insertions(+), 39 deletions(-) diff --git a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml index db66a1f3a..0cb8062c9 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml @@ -160,45 +160,22 @@ - The easiest way to install the required kernel information packages is through yum install - and debuginfo-install. debuginfo-install is included with later versions of the - yum-utils package (for example, version 1.1.10), and also requires an appropriate yum - repository from which to download and install -debuginfo/-debuginfo-common packages. - - - - Most of the required kernel packages can be found at - . Configure - yum accordingly by adding a new "debug" yum repository file - under /etc/yum.repos.d containing the following lines: - - - -[fedora-debuginfo] -name=Fedora $releasever - $basearch - Debug -failovermethod=priority -baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/ -enabled=1 - - - - Most required kernel packages can be found at - ; navigate there until you find the - appropriate Debuginfo directory for your system. Configure - yum accordingly by adding a new "debug" yum repository file under - /etc/yum.repos.d containing the following lines: - - -[rhel-debuginfo] -name=Red Hat Enterprise Linux $releasever - $basearch - Debug -baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/ -enabled=1 - - - After configuring yum with the appropriate repository, you can now install - the required -devel, -debuginfo, and -debuginfo-common - packages for your kernel. To install the corresponding packages for a specific kernel, run the following commands: - + The easiest way to install the required kernel information + packages is through yum install and + debuginfo-install commands. + debuginfo-install is included with + later versions of the yum-utils + package (for example, version 1.1.10), and also requires + an appropriate yum repository from + which to download and install + -debuginfo/-debuginfo-common + packages. You can install the required + -devel, + -debuginfo, and + -debuginfo-common packages for your + kernel. To install the corresponding packages for a + specific kernel, run the following commands: + yum install kernelname-devel-version -- 2.43.5