LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2006, 02:38 AM   #1
propz
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Upgrading existing software with `make install'


I'm trying to upgrade some existing software on a Linux box, such as GNU tar and GNU m4 with the old-fashioned

Code:
./configure && make && make install
However, I notice that after these commands have finished, the old versions are still installed and I can't seem to access the new ones. For example, after attempting to install tar 1.15.1:

Code:
> tar --version

tar (GNU tar) 1.13.25
Copyright © 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
Is there some sort of "make upgrade" or other step I have to do in order to forcibly overwrite the old version?
 
Old 03-02-2006, 02:54 AM   #2
Hivemind
Member
 
Registered: Sep 2004
Posts: 273

Rep: Reputation: 30
So update your $PATH so that it finds the new tar before the old one. Or remove the old one completely (and make sure the bin-directory of the new tar is in your $PATH).
 
Old 03-02-2006, 02:57 AM   #3
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
do a 'which tar', this will tell you the location of the program that is being executed, I suspect /bin/tar or /usr/bin/tar.

now when you compile some software in the way you describe, the default install location will usually be /usr/local/bin or somesuch. Look to see if your binary's there.

Try
./configure --prefix=/usr
make
make install

instead, the --prefix switch should tell it to install in /usr
you could also try ./configure --help and see what the options/switches are.
 
  


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
will upgrading suse 9.0 to 9.1 kill existing app configs? mattl Linux - Distributions 4 06-20-2004 08:43 AM
How do I add a spare to existing software RAID 5 ? philforrest Linux - Software 1 12-28-2003 09:33 PM
Question about Upgrading from existing Linux install option in Fedora krestofre Fedora 2 11-12-2003 01:52 PM
New Software Raid - Want to use as existing /home/ ... Migration??? How??? trekk Linux - Software 5 11-03-2003 10:32 AM
Existing Software compatibility BRH Linux - Newbie 4 12-28-2002 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 AM.

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