RPM refers to
- a software package format
- software packaged in this format
- a tool called 'rpm' to deal with these packages
RPM was developed by the company Red Hat, it is now also used by Suse, Mandrake and other distributions. In addition to supporting package installation and removal, it provides support for resolving dependencies and conflicts with other packages.
There is a command line tool rpm which may be used to install packages.
rpm -ihv file-xxx.xx.xx-i386.rpmor
rpm -Uhv file-xxx.xx.xx-i386.rpmwhere 'h' is a progress indicator, 'v' means 'verbose', 'i' is 'install' and 'U' is 'install and upgrade'. So it is advisable to use 'U' alway instead of 'i' disregarding whether you are going to install or upgrade, unless you are installing a new kernel. So, again, use this: rpm -Uhv file-xxx.xx.xx-i386.rpm
Multiple packages
You may install several packages at once. Just enter them in one line separated by a space. Or you can use something like this:
rpm -Uhv *.rpm to install the packages contained in all the rpm files in the working directory.
Removing a package
To remove a package use this:
rpm -e name_of_package
Note the difference - to install a package you enter the file name, to remove it - the name of the package.
yum is easier to use
There is an easier way to deal with rpm packages. Use the yum tool.
yum install name_of_packageThe 'yum' command uses 'rpm' but keeps track of all dependencies. For instance, if you want to install the vlc player, use:
yum install vlcTo remove a package with all dependencies use this
yum remove vlcAll the commands given above have to be done as root user.



Debian Project Distribution
apt page on Debian wiki
