View previous topic :: View next topic |
Author |
Message |
CaptainCaveman n00b
Joined: 23 Apr 2002 Posts: 23
|
Posted: Sat Apr 27, 2002 4:33 pm Post subject: Removing the KDE "fluff" |
|
|
I noticed that after doing an emerge kde, there's an awful lot of fluff with it. (The "edutainment" stuff, the "Toys" (potato guy, etc), and so on.)
How do I remove these programs if I don't want them? For example, with Mandrake, I would use kpackage to remove the "Kdetoys" package and so on, but under Gentoo that won't work, of course...
Can I just delete the binary files, or will that leave remnants and such elsewhere on my hard drive from them (kind of like how you can't just delete the executable in Windows.)
What's the "proper" way to uninstall them?
Thanks. |
|
Back to top |
|
|
tooly n00b
Joined: 10 Apr 2002 Posts: 20 Location: Berlin, Germany
|
Posted: Sat Apr 27, 2002 5:30 pm Post subject: |
|
|
Hi Captain caveman,
the proper way is :
emerge unmerge kdetoys
If i want only remove one program in an package (esp. KAsteroids in kdegames) i do :
unpack /usr/portage/distfiles/kdegames-3.0.tar.bz2 to /usr/src
cd /usr/src/kdegames
./configure
cd kasteroids
make uninstall
Hope this will help.
mfg
Theo |
|
Back to top |
|
|
dArkMaGE Apprentice
Joined: 20 Apr 2002 Posts: 152
|
Posted: Sat Apr 27, 2002 6:58 pm Post subject: |
|
|
i believe only qt, arts, kdebase, and kdelibs are actually required for a running kde system so everything else you should be able to get rid of if you dont use it |
|
Back to top |
|
|
CaptainCaveman n00b
Joined: 23 Apr 2002 Posts: 23
|
Posted: Sat Apr 27, 2002 10:27 pm Post subject: |
|
|
Ok, unpacking worked. (actually I had to bunzip, then tar -xf, but it worked.)
However, and maybe I'm stupid, but I can't get "emerge unmerge [package]" to work.
I just figured out that I need to do emerge unmerge /var/db/pkg/[package].
Is this normal? Code: | root@Ivan src # emerge -s kdeedu
[ Results for search key : kdeedu ]
[ Applications found : 1 ]
* kde-base/kdeedu
Latest version Available: 3.0
Latest version Installed: 3.0
Description:
${DESCRIPTION}Educational
root@Ivan src # emerge unmerge kde-base/kdeedu
Couldn't find any matching installed packages.
root@Ivan src # emerge unmerge kdeedu
Couldn't find any matching installed packages. |
|
|
Back to top |
|
|
clacour n00b
Joined: 19 Apr 2002 Posts: 59 Location: Dallas, Tx USA
|
Posted: Sun Apr 28, 2002 7:30 am Post subject: |
|
|
No, it's not normal.
I did a "emerge unmerge kdeedu" and it found the correct version and was ready to unmerge it.
FYI, you can untar a bzipped tar package in one swell foop:
tar -jxvf <package.tar.bz2>
The "-j" option works just like "-z" does for gzipped files. |
|
Back to top |
|
|
Guest
|
Posted: Sun Apr 28, 2002 4:48 pm Post subject: |
|
|
you might have to update portage to get emerge unmerge to work. It didnt woek for me for a while and then i updated portage and it worked |
|
Back to top |
|
|
CaptainCaveman n00b
Joined: 23 Apr 2002 Posts: 23
|
Posted: Sun Apr 28, 2002 6:52 pm Post subject: |
|
|
Updating portage did it. 'emerge -s portage' revealed a newer version available.
I'd have never thought to try that.
Of course, now I get an "* IMPORTANT: 2 config files in /etc need updating." error, and the help isn't exactly clear on how I just fix these two files, rather than letting it overwrite everything -- unless that's the only way to do it.
Hrm. |
|
Back to top |
|
|
Al'Capone Guest
|
Posted: Tue Apr 30, 2002 2:47 am Post subject: try this |
|
|
to update your etc files (that need updating)
emerge gentoolkit
then do
etc-update
and follow the instructions
very straight forward |
|
Back to top |
|
|
CaptainCaveman n00b
Joined: 23 Apr 2002 Posts: 23
|
Posted: Tue Apr 30, 2002 3:13 am Post subject: |
|
|
Heh, now that I've gone through the etc-update, I actually understand what that meant. (I had updated some config files on my own.)
Thanks. |
|
Back to top |
|
|
Al'Capone n00b
Joined: 30 Apr 2002 Posts: 70 Location: Toronto Canada
|
Posted: Tue Apr 30, 2002 11:33 pm Post subject: here it is the easy way to remove the fluff on kde |
|
|
cd /usr/portage
cd kde-base
ls
you'll see all the packages that are under the KDE-Base ebuild
from there you can pick and choose what you want.
to get only the basic kde working minus the "fluff"
do:
emerge --pretend kde-base/kdebase
and you will be happily surprised
emerge kde-base/kdebase
will install ONLY the minimum requirements for KDE to work
hope that helped
cheers _________________ if it aint broken..... then... what the heck are you waiting for? ...go mess with it and see if you can make it better |
|
Back to top |
|
|
|