In its simplest form, RPM can be used to install packages:
rpm -i foobar-1.0-1.i386.rpm
|
The next simplest command is to uninstall a package:
rpm -e foobar
|
rpm -i ftp://ftp.redhat.com/pub/redhat/rh-2.0-beta/RPMS/foobar-1.0-1.i386.rpm
|
Please note, that RPM will now query and/or install via FTP.
rpm --help
|
You can find more details on what those options do in the RPM man page, found by typing:
man rpm
|