LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-29-2003, 01:56 AM   #1
tetractis
LQ Newbie
 
Registered: Jan 2003
Location: Torino, Italy
Distribution: From Slackware 2.1 to Android CM7 nightly build - ubuntu natty on desktop (atm)
Posts: 14

Rep: Reputation: 0
Question RH8.0 - package management: howto remove KDE


Hi all,

Package Management utility included in RH8.0 does not permit to remove standard package. How can i cleanly and completely remove KDE3 (3.0.3)?

Thanks in advance!
 
Old 01-29-2003, 04:05 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
The very easiest way is to reinstall. Short of that, you can query the rpm database and hand remove those RPM's associated with KDE:
rpm -qa | grep kde > kde.txt

This will create a text file with which you can remove all packages associated with KDE:
rpm -e kde.txt

Not too sure how well that'd work. However, you should for sure be able to simply:
rpm -qa | grep kde
Then take each file listed and:
rpm -e filename
replacing filename with the actual filename

This is all in the command line, all with root.

Cool
 
Old 01-29-2003, 04:33 AM   #3
etherdeath
Member
 
Registered: Apr 2002
Location: New York City
Distribution: Debian
Posts: 30

Rep: Reputation: 15
I recently (tonight) tried to do something similar under Mandrake 8. I found this to be very difficult. Basically I wanted to get rid of all the X stuff since I'm using the machine in question as a server. I still want to keep a handful of X applications, however - like MandrakeUpdate, which I export to cygwin on my WinXP machine when I really need to.

The one filename per line thing may not work if you find yourself running into RPMs which depend upon each other. You have to erase them all at the same time - ie rpm -e <file1> <file2>.
 
  


Reply



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
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Package Management longnam Slackware 2 03-23-2005 03:42 PM
package management laydros Slackware 6 01-21-2005 06:43 PM
9.2 package management Icarus315 SUSE / openSUSE 1 01-15-2005 06:12 AM
Package dependecy errors when installing KDE 3.1.1 in RH8 kierl Linux - General 23 04-10-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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