Download and configure SQLite

To download and configure SQLite, follow these steps:

  1. Visit the official SQLite website at sqlite.org
  2. Go to the "Downloads" section of the website.
  3. Choose the appropriate download package for your operating system. SQLite is available for various platforms, including Windows, macOS, and Linux.
  4. Download the precompiled binary for your operating system. Make sure to select the version that suits your needs (e.g., 32-bit or 64-bit).
  5. Once the download is complete, locate the downloaded file on your computer and extract its contents if necessary. The extraction process may vary depending on your operating system.

6.
https://www.sqlite.org/download.html
Download and unzip 5 files to C:\Data\sqlite\
sqldiff.exe
sqlite3.def
sqlite3.dll
sqlite3.exe
sqlite3_analyzer.exe

Copy the files to the folder you want to keep them.
Use the command prompt, and browse to the folder.
(Alternatively you can use Windows Powershell, by clicking sqlite3.exe to open it.)

To create database:
C:\Data\sqlite> sqlite3 test.db
(In powershell PS C:\Data\sqlite> .\sqlite3 test.db)

To see the created database in Windows Explorer
sqlite> .databases

To quit:
sqlite> .exit
or
sqlite …> ;

Later we will use DBeaver to connect to database and create new table
CREATE TABLE Table1 (
Column1 INTEGER,
Column2 INTEGER
);

  1. Open your terminal or command prompt.
  2. Test the installation by running the following command: ` sqlite3 --version If SQLite is correctly installed and configured, you should see the version information displayed in the terminal.
  3. After extracting the files, you should have the SQLite binary executable available. You may want to move this executable to a directory that is included in your system's PATH environment variable. This step is optional but recommended for easier access to the SQLite command-line tool from any location in your terminal or command prompt.

Congratulations! You have successfully downloaded and configured SQLite on your system. You can now use SQLite for various database operations, such as creating databases, executing SQL queries, and managing data.