l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 16:58

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Application Upgrade Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Application Upgrade Questions

  • Subject: Re: [vox-tech] Application Upgrade Questions
  • From: William Kendrick <nbMAPSs@sonic.net>
  • Date: Wed, 22 Nov 2000 09:53:07 -0800
  • References: 3A1B6C49.EE6D9CAF@ucdavis.edu

Bob Scofield asked:
> 1)  If you have a program that's been installed by an rpm, and you want
> to upgrade to a new version all you have to do is to get the rpm for the
> newer version and execute the -u option.  But how do you upgrade a
> program that had to be compiled?  Do you have to remove the program
> before compiling and installing the newer version?  Or, will the newer
> version simply over write the older version when it is installed?

It all depends on the person who made the application. :)
But yes, usually a "./configure && make && make install" will just
overwrite the old version.

> 2)  Suppose that you have a program that was installed by an rpm, and
> you want to upgrade to a new version, but you want to download a tar
> ball and compile the newer version.  Do you have to remove the older
> program first, or will the compiled version simply over write the old
> rpm version?

Danger, danger!

> 3)  Suppose that you have a program that was compiled, and you want to
> upgrade to a new  version, but you want want the new version to be
> installed by an rpm.  Do you have to remove the older version and
> install the rpm by executing the -i option?  Or, can you just leave the
> older version there and execute the -u option on the rpm?

I believe you need to do an "-i"nstall, since RPM doesn't know about
.tar.gz's.  (That's why it's dangerous above... you have libXYZ 1.2
and install 2.5 as a .tar.gz, then you try to install App123 and
it requires "libXYZ 2.0 or higher".  Since the RPM database THINKS you have
1.2 still, you'll need to force the thing to install, which could be


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.