Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.