LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-24-2005, 06:53 PM   #1
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Rep: Reputation: 15
Need help using rpm


Hi,


I want to remove gcc 4 completely from my FC4 system but when I use rpm to do so there are a bunch of dependency problems so my question is this: is there a way to remove gcc and all the packages that depend on it with one command?

thanks
 
Old 11-24-2005, 07:13 PM   #2
/var/spool
LQ Newbie
 
Registered: Nov 2005
Location: Hell
Posts: 6

Rep: Reputation: 0
yum remove gcc
 
Old 11-24-2005, 07:30 PM   #3
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
Thumbs up

Very sweet

thanks
 
Old 11-24-2005, 07:54 PM   #4
/var/spool
LQ Newbie
 
Registered: Nov 2005
Location: Hell
Posts: 6

Rep: Reputation: 0
yum beats the hell out of doing it manually.
 
Old 11-25-2005, 05:05 AM   #5
shukla_chanchal
Member
 
Registered: Oct 2005
Location: banglore(india)
Posts: 62

Rep: Reputation: 15
if u have dependency then u have to insure that if the dependency is vital or not

what u can do is that just check the dependency by commands

actually after deleting GCC u will get some problem
 
Old 11-25-2005, 05:35 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Yum only removes the package if it installed it i believe (at least it does for me)

you can uninstall RPMs with

Code:
rpm -e foo (the application name, not the package filename with issue/version)
This won't handle it's dependencies like yum does though

Infact this is a good quick reference for RPM commands http://www.faqs.org/docs/securing/chap3sec20.html

No idea what the rest of the book contains, could prove useful too (who doesnt want to optimise and secue their box? )

I pressume you are removing GCC to install an older version, or it is borked?
 
  


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Suggestions requested on upgrading a stock RH rpm with a third-party rpm obarney Linux - Software 5 05-21-2003 05:07 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

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

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