LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2006, 03:55 AM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
How do you upgrade applications installed from source?


For applications complied and installed from source, how do you go about upgrading (or even 'uninstalling' the older version)those applications, when newer versions are available?

Thanks!
 
Old 09-02-2006, 04:35 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
If you have the source still, you can go to it and run "make uninstall" to remove the program and then compile the new version. If you don't have the source, you need to manually remove the files.
If your in luck, there's a patch file so you only need to patch your source code and then recompile and install it.
 
Old 09-02-2006, 05:55 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
"make uninstall" is not offered by all Makefiles. If you install from source you can most often use checkinstall. It uses installwatch to monitor the install changes and is able to build a package (tgz, deb, rpm ...?) that you can install and uninstall using your distro's package management system. Using this you can do a clean uninstall in most cases.
 
Old 09-02-2006, 05:59 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
Blog Entries: 6

Rep: Reputation: 75
i use to override old to latest so far no problem
use same as old install

./configure ; make ; make install

my superkaramba working fine with latest after override
software and restart program , ermm others i cant say but hope the same way
 
Old 09-02-2006, 09:21 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
You can use tools such as stow or encap to install source tarballs. Each will create a subdirectory under /usr/local (/usr/local/stow or /usr/local/encap). Tarballs are installed in subdirectories and symlinked to the locations called for in the tarball. When an updated version of a package comes along, install with stow/encap. They each can detect a pre-existing installation, and upgrade it to the new version.
 
Old 09-02-2006, 09:29 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
emerge ???.

Sorry - couldn't resist.
Time I went to bed ...
 
  


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
List of installed applications kumarnarain Linux - Software 2 08-14-2006 11:40 AM
command to list installed applications csy2329 Solaris / OpenSolaris 6 05-12-2006 08:55 PM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 03:40 PM
Installed a package via rpm YaST, now overwrite-upgrade to new with source? hgb SUSE / openSUSE 3 11-14-2005 02:13 AM
Looking for command to display all installed applications cbriscoejr Linux - Software 1 10-08-2004 11:53 AM


All times are GMT -5. The time now is 04:19 PM.

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