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

Syntax

Open a terminal window and run:

apt-cache policy PACKAGE_NAME

Example

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

apt-cache policy diodon
diodon:
  Installed: 1.0.2-0ubuntu0~quantal1
  Candidate: 1.0.2-0ubuntu0~quantal1
  Version table:
 *** 1.0.2-0ubuntu0~quantal1 0
        500 http://ppa.launchpad.net/diodon-team/stable/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

References

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

Comments

Popular posts from this blog

[HOW TO] Create QR Codes in Xubuntu 12.04

[FIX] VLC is unable to open the MRL (smb://)

Add items to Xfce Applications Menu