3

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.

3 Answers 3

3

Command line solution:

apt-cache --installed rdepends $pkg_name
2
  • This will show ALL the packages, not just the installed ones.
    – arrange
    Apr 19, 2011 at 19:12
  • @arrange: you're right, I corrected my command line
    – enzotib
    Apr 19, 2011 at 19:19
1

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.
1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .