Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get the latest mplayer installed with vdpau support. Haven't had any luck so far.

I found a PPA that says it works and I want to install it. I added the PPA to my apt.sources and did an update.

I just wanted to know, how do I know that I'm now installing the mplayer package from the PPA, and not Ubuntu's standard repositories? From what I see I just install the same package using apt-get install mplayer.

How do I know which mplayer I'm getting? Where do I specify what takes precedence?

share|improve this question

migrated from Feb 12 '10 at 20:48

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted
apt-cache policy mplayer

Look at the Candidate line, and then find that version in the below list.

share|improve this answer
brilliant thx!! – Brad Robertson Feb 14 '10 at 17:43

apt-cache show mplayer will show some info on the package, including version (but not repo).

When you install a package, if there are multiple candidates, the one with the highest version number is installed by default. You can 'pin' a package to a certain version (or maybe a certain repo?), but I don't know how. Google it.

Finally, apt-cache policy mplayer is a good way to see the different candidates, as noted above.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .