Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I just wanted to know whether is it possible to view a list of codecs installed on my Ubuntu 11.10 through any command, script or app?

If you know any app even if it's in "rpm" format (I will use Alien to convert it to "Deb") please feel free to suggest, thanks.


Arsalan Alam

share|improve this question
Search for Codecs in Synaptic, the reuslts will show what packages contain the codecs and what codecs are inside. –  Uri Herrera Mar 31 '12 at 22:40

1 Answer 1

Try this one-liner on the command-line:

clear; echo "Enumerating codecs.."; echo; dpkg --get-selections  | awk '{print $1}' | grep -iR codec; export number=`dpkg --get-selections  | awk '{print $1}' | grep -iR codec | wc -l`; echo; echo "$number codecs installed."; echo
share|improve this answer
thanks for helping the clean up –  Ringtail Apr 3 '12 at 2:46
No sweat, glad to help :) –  SirCharlo Apr 5 '12 at 19:22

Your Answer


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.