2

Is there a command which returns the ppa which was used to install a certain package? Some command that searches a package in the ppa's.

I know that I could find this info out by looking into synaptic manager, and analysing the package info.

But I would like a command for that.

I use 12.04

6
apt-cache policy <package-name>

enter image description here

| improve this answer | |
  • thx. exactly what I was looking for. – bioShark Oct 25 '12 at 19:55
4

I normally use the following command.

apt-cache policy <package-name>

For example if I want to know the ppa info for winusb I run the following.

apt-cache policy winusb

enter image description here

Resources:

Super User

| improve this answer | |
3

The two commands I use to get info about a package are

First

apt-cache policy <package name>

Second

apt-cache show <package name>

The second command is more detailed and I use it a lot.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.