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

I am installing a program, and one of the requirements is to have python sqlite2 installed. I check this by:

$ python -c "import sqlite3"

The second requirement is: "Additionally you must have the sqlite3 command on your path. This can usually be found in a package called sqlite or sqlite3."

Can someone explain what I should do? Where and how to set that path?

share|improve this question
up vote 2 down vote accepted

You can install sqlite3 with the command

sudo apt-get install sqlite3

The sqlite3 command will be on your path after install, no need to do anything else. You can verify this by simply entering

sqlite3 --version

in your terminal.

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.