Thursday, September 24, 2009

How to download & install rpm packages

You should always download rpm packages using the 'wget' command and then install them using the 'rpm' commands. For Example:
  • Go to /tmp directory -- cd /tmp
  • Download the required rpm package -- wget http://url or ftp://url
  • Then install it using rpm commands -- rpm -ivh nameofrpmpackage*
Or you have the choice of doing all this with one command if you trust the source your downloading from or else it is a big security.
  • Download and Install the rpm -- rpm -ivh http://url or ftp://url

No comments: