The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. December 01, 2008, 02:27:59 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: How do you upgrade an app?  (Read 171 times)
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3431


View Profile
« on: July 22, 2008, 03:48:45 PM »

not from a repo.

How do you upgrade an app like Mysql or PHP for example, from source.

Do you just go through the same original steps? configure, make, make install? or is there other stuff?

just curious for the future.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5211


:sniffle: Humor was so much easier before.


View Profile
« Reply #1 on: July 22, 2008, 04:17:45 PM »

That's what I do ... some might YUM it or use the RedHat Package Manager... I create a new directory in my /usr/local/installs dir that is the new version source... then make and install just as usual. Then, I can rather quickly go back to exactly where I was when it fubars me. Wink
Logged

If I can't be Mr. Root then I don't want to play.
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3431


View Profile
« Reply #2 on: July 22, 2008, 04:29:25 PM »

thats what I figured. It seems to me though that after a few upgrades you start to end up with a lot of potential loose ends lying around?
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5211


:sniffle: Humor was so much easier before.


View Profile
« Reply #3 on: July 22, 2008, 06:49:23 PM »

Yes... but after I'm pretty satisfied with the current version, I'll
tar -czvf ../tarballname.tar.gz *

... which will make a tarball of everything as it was in the install directory and then move it to /usr/local/installs/tarballs for safe keeping.
Logged

If I can't be Mr. Root then I don't want to play.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!