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 currently have a bunch of KDE libraries installed on my computer, and I want to find out what packages I have installed that require them. Does any one know a quick way to do this?

I'd prefer a command line solution, but a GUI one is fine as well.

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

Command line solution:

apt-cache --installed rdepends $pkg_name
share|improve this answer
    
This will show ALL the packages, not just the installed ones. –  arrange Apr 19 '11 at 19:12
    
@arrange: you're right, I corrected my command line –  enzotib Apr 19 '11 at 19:19
add comment

GUI solution:

  1. Open Synaptic: System->Administration->Package Manager Synaptic
  2. Find the desired library package using the search tool in the upper left corner
  3. Right-click on a package, choose Properties (exact name may differ, I use a localized Ubuntu)
  4. Go to tab Dependencies
  5. Choose "Depending on that package" in the upper part of the tab
  6. The requested list should appear.
share|improve this answer
add comment

The brutish simple way:

sudo apt-get remove libkdewhatever

that will tell you what other applications will be removed, and ask if you want to continue. If you want to keep them, cancel the removal. If you don't want those apps, continue.

share|improve this answer
2  
I suggest to add the --simulate option, so that you can also drop the sudo. –  enzotib Apr 20 '11 at 5:31
    
Good idea. On the other hand if you think you probably do want to remove it, shoot first. –  poolie Apr 20 '11 at 5:41
add comment

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.