LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-15-2005, 05:14 AM   #1
ricky_ds
Member
 
Registered: Aug 2004
Location: Bern, Switzerland
Distribution: Kubuntu, FC, RHEL
Posts: 48
Blog Entries: 2

Rep: Reputation: 17
How to install a specific package?


Hello forum,

This question might seem really stupid but I've been trying to find how Redhat lets me search for a substring of a package name, then list me the packages it found, lets me check the packages I need and prompt me for the right CD to install.

- The package manager available on Redhat lets me check some packages and prompts for the CD(s) BUT doesn't let me search for packages. So if I am looking for a given library for example, I have to go through the many categories until eventually I find it. Sometimes I don't even find it because it is hidden in some arcane place...

- on the shell, I can rpm -iv any package, but to do this, I first need to go through all the CDs and see on what CD the package is available.

I almost can't believe Redhat doesn't provide a tool which is available on every distro I've met so far (synaptic on Debian, Mandrake package manager on now Mandriva or yast on Suse)...

Note: using RHEL4 64 bit.
 
Old 08-15-2005, 05:49 AM   #2
sbarwal
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
i have installed fc 3 but system is not detecting sound card. after typing lspci -v
i got this

Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Memory behind bridge: ff800000-ff8fffff
Prefetchable memory behind bridge: 00000000d0400000-00000000d0400000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: ff700000-ff7fffff
Prefetchable memory behind bridge: 00000000d0300000-00000000d0300000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: ff600000-ff6fffff
Prefetchable memory behind bridge: 00000000d0200000-00000000d0200000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.3 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: ff500000-ff5fffff
Prefetchable memory behind bridge: 00000000d0100000-00000000d0100000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at c800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at cc00 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at d000 [size=32]

00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at d400 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
Memory at ffac4000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: ff900000-ff9fffff
Prefetchable memory behind bridge: 00000000d0500000-00000000d0500000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at ffa0 [size=16]

00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 193
I/O ports at e800 [size=8]
I/O ports at e400 [size=4]
I/O ports at e000 [size=8]
I/O ports at dc00 [size=4]
I/O ports at d800 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: medium devsel, IRQ 193
I/O ports at c400 [size=32]

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 209
I/O ports at b800 [size=256]
Memory at ff910000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at ff900000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

[root@sandy ~]# lspci -v
00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O Controller (rev 04)
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ff400000-ff4fffff
Prefetchable memory behind bridge: d0000000-d00fffff
Capabilities: [88] #0d [0000]
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [140] Unknown (5)

00:02.0 VGA compatible controller: Intel Corp. 82915G Express Chipset Family Graphics Controller (rev 04) (prog-if 00 [VGA])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at ffa00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at ffa80000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [d0] Power Management version 2

00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corp.: Unknown device e203
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at ffac0000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Memory behind bridge: ff800000-ff8fffff
Prefetchable memory behind bridge: 00000000d0400000-00000000d0400000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: ff700000-ff7fffff
Prefetchable memory behind bridge: 00000000d0300000-00000000d0300000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: ff600000-ff6fffff
Prefetchable memory behind bridge: 00000000d0200000-00000000d0200000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.3 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: ff500000-ff5fffff
Prefetchable memory behind bridge: 00000000d0100000-00000000d0100000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at c800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at cc00 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at d000 [size=32]

00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at d400 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
Memory at ffac4000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: ff900000-ff9fffff
Prefetchable memory behind bridge: 00000000d0500000-00000000d0500000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at ffa0 [size=16]

00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 193
I/O ports at e800 [size=8]
I/O ports at e400 [size=4]
I/O ports at e000 [size=8]
I/O ports at dc00 [size=4]
I/O ports at d800 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: medium devsel, IRQ 193
I/O ports at c400 [size=32]

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 209
I/O ports at b800 [size=256]
Memory at ff910000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at ff900000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

[root@sandy ~]# rpm -e HelixPlayer
[root@sandy ~]# clear

[root@sandy ~]# lspci -v
00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O Controller (rev 04)
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ff400000-ff4fffff
Prefetchable memory behind bridge: d0000000-d00fffff
Capabilities: [88] #0d [0000]
Capabilities: [80] Power Management version 2
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [140] Unknown (5)

00:02.0 VGA compatible controller: Intel Corp. 82915G Express Chipset Family Graphics Controller (rev 04) (prog-if 00 [VGA])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at ffa00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at ffa80000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [d0] Power Management version 2

00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corp.: Unknown device e203
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at ffac0000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Memory behind bridge: ff800000-ff8fffff
Prefetchable memory behind bridge: 00000000d0400000-00000000d0400000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: ff700000-ff7fffff
Prefetchable memory behind bridge: 00000000d0300000-00000000d0300000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: ff600000-ff6fffff
Prefetchable memory behind bridge: 00000000d0200000-00000000d0200000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.3 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: ff500000-ff5fffff
Prefetchable memory behind bridge: 00000000d0100000-00000000d0100000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at c800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at cc00 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at d000 [size=32]

00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at d400 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 201
Memory at ffac4000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: ff900000-ff9fffff
Prefetchable memory behind bridge: 00000000d0500000-00000000d0500000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at ffa0 [size=16]

