Suppose I need to install rpm file <unrar.*****.rpm> 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)