LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-23-2002, 03:31 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
replace rpm with tar.gz?


hi..
i have pgsql rpms

[nsadmin@eugene aolserver]$ rpm -qa | grep postgresq
postgresql-server-7.2-12mdk
postgresql-7.2-12mdk
postgresql-python-7.2-12mdk
postgresql-devel-7.2-12mdk
--------------------------------

i'd like to install postgresql under /usr/local/pgsql
with tar.gz

when i do ..rpm -e postgresql
i have to give up more than 30 packages...
including kde-base.. etc..

should i go with --nodeps?

i 'm having trouble with rpm because i don't know where is postgresql include directory.. i had to give the directory to compile another program
(i tried /usr/include/pgsql, it didn't work)

any help would be appreciated..

i'm using mand8.2
 
Old 06-23-2002, 04:15 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try

rpm -ql packagename

it will show you were everything is

if you want to keep up the rpm database then you can probably build an rpm for it
 
Old 06-23-2002, 05:43 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
thank you...
still having problem though..

if i rpm -e packages
and install the same program with tar.gz version..
will it cause any problem??

thank you...
 
Old 06-24-2002, 05:01 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
possibly

some things require specific versions of something else to work.

but there's one way to find out..

you can always reinstall the rpm you started with.
 
Old 06-25-2002, 03:54 AM   #5
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Rep: Reputation: 15
I have had exactly the same problem with mandrake 8.2.

I did as you suggested, used the --nodeps flag to uninstall the rpm's then built postgres from source.

I did this over a month ago and as far I can tell there have been no side effects.

TL
 
Old 06-29-2002, 04:40 PM   #6
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Hey I heard it's possible to convert rpm to source... Anyone know how to do? I'm running Slackware and I really hate these damn Rpm
 
Old 06-29-2002, 05:04 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
there is an utility called rpm2tgz http://www.wiejak.priv.pl/pub/Linux/system/rpm2tgz/
 
Old 07-01-2002, 10:42 AM   #8
linuxlastslonge
Member
 
Registered: Jun 2002
Location: Franklin, IN
Distribution: Debian, CentOS, Mac OS X
Posts: 158

Rep: Reputation: 30
if you download the .tgz and compile, i believe at the ./configure you can do --prefix=PREFIX. where PREFIX = installation dir.
 
  


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
.tar.gz and .tar.bz and .src.rpm how to rpms gadekishore Linux - Software 2 10-13-2005 01:51 AM
tar.gz to rpm mdk Linux - Newbie 2 08-25-2004 04:59 AM
Is there a way to transform tar.gz into rpm or is there a GUI for tar.gz MElipse Linux - Newbie 2 04-11-2004 05:31 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM


All times are GMT -5. The time now is 06:46 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