April 24, 2012

RPM Installation in different directory

Forums: 

Hi,
Suppose I need to install rpm file in /opt.
I tried with rpm --prefix=/opt/ unrar.*****.rpm

I get this statement

rpm: --prefix may only be used when installing new packages

...How to go about this?

P.S (By default it is installed in /usr/bin/unrar)

Thanks

Click Here!