Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-22-2003, 01:30 PM   #1
LQ Newbie
Registered: Feb 2002
Posts: 15

Rep: Reputation: 0
Red face Updating Software when it was originally installed by an RPM


This is a rather silly general question but it's been bothering me for months.

I have a test machine running SLES 7 and there were so many times that I would want to recompile added features in the software (ie. recompile PHP to work with Oracle, add SASL support to Sendmail, update the GLIBC, etc, etc).

Does anyone know of, or have some sort of general strategy to make updates to the software when you aren't 100% sure how it is installed?

Any help would be greatly appreciated.



Old 08-22-2003, 01:47 PM   #2
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
To check to see if a package was installed via rpm
rpm -q package_name
no version number is necessary

To update
rpm -Uvh [rpm package]

However if you want something other than the default settings you'll want either the rpm source or raw source packages.

First you'll want to remove the old rpm by
rpm -e [package name]
Then install the new rpm.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get a list of software that was installed via rpm TruongAn Linux - Software 10 10-04-2005 11:53 AM
SUSE 9.3 RPM what Software is installed a Simple way to check Martin Rasch SUSE / openSUSE 2 07-18-2005 01:26 PM
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
How do I mount a linux partition that was not originally installed on my current comp sgf2 Linux - General 6 08-30-2004 03:49 PM
Updating an RPM twinkers Mandriva 1 09-01-2003 07:02 PM

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration