GtkOrphan (a Perl/Gtk2 application for debian systems) is a graphical tool which analyzes the status of your installations, looking for orphaned libraries. It implements a GUI front-end for deborphan, adding the package-removal capability.



Debian package

Even though I am also providing the source code, the program runs only on debian systems, so it is suggested to install the deb package. GtkOrphan is currently in Debian unstable/testing repositories. These users can just apt-get it.

apt-get install gtkorphan


Other users of debian-derivative distro's can just download the .deb package and type, from a terminal:


sudo dpkg -i gtkorphan_0.4.3-1_all.deb


After package installation, GtkOrphan is placed into Gnome System->Administration menu.


Unpack your tarball and build the program:

tar -xvzf gtkorphan-0.4.3.tar.gz

cd gtkorphan-0.4.3

./configure --prefix=/usr


make install


Last command must be run with root privileges. Please read the INSTALL file, for configuration options.



GtkOrphan dependencies are: gksu, perl, deborphan(>=1.7.17) libgtk2-perl (>=1.100-1), libglib-perl (>= 1.100-1), liblocale-gettext-perl, libgtk2-gladexml-perl

The version of deborphan is very important, as previous versions have a bug which interferes with GtkOrphan correct functioning. Ubuntu Breezy users can download it from here.





Access to the GtkOrphan source repository is available through both web browser and Subversion client interfaces.

With the Subversion client installed, obtaining a working copy of GtkOrphan codebase is as simple as:

svn checkout gtkorphan


When checkout is over, you can compile and build the project as reported in the Installation section of this web page.


How to use GtkOrphan

Use of GtkOrphan is intuitive and reflects use of deborphan. The screenshots will show you a full example. GtkOrphan must be run with root privilegies.

At GtkOrphan's first run, you should initialize your system in order to keep track of needed packages, even if they are reported as orphaned.
In the main window, expand the "Options" section and check the "Show all orphan packages, not only those in the libs section" checkbox. Note: with this option, GtkOrphan will report as "orphaned" all those installed packages that are not dependencies for any other. In this way, for instance, packages such as gparted, ubuntu-desktop, wine will be listed too, as they are "top-level" packages and no other package depends on them. Now you can traverse this list and right-click->hibernate each package you want to keep and that you don't want to be reported as orphaned anymore. The hibernation list will keep these files and will not show them anymore. You can access and modify the hibernation list as you want, from the View menu or from the right-click popup menu.





If you need more information, or if you simply need to contact me, my e-mail address is