Rpmfind will query the local RPM database, or will request the associated RDF file for a program on a remote database, for information on a specified program. Specifically, rpmfind will tell you what packages are needed to install the program to satisfy all dependencies and the size of the packages (so you can estimate download time). Rpmfind can then even download the packages for you.
Rpmfind can also be used to query the RPM database for existing packages using a keyword or a regular expression.
http://rpmfind.net/linux/rpm2html/rpmfind.html ftp://rpmfind.net/pub/rpmfind/rpmfind-rh6-1.2-1.i386.rpm
Do you want to search it in the catalog? [Y/n] : y
— have to explicitly answer y
-q produce more noise. :-(
'a specific "upgrade" mode exists to check for replacement of older packages. It also walks down the dependency lists and also suggest upgrades for them'
never works for me:
rpmfind -q --latest wine rpmfind --latest wine
rpmfind -q --upgrade --dist asp wine rpmfind --upgrade --dist asp wine
X rpmfind -$ rpmfind -q --latest wine
rpmfind --upgrade --dist asp-linux wine rpmfind --upgrade --dist asplinux wine rpmfind --upgrade --dist SWsoft wine
It always stupidly insists on installing the RH7.1's version. If I answer no, the program just stupidly quit
This mode is used to find packages related to a given topic defined by a keyword of a regex. The syntax is rpmfind —apropos regex and will query the full set of RPM indexed on rpmfind.net for package name and summary descriptions.
For example I have heard about a Borland like programming environment, let' learn about it:
$ rpmfind --apropos borland 1: ftp://rpmfind.net/linux/contrib/i386/rhide-1.3-1.i386.rpm rhide : Rhide is a very nice IDE exactly like Borland's $
In that case the query found only one package, all the package containing the substring in their name or summary will be shown.
This is the "default" mode of rpmfind where you know the name of the package you want to install and rpmfind will locate the "best" package accordingly to your installed distribution, and show also all the other packages needed to solve the dependancies needed.
For example let's install xbill game on the machine:
$ rpmfind xbill
ftp://rpmfind.net/pub/rpmfind/rpmfind-1.6-1.i386.rpm From Stuff on Rufus.W3.Org
rpm -ivv ~/dl/mustH_b/inet/agent/rpmfind-1.6-1.i386.rpm
$ rpmfind --latest wine Arch : i386, Os : Linux Default distribution : Red Hat, Inc.(BlueSky) owning 380 of 461 installed packages Cannot install or locate resource wine Do you want to search it in the catalog? [Y/n] : y 1: ftp://ftp.asp-linux.com/pub//i386/RPMS.rc3/wine-devel-20000725-2.i386.rpm wine-devel : Wine development environment.
2: ftp://ftp.asp-linux.com/pub//i386/RPMS.rc3/wine-20000725-2.i386.rpm wine : A Windows 16/32 bit emulator.
3: ftp://ftp.asp-linux.com/pub//blackcat-linux/6.2/tools/SRPMS/wine-20000213-1.src.rpm wine : A Windows 16/32 bit emulator. 4: ftp://ftp.redhat.com/pub/redhat/linux/6.1/en/powertools/i386/SRPMS//wine-990704-1.src.rpm wine : A Windows 16/32 bit emulator.