Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 2nd, 2002, 06:23 AM
chinook chinook is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 262 chinook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 58 sec
Reputation Power: 8
RPM & Tarball installs

Hello,

I recently tried to update my version of OpenSSL from b to g

On OpenSSL.org I could not find any RPMs for OpenSSL so I downloaded the tarball. The server that I have already has a version on it installed via RPM (or so it appears).

I carried out the usual tar xzvf <filename>, make, make test, make install. However I am not sure that the new version of OpenSSL has been installed. When I do an rpm -qa |grep openssl
I only see the old version, as also when I do an openssl version (this shows the old version number)

Does this mean my install was unsuccessful?

How do I upgrade a package if it has been installed using RPM when I do not have access to RPM? Is this wise?

Thanks for your help!

Reply With Quote
  #2  
Old October 2nd, 2002, 07:28 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 7
Send a message via AIM to damonbrinkley
You can't upgrade an RPM with a tarball. You either need to get the most up-to-date RPM from your distro or uninstall the RPM and use just tarballs from then on. Or if you're brave, you can take the tarball and make your own RPMs and upgrade from those.

Reply With Quote
  #3  
Old October 2nd, 2002, 07:30 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 7 h 49 m 27 sec
Reputation Power: 21
So now you have two installed versions of OpenSSL...
One rpm install and one source install. The rpm install is located in your path, which means that when you just run it without supplying the path, you'll get the rpm install. And the source install is located elsewhere but can be invoked by supplying the full path to it...

If your make install doesn't give you any errors, it should be installed somewhere.
If you want the latest version, do a source install and remove the rpm install prior to that.
If you want an rpm install, go to your distro's site and find it there. Don't do both...

//NoXcuz
__________________
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

Reply With Quote
  #4  
Old October 2nd, 2002, 08:22 AM
chinook chinook is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 262 chinook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 58 sec
Reputation Power: 8
Cheers guys,

If I just remove the RPM now, should all be ok then? Or will I need to re-install the tarball?

Thanks

Reply With Quote
  #5  
Old October 2nd, 2002, 09:08 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 7 h 49 m 27 sec
Reputation Power: 21
Depends on if the rpm and the source install places files in the same directories. The rpm install might then remove files needed by the source install. But the easiest thing is just to try and remove the rpm and see what happens...

//NoXcuz

Reply With Quote
  #6  
Old October 2nd, 2002, 09:18 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 7
Send a message via AIM to damonbrinkley
I would just remove the RPM and then reinstall the tarball just to be safe....can't hurt anything.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > RPM & Tarball installs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT