That's nice rpm usage, but doesn't address the problem of - How do I install RPM's from somewhere other than my cd / local directory.. ;(
What you're looking for is this :
man rpm (scrolll, scroll, scroll... to the bottom)
FTP/HTTP OPTIONS
rpm can act as an FTP and/or HTTP client so that packages can be queried or installed from the inter-
net. Package files for install, upgrade, and query operations may be specified as an ftp or http style
URL:
ftp://USER:PASSWORD@HOST:PORT/path/to/package.rpm
If the :PASSWORD portion is omitted, the password will be prompted for (once per user/hostname pair).
If both the user and password are omitted, anonymous ftp is used. In all cases, passive (PASV) ftp
transfers are performed.
rpm allows the following options to be used with ftp URLs:
--ftpproxy HOST
The host HOST will be used as a proxy server for all ftp transfers, which allows users to ftp
through firewall machines which use proxy systems. This option may also be specified by config-
uring the macro %_ftpproxy.
--ftpport HOST
The TCP PORT number to use for the ftp connection on the proxy ftp server instead of the default
port. This option may also be specified by configuring the macro %_ftpport.
rpm allows the following options to be used with http URLs:
--httpproxy HOST
The host HOST will be used as a proxy server for all http transfers. This option may also be
specified by configuring the macro %_httpproxy.
--httpport PORT
The TCP PORT number to use for the http connection on the proxy http server instead of the
default port. This option may also be specified by configuring the macro %_httpport.
So, you can simply type a URL (ftp you'd need username etc) instead of your local file. ie :
rpm -i
http://myserver.foo.com/instawhip.rpm
Slick.