LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

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


Hi,

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.

Thanks,

Jason

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

Rep: Reputation: 47
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.
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:24 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