Mailinglist Archive: opensuse (2372 mails)
| < Previous | Next > |
Re: [SLE] package search
- From: Volker Kuhlmann <kuhlmav@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 05 Jan 2001 15:02:29 +1300 (NZDT)
- Message-id: <200101050202.PAA21343@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> It's great that SuSE lists the packages on the website and what they
> contain. I wish there was one thing though. Can you add a search feature for
> the packages and their contents?
Yes I know, it sucked so much that I decided to take action:
http://volker.orcon.net.nz/soft/susegrep
It's a bash script which 1) creates an index of your SuSE CDs (once),
and 2) lets you search through it. With the 6-CD set the index is about
22MB big, not that much these days and IMHO well worth the disk space. I
use it all the time, and would answer your question with
susegrep -f rz -w
allman.rpm.ls:/usr/share/man/allman/man1/rz.1.gz
rzsz.rpm.ls:/usr/bin/rz
rzsz.rpm.ls:/usr/share/man/man1/rz.1.gz
sdb_de.rpm.ls:/usr/share/doc/sdb/de/html/keylist.RZ.html
sdb_de.rpm.ls:/usr/share/doc/sdb/de/html/keylist.RZ.txt
sdb_en.rpm.ls:/usr/share/doc/sdb/en/html/keylist.RZ.html
sdb_en.rpm.ls:/usr/share/doc/sdb/en/html/keylist.RZ.txt
I.e., install package rzsz.
Here's the --help:
Usage: susegrep -i CDROM-mountpoint [CD-number]
susegrep [-d DIR] -n|-s|-f [GREP-OPTIONS] PATTERN
Version VK 2.5.2, 05 Jan 2001, <v.kuhlmann@xxxxxxxxxxxxxxxxxxxxx>
Create indices of all packages on the CDs of a SuSE-Linux distribution (once),
and search the created indices (any time later).
This program does not require yast, or any of the CDs when searching.
OPTIONS:
-h|--help Show help
-v|--verbose Show packages processed when generating indices
-d|--data DIR Search the index in directory DIR
-i|--index CD [NUM] Create an index of SuSE-CD NUM, mounted at CD, in ./.
If NUM is missing it's established from the CD itself.
This needs GNU versions of find, xargs, awk, ls.
-I|--wholeindex CD As --index, but for all 6 CDs.
-c|--check CD [NUM] Check MD5 sums of CD. Similar to --index.
-C|--cdcheck CD [NUM] Check MD5 sum of CD's ISO image.
Searchable indices:
-n|--name PATTERN Search names of all packages for PAT (default)
-s|--summary PATTERN Search package summaries for PAT
-f|--file PATTERN Search file names installed by packages for PAT
-S|--size PATTERN Search the package name / package size index for PAT
GREP-OPTIONS are any options as for grep.
PATTERN is a pattern as for grep.
Searchable index (-d to change) in: /usr/local/doc/SuSE
Have fun!
Volker
> contain. I wish there was one thing though. Can you add a search feature for
> the packages and their contents?
Yes I know, it sucked so much that I decided to take action:
http://volker.orcon.net.nz/soft/susegrep
It's a bash script which 1) creates an index of your SuSE CDs (once),
and 2) lets you search through it. With the 6-CD set the index is about
22MB big, not that much these days and IMHO well worth the disk space. I
use it all the time, and would answer your question with
susegrep -f rz -w
allman.rpm.ls:/usr/share/man/allman/man1/rz.1.gz
rzsz.rpm.ls:/usr/bin/rz
rzsz.rpm.ls:/usr/share/man/man1/rz.1.gz
sdb_de.rpm.ls:/usr/share/doc/sdb/de/html/keylist.RZ.html
sdb_de.rpm.ls:/usr/share/doc/sdb/de/html/keylist.RZ.txt
sdb_en.rpm.ls:/usr/share/doc/sdb/en/html/keylist.RZ.html
sdb_en.rpm.ls:/usr/share/doc/sdb/en/html/keylist.RZ.txt
I.e., install package rzsz.
Here's the --help:
Usage: susegrep -i CDROM-mountpoint [CD-number]
susegrep [-d DIR] -n|-s|-f [GREP-OPTIONS] PATTERN
Version VK 2.5.2, 05 Jan 2001, <v.kuhlmann@xxxxxxxxxxxxxxxxxxxxx>
Create indices of all packages on the CDs of a SuSE-Linux distribution (once),
and search the created indices (any time later).
This program does not require yast, or any of the CDs when searching.
OPTIONS:
-h|--help Show help
-v|--verbose Show packages processed when generating indices
-d|--data DIR Search the index in directory DIR
-i|--index CD [NUM] Create an index of SuSE-CD NUM, mounted at CD, in ./.
If NUM is missing it's established from the CD itself.
This needs GNU versions of find, xargs, awk, ls.
-I|--wholeindex CD As --index, but for all 6 CDs.
-c|--check CD [NUM] Check MD5 sums of CD. Similar to --index.
-C|--cdcheck CD [NUM] Check MD5 sum of CD's ISO image.
Searchable indices:
-n|--name PATTERN Search names of all packages for PAT (default)
-s|--summary PATTERN Search package summaries for PAT
-f|--file PATTERN Search file names installed by packages for PAT
-S|--size PATTERN Search the package name / package size index for PAT
GREP-OPTIONS are any options as for grep.
PATTERN is a pattern as for grep.
Searchable index (-d to change) in: /usr/local/doc/SuSE
Have fun!
Volker
| < Previous | Next > |