Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Sorry if this is a such an obvious question, but where does Ubuntu put documentation packages for python, node.js, redis, mysql, mongodb, and other applications?

And why I cannot access it by typing python-doc in the terminal?

share|improve this question

To examine help for all installed modules

help>modules word_in_modulname

is how you do it in the python shell. One of those generates the output that shows you where to point a web browser for the docs.

pydoc -p portnumber

Might be what you were looking for. I'm assuming the answer wasn't sufficient yet.

If you want a gui, you might enjoy the package devhelp.

share|improve this answer

Since you have already installed python-doc, you can run dpkg --listfiles python-doc to get a list of all the files installed with that package. On my system, the place to start is /usr/share/doc/python-doc/html/index.html. This is simply a local copy of the documentation available online at You can also download the documentation from, and save them in various formats anywhere you would like.

So, in general, doc packages go in /usr/share/doc. Typing python-doc in a terminal doesn't work because it is not the name of a command. The pydoc command can be useful, but a good option for you might be to make a link to the index.html file that came with the python-doc package, and put it somewhere convenient.

share|improve this answer

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.