LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2002, 06:04 AM   #1
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Wink Intsalling from .rpm files


While installing packages from .rpm files Is there any way to change the default target file?
 
Old 09-12-2002, 11:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
what is a "default target file" meant to be?? rpms contain loads of files usually. if you look in the manpage there are options to change default installation paths. i presume that's what you really mean
 
Old 09-12-2002, 03:43 PM   #3
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Original Poster
Rep: Reputation: 30
It was just a typo I meant default installation path

I read the man pages and but there is still problem . It says that the package xxx is not relocateable.
Here's what I have done..

$mkdir ~/rpm
$rpm --initdb --dbpath ~/rpm
$rpm --dbpath ~/rpm --prefix=/home/sandy -i xxx.rpm
error: xxx is not relocateable.

Where Have I gone wrong
 
Old 09-12-2002, 03:47 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
somefiles really really want to be installed in certain places... if you're planning on installing all your software in your home directory.. well that's really going against the principles of linux, go with the flow!
 
Old 09-12-2002, 04:04 PM   #5
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
An example for a not relocateable package is for instance MySQL
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intsalling aim on slackware +0+4|_ n00b Linux - Newbie 5 01-30-2005 06:47 PM
Intsalling J2SDK on SuSe9.1 John_Emad Linux - Software 1 01-28-2005 07:00 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
Intsalling linux for the first time onionsoup Linux - Newbie 4 01-13-2004 08:46 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration