* [Comm] [JT]rpm - поиск библиотеки
@ 2003-01-19 1:15 Yuriy Gomenyuk
2003-01-19 1:21 ` [Comm] Re: rpm " Alexey Tourbin
2003-01-19 2:22 ` [Comm] [JT]rpm " CityHawk
0 siblings, 2 replies; 4+ messages in thread
From: Yuriy Gomenyuk @ 2003-01-19 1:15 UTC (permalink / raw)
To: community
Прошу прощения за оффтопик...
Есть папка с кучей rpm-ок. как узнать в какой из них есть нужная мне
библиотека? (lib...)?
--
Cпасибо,
С уважением,
Юрий.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Comm] Re: rpm - поиск библиотеки
2003-01-19 1:15 [Comm] [JT]rpm - поиск библиотеки Yuriy Gomenyuk
@ 2003-01-19 1:21 ` Alexey Tourbin
2003-01-19 2:22 ` [Comm] [JT]rpm " CityHawk
1 sibling, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2003-01-19 1:21 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
On Sun, Jan 19, 2003 at 03:15:01AM +0200, Yuriy Gomenyuk wrote:
> Прошу прощения за оффтопик...
>
> Есть папка с кучей rpm-ок. как узнать в какой из них есть нужная мне
> библиотека? (lib...)?
for f in *.rpm; do
if rpm -qlp $f | grep -qs lib...; then
echo $f
fi
done
--
WBR, Alexey Tourbin
BIOZAK Ltd., Russia
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] [JT]rpm - поиск библиотеки
2003-01-19 1:15 [Comm] [JT]rpm - поиск библиотеки Yuriy Gomenyuk
2003-01-19 1:21 ` [Comm] Re: rpm " Alexey Tourbin
@ 2003-01-19 2:22 ` CityHawk
2003-01-19 5:46 ` Grigory Batalov
1 sibling, 1 reply; 4+ messages in thread
From: CityHawk @ 2003-01-19 2:22 UTC (permalink / raw)
To: community
On Sun, 19 Jan 2003 03:15:01 +0200
Yuriy Gomenyuk <All-yvg@ukr.net> wrote:
> Прошу прощения за оффтопик...
>
> Есть папка с кучей rpm-ок. как узнать в какой из них есть нужная мне
> библиотека? (lib...)?
>
rpm -qf ?
--
Best regards...
SuchkovEA (a.k.a. CityHawk)
--- ICQ UIN #177787156 ---
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] [JT]rpm - поиск библиотеки
2003-01-19 2:22 ` [Comm] [JT]rpm " CityHawk
@ 2003-01-19 5:46 ` Grigory Batalov
0 siblings, 0 replies; 4+ messages in thread
From: Grigory Batalov @ 2003-01-19 5:46 UTC (permalink / raw)
To: community
On Sun, 19 Jan 2003 05:22:10 +0300
CityHawk <CityHawk@mail.ru> wrote:
> > Есть папка с кучей rpm-ок. как узнать в какой из них есть нужная мне
> > библиотека? (lib...)?
> >
> rpm -qf ?
Если не получится, то так:
for i in *.rpm; do
if [ `rpm -ql -p $i | grep libname.so.0` ]; then
echo $i
fi
done
Оно же в одну строку так:
for i in *.rpm; do if [ `rpm -ql -p $i | grep libname.so.0` ]; then echo $i; fi; done
--
Grigory Batalov.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-19 5:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-19 1:15 [Comm] [JT]rpm - поиск библиотеки Yuriy Gomenyuk
2003-01-19 1:21 ` [Comm] Re: rpm " Alexey Tourbin
2003-01-19 2:22 ` [Comm] [JT]rpm " CityHawk
2003-01-19 5:46 ` Grigory Batalov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git