LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to install rpm packages of the same version in multiple locations (https://www.linuxquestions.org/questions/linux-general-1/how-to-install-rpm-packages-of-the-same-version-in-multiple-locations-712562/)

bvpurandare 03-18-2009 01:26 PM

how to install rpm packages of the same version in multiple locations
 
I know rpm packages get installed in a default location and one can use --prefix to install to a non-default location.

However I would like to install rpms with the same version in multiple locations on the same machine.

Is this possible. If I try to install without erasing, I get a message which says that the rpm package is already installed.

Thank you very much,

Bhupesh

custangro 03-18-2009 01:40 PM

Quote:

Originally Posted by bvpurandare (Post 3479672)
I know rpm packages get installed in a default location and one can use --prefix to install to a non-default location.

However I would like to install rpms with the same version in multiple locations on the same machine.

Is this possible. If I try to install without erasing, I get a message which says that the rpm package is already installed.

Thank you very much,

Bhupesh

Not sure what you are asking...more info would help

1) What are you trying to install?
2) Is it a downloaded RPM or a custom built RPM?
3) Is is a binary RPM or a source RPM?
4) What RPM command are you using to install?
5) What is the output of the command you are running?

If you can get us this information; we can have a better chance at helping you :)

FWIW you can upgrade with the -U option

Code:

root@host# rpm -Uvh package.rpm
-C

syg00 03-18-2009 04:14 PM

Not that I'm aware of with RPM.
nix offers this - and more. Must get around to trying NixOS one day ...


All times are GMT -5. The time now is 06:32 AM.