0

In this tip we will learn how to check dependencies of an installed package under a Ubuntu system. This will help you discover the programs and libraries used by the package in question. This tip is only workable for installed packages.

Open the terminal and run the following:

apt-cache depends package-name

Replace package-name with your own package name. Here is an example:

apt-cache depends nautilus

Here is a sample of the outputs returned for this example:

~$ apt-cache depends nautilus
nautilus
  Depends: libatk1.0-0
  Depends: libc6
  Depends: libcairo-gobject2
  Depends: libcairo2
  Depends: libdbusmenu-glib4
  Depends: libexempi3
  Depends: libexif12
  Depends: libgail-3-0
  Depends: libgdk-pixbuf2.0-0
  Depends: libglib2.0-0
  Depends: libgnome-desktop-3-2
  Depends: libgtk-3-0

That's it

Post a Comment

 
Top