Databases and SQL: Setup

Software

For this course you will need the UNIX shell, plus SQLite3 or DB Browser for SQLite.

If you are running Linux, you may already have SQLite3 installed, please use the command which sqlite3 to see the path of the program, otherwise you should be able to get it from your package manager (on Debian/Ubuntu, you can use the command apt install sqlite3).

If you are running Windows, run installers as administrator. Additionally, make sure you select the right installer version for your system. We recommend that you use git for Windows. This is described in the UNIX Shell lesson. If the installer asks to add the path to the environment variables, check yes, otherwise you have to manually add the path of the executable to the PATH environmental variables. This path informs the system where to find the executable program.

If installing SQLite3 using Anaconda, refer to the anaconda sqlite docs.

After the installation and the setting of the paths, close the terminal and reopen a new terminal. This enables paths and configurations to be loaded.

Files

Please download the database we’ll be using: survey.db