LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 02: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, 03: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, 04:55 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634

Rep: Reputation: 144Reputation: 144
"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, 04:59 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
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, 08:21 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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, 08:29 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,749

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:21 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
Open Source Consulting | Domain Registration