head 1.1; branch 1.1.1; access ; symbols RPM_HOWTO_3_0:1.1.1.1 VENDOR:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.08.28.12.09.13; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.08.28.12.09.13; author rse; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @Using RPM

Using RPM

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
    

One of the more complex but highly useful commands allows you to install packages via FTP. If you are connected to the net and want to install a new package, all you need to do is specify the file with a valid URL, like so:

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.

While these are simple commands, rpm can be used in a multitude of ways. To see which options are available in your version of RPM, type:

rpm --help
    

You can find more details on what those options do in the RPM man page, found by typing:

man rpm
    
@ 1.1.1.1 log @Import RPM HOW-TO, version 3.0 @ text @@