Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Ubuntu 12.04. I found my root directory full so thought to free up some space. In this regard I opt for removing KILE. But the base package KILE is only 4.4 MB.

How can I remove its related libraries (nearly 300MB) which were installed with it?

share|improve this question

3 Answers 3

To remove KDE libraries, use command below. Open terminal (Ctrl+Alt+T) then type:

sudo apt-get remove kubuntu-desktop --purge  
sudo apt-get remove kde-base --purge

Then restart your computer. The KDE libraries will be removed.

share|improve this answer
    
Can you explain what those commands do? –  Mateo_ Oct 1 '12 at 7:10

You can list the kde-depencies with dpkg -l | grep kde. Output is something like this:

rc  kdebase-bin              4:4.6.5-0ubuntu1    core binaries for the KDE base applications
rc  kdebase-workspace-bin    4:4.6.5-0ubuntu1    core binaries for the KDE Plasma Workspace

Now you can manually remove all unwanted kde packages, but be careful if there are packages that not belongs to kde. If you use other kde applications, then those applications need kde-depencies.

See: What do the various dpkg flags like 'ii' 'rc' mean?

share|improve this answer

Try

sudo apt-get remove --purge kile

and

sudo apt-get autoremove --purge

This should remove any leftover KDE dependencies (as long as there is no other KDE program installed, that depends on them)

share|improve this answer
    
with first command it removes only 4.4 mb space kile package.. and then show 0 to remove –  user90950 Sep 27 '12 at 8:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.