Ubuntu – How to remove Dolphin and all of its dependencies

11.04dolphinpackage-management

i'm running ubuntu 11.04 with unity. Recently i found that Dolphin file manager and some qt libraries was installed in my distro, i guess it was installed as a dependency along with some QT softwares ( Qbittorent, Smplayer etc.,)

Well i can do 'sudo apt-get remove dolphin' but pls.suggest me the best way to remove all the unwanted libraries/dependencies of QT.

Thanks in advance

Best Answer

Removing a package including no longer needed package dependencies can be done with

apt-get remove --autoremove <package>

(see also this answer)

However if Dolphin was installed as a dependency of another package, we need to remove this package first.

In case we need to keep any package depending on Dolphin we cannot remove Dolphin.

Related Question