Friday, February 1, 2013

[HOW TO] Find which PPA repository a package belongs to

To find out the repository address for a package we use the policy argument of the apt-get tool.


Open a terminal window and run:

apt-cache policy PACKAGE_NAME


The repository link is presented on the line second to last:

apt-cache policy diodon
  Installed: 1.0.2-0ubuntu0~quantal1
  Candidate: 1.0.2-0ubuntu0~quantal1
  Version table:
 *** 1.0.2-0ubuntu0~quantal1 0
        500 quantal/main amd64 Packages
        100 /var/lib/dpkg/status


How To Find Out To Which PPA Repository A Package Belongs To | Web Upd8

No comments:

Post a Comment