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?

link|improve this question

56% accept rate
I don't have privs to retag yet, but can you add Aptitude please? – Richo Dec 21 '10 at 2:58
feedback

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

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

4 Answers

dpkg -L w3c-markup-validator

More generically, dpkg -L [packagename]

link|improve this answer
feedback

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//:/\/|^}\$"
link|improve this answer
feedback

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

link|improve this answer
feedback

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.

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.