Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just downloaded the w3c-markup-validator package from the universe repositories, but I can't seem to figure out how to run it. How can I list the new commands available?

share|improve this question

migrated from stackoverflow.com Dec 21 '10 at 2:49

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

    
I don't have privs to retag yet, but can you add Aptitude please? –  richo Dec 21 '10 at 2:58

4 Answers 4

dpkg -L w3c-markup-validator lists all the files in the package. You want the executables in the path, so

dpkg -L w3c-markup-validator | grep /bin/

will provide a good approximation. If you want to be really precise, here's a regexp that will retain only files in the directories in your $PATH.

dpkg -L bash | grep -E "^${PATH//:/\/|^}\$"
share|improve this answer
dpkg -L w3c-markup-validator

More generically, dpkg -L [packagename]

share|improve this answer

If you want to find out beforehand you can search at packages.ubuntu.com as well.

share|improve this answer

If you use synaptic, then you can right click on the package, click properties and see installed files. Any files installed under /usr/bin or similar locations would be commands.

share|improve this answer

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.