LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-18-2009, 02:26 PM   #1
bvpurandare
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 03-18-2009, 02:40 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,935
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by bvpurandare View Post
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
 
Old 03-18-2009, 05:14 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

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


Reply

Tags
at, installation, multiple, rpm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting output to multiple locations? SirTristan Linux - Newbie 6 05-29-2008 04:52 PM
mount same device at multiple locations merlin23 Linux - Newbie 2 12-06-2004 08:16 AM
Installing multiple RPM Packages free_andrew Linux - Software 4 12-08-2003 03:04 PM
libraries, packages, file locations janve Slackware 4 11-29-2003 11:34 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration