LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 08-31-2008, 08:38 PM   #1
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
How can I get RPM to recognize the latest version of tar?


I am using Red Hat Enterprise Linux ES version 4. It came with tar 1.14 and I've just installed tar 1.20. Unfortunately, when I run 'rpm -qa | grep "tar" rpm only sees the older version. How can I get it to recognize tar 1.20?
 
Old 08-31-2008, 09:00 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you installed the new version from source, then RPM won't know about it. The RPM database only contains information about packages installed from rpms.
 
Old 08-31-2008, 09:24 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,807

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
if you did a source build then you can make your own rpm package using
" rpm-build " package
search google http://www.google.com/linux
http://www.rpm.org/RPM-HOWTO/build.html
 
Old 08-31-2008, 10:26 PM   #4
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Original Poster
Rep: Reputation: 15
that spec file looks pretty complicated, any other ideas?
 
Old 09-01-2008, 12:13 AM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 12,807

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
that is the ONLY way to get rpm to recognize a source build
i just keep tabs on what i build then and if something from yum needs a newer rpm i build that from the source too . This can get into an unmanageable mess very quickly .
A bit old but
http://forums.fedoraforum.org/forum/...ight=build+rpm
fedora and red hat are very close

Last edited by John VV; 09-01-2008 at 12:21 AM.
 
  


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
latest linusx kernel does not recognize sata drives nanjil Suse/Novell 5 02-05-2006 05:23 PM
Does Yast look at the latest rpm version munichtexan Suse/Novell 1 12-02-2005 06:40 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM
new version is a .tar.gz and the old is RPM? Pcghost Linux - Software 2 03-18-2003 11:41 AM


All times are GMT -5. The time now is 05:54 PM.

Main Menu
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