Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted
apt-cache policy <package-name>

enter image description here

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

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

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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