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?

link|improve this question

75% accept rate
feedback

migrated from stackoverflow.com Feb 12 '10 at 20:48

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

2 Answers

up vote 0 down vote accepted
apt-cache policy mplayer

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

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

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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