00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corp.: Unknown device 4156
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 193
I/O ports at e800 [size=8]
I/O ports at e400 [size=4]
I/O ports at e000 [size=8]
I/O ports at dc00 [size=4]
I/O ports at d800 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Intel Corp.: Unknown device 4156
Flags: medium devsel, IRQ 193
I/O ports at c400 [size=32]

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 209
I/O ports at b800 [size=256]
Memory at ff910000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at ff900000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2

help me
 
Old 08-15-2005, 05:53 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Note: this is in response to ricky_ds's question; sbarwal, please start a new topic

Fedora Core comes with "yum" which is a very good updater. I'm not sure if RHEL has yum. If not, try to install it (I'm not sure from where). After you install it, here are some instructions:
* http://fedora.redhat.com/docs/updates/using-yum.html
* http://www.fedorafaq.org/#installsoftware
Basic commands are:
Install package foo:
Code:
yum install foo
Update all packages:
Code:
yum update
Search for string foo in packages:
Code:
yum search foo

Last edited by spooon; 08-15-2005 at 05:56 AM.
 
Old 08-22-2005, 03:57 AM   #4
ricky_ds
Member
 
Registered: Aug 2004
Location: Bern, Switzerland
Distribution: Kubuntu, FC, RHEL
Posts: 48
Blog Entries: 2

Original Poster
Rep: Reputation: 17
Thanks spooon for your answer. We had to go another path.

Yum is not available for RHEL, you're supposed to use the up2date tool for updating packages and install only from the package manager, which is really limited.

I did the following: created a directory called /root/diskls and for every disk made a listing of the packages available
Code:
ls /media/cdrom/Redhat/RPMS/ > disk1
Then I created the following script that lets me search for a package and see if it's installed:

Code:
#!/bin/bash

if [ $# -ne 1 ]; then
echo "-----------------------------------------------------------"
echo "Searches the RPM packages matching the given name. Returns"
echo "a list with the corresponding install-CD reference"
echo "usage: $0 <string>"
echo "-----------------------------------------------------------"
exit
fi

length() {
  length=`echo "$@" | wc -c | cut -c1-8`
  length=$(( $length -1 ))
  echo $length
}


cd /root/diskls
myTMP=/tmp/searchpkg$$
grep -r $1 * > $myTMP
NBMATCH=`cat $myTMP | wc -l`
if [ $NBMATCH -eq 0 ]; then
  echo "No package by that name found"
else
  echo -e "DISK\tI\tPACKAGE"
  echo "----------------------------------------------------"
  while read LINE
  do
    DSK=`echo $LINE |awk -F: '{print$1}'`
    PKG=`echo $LINE |awk -F: '{print$2}'`
    PKGNAME=`echo $PKG |awk -F. '{print$1}'`
    end=`length $PKGNAME`
    end=$(( $end - 2 ))
    PKGNAME=`echo $PKGNAME | cut -c1-$end`
    inst=`rpm -q $PKGNAME | grep "is not installed"`
    if [ "$inst" = "" ]; then
      inst="x"
    else
      inst="-"
    fi
    echo -e "$DSK\t$inst\t$PKGNAME ($PKG)"
  done < $myTMP
  echo "----------------------------------------------------"
  echo "$NBMATCH matches found"
fi
rm $myTMP
I then do the following, for example
Code:
# searchpkg moz
DISK    I       PACKAGE
----------------------------------------------------
disk2   x       mozilla-nspr (mozilla-nspr-1.7.7-1.4.2.i386.rpm)
disk2   x       mozilla-nspr (mozilla-nspr-1.7.7-1.4.2.x86_64.rpm)
disk2   x       mozilla-nss (mozilla-nss-1.7.7-1.4.2.i386.rpm)
disk2   x       mozilla-nss (mozilla-nss-1.7.7-1.4.2.x86_64.rpm)
disk4   -       mozilla (mozilla-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-chat (mozilla-chat-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-devel (mozilla-devel-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-dom-inspector (mozilla-dom-inspector-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-js-debugger (mozilla-js-debugger-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-mail (mozilla-mail-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-nspr-devel (mozilla-nspr-devel-1.7.7-1.4.2.x86_64.rpm)
disk5   -       mozilla-nss-devel (mozilla-nss-devel-1.7.7-1.4.2.x86_64.rpm)
----------------------------------------------------
12 matches found
And then I just have to insert the corresponding cd, rpm -iv packagename and it's installed.

An additional step is needed for synchronizing with the up2date database

up2date -p

Hope this can help somebody. My script is really a quick hack, there is two known problems:
1) If a file contains a "." inside their package name like openoffice.org. Then it will tell you "openoffi" is not installed while it maybe is.
2) Also if the major version is 2 digits like for example "sample-package-12.10.23-1.4.2.x86_64.rpm" it will look if "sample-package-" is installed. Don't know if the answer will be correct.

These two problems occur because I use the "." as a delimiter in the following line of the code: PKGNAME=`echo $PKG |awk -F. '{print$1}'`
You might want to fine-tune this script if you care.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 01:24 PM
telling `make install` to install in a specific directory?!? black hole sun Linux - Software 3 02-08-2005 09:18 PM
specific questions regarding install = upgrade Private Citizen Linux - Software 0 10-05-2004 04:48 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration