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.

I just added a ppa like so:

sudo add-apt-repository ppa:stebbins/handbrake-releases

Now, how do I get to see which packages this PPA contains?

share|improve this question
add comment

2 Answers

up vote 7 down vote accepted

I'm sure there is many ways to do this - since you have added the PPA, the package details exist in /var/lib/apt/lists

Thus for your example ppa:stebbins/handbrake-releases

substitute / for an _ and remove the prefix ppa: i.e. stebbins_handbrake-releases

Then just use this repositoryname in the following command line entry:

cat /var/lib/apt/lists/ppa.launchpad.net_[repositoryname]_*_Packages | grep "Package:" | sort | uniq

i.e.

cat /var/lib/apt/lists/ppa.launchpad.net_stebbins_handbrake-releases_*_Packages | grep "Package:" | sort | uniq

This will list the contents:

Package: handbrake-cli
Package: handbrake-gtk
share|improve this answer
    
You can shorten this slightly by rearranging to grep "Package:" /var/lib/apt/lists/ppa.launchpad.net_..._Packages | sort -u –  Oli Oct 18 '12 at 0:44
    
This works perfect (if one remembers to do 'sudo apt-get update' after adding the PPA...) –  loldrup Oct 18 '12 at 1:43
    
You can also go to Launchpad to see the information. Assume first that the ppa: example you gave is in the form: ppa:team/archivename. The corresponding LaunchPad link would be https://launchpad.net/~team/+archive/archivename. –  Thomas W. Oct 18 '12 at 2:35
add comment

To see the content of a ppa you can use Y PPA Manager. Install it by running the following in a terminal:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

When the application is started, click on Manage PPA's:

enter image description here

Select the PPA you want to see the content of:

enter image description here

And finally click on "list packages" to see all packages provided by the given PPA.

Hopefully this will help.

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.