There are two options to rpm -i that work so well,
and are so useful, you might think they should be RPM's default
behavior. They aren't, but using them only requires that you type an
extra two characters:
Even though rpm -i by adding -v to the command:
# rpm -iv eject-1.2-2.i386.rpm
Installing eject-1.2-2.i386.rpm
#
|
By adding -v, RPM displayed a simple status line.
Using -v is a good idea, particularly if you're
going to use a single command to install more than one package:
# rpm -iv *.rpm
Installing eject-1.2-2.i386.rpm
Installing iBCS-1.2-3.i386.rpm
Installing logrotate-1.0-1.i386.rpm
#
|
If you add -h, RPM
will print fifty hash marks ("#") as
the install proceeds:
# rpm -ih eject-1.2-2.i386.rpm
##################################################
#
|
Once all fifty hash marks are printed, the package is completely
installed. Using -v with -h
results in a very nice display, particularly when installing more than
one package:
# rpm -ivh *.rpm
eject ##################################################
iBCS ##################################################
logrotate ##################################################
#
|