LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2003, 10:25 AM   #1
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
questions between rpm and tar.gz


I have installed gaim-0.64.rpm then ,I want to update it .but what I have is only gaim-0.70-tar.gz
so I can't use rpm -Uvh gaim......
then what should I do to update it ??
I know I can install gaim-0.70 after uninstall gaim-0.64 .but is this the only way ??? if I ./configure && make && make install gaim-0.70 and didn't not uninstall gaim 0.64 ,is there any influence with system
and if I did in this way , then ,when I input gaim in terminal which gaim will run ??

I think it must be funning!
 
Old 11-20-2003, 11:03 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
As far as I remember, you can also use the rpm program to make an rpm package from source code. Have a poke around in the manpage or the online book to see.

John
 
Old 11-20-2003, 11:21 AM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 9.0 (amd64) w/kernel 4.11.4
Posts: 287

Rep: Reputation: 30
What he needs to do is put the gaim source code tarball in /usr/src/redhat/SOURCES, and then run this command as root:

rpmbuild -tb /usr/src/redhat/SOURCES/gaim-0.70.tar.gz (or whatever it's called)

That should extract the RPM spec file and build an RPM. This is all from memory, though, man rpmbuild will tell you more.
 
Old 11-21-2003, 06:13 AM   #4
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
If you have the gaim 0.6x installed, which you say isn't compatible with the 0.7x version, then you can uninstall the 0.6x version by (as root) typing: rpm -e gaim-0.64.

Seeing as you have a rpm-based system (Redhat/Mandrake/ect), head over to [url=http://rpmfind.net[/b] and grab the rpm for the version of gaim you want. gaim 0.72 is out (I'm using it), but if you want 0.70, that should be there too. No real reason to compile from source, unless you really want to.
 
Old 12-15-2003, 05:50 AM   #5
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
thanks for all your help!!
but,
what I want to know is why ,but not how to do
 
Old 12-15-2003, 06:00 AM   #6
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
the tar.gz file is the source code only (.c and .h files uncompiled). the .rpm contains binary compiled programs (the end result from a compiler). another option is that you install it from source, but theres plenty of info on that in other posts

verigoth
 
Old 12-15-2003, 06:08 AM   #7
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Generally speaking there's no problem having two or more versions of just about any package installed. You just have to careful about where all the various files for each version are.

Your system will use the first one it finds in your path, but you can create symlinks with different names if you want to use both versions.

John
 
  


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
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 10:15 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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