Open In App

How to Install SQLite3 for Ruby on Windows?

Last Updated : 23 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

SQLite is one type of SQL database engine. It is mainly written in the C programming language. It is built with a C programming library. SQLite is used basically in mobile applications & some computer applications. It is widely used for database purposes. As it is a stable application database it is widely used across the world. It can be used for other programming languages also, but it can be used for other programming languages like Ruby. For using SQLite in Ruby, Ruby needs to get installed in the machine previously. After that, we can proceed with the installation of SQLite.

Features

  • In SQLite, the complete database is stored in a single cross-platform disk.
  • SQLite is faster than the direct filesystem. That is why it is widely used.
  • SQLite is cross-platform based. It is easy to port to other operating systems.

Installation of SQLite3 on Windows

Step 1: At first, we have to browse the official website of SQLite. Then scroll down & search for Binaries for Windows.

Step 2: Then according to the machine configuration choose any one of the DLL files. The .zip file has to be downloaded.

Choosing-DLL-file

 

Step 3: Next we have to download the command-line tool for SQLite. This will help to work smoothly. It will install a .zip file.

Downloading-command-line-tool

 

Step 4: Next, we have to extract the .zip files. And copy the extracted files.

Extracting-zip-file

 

Step 5: Now, we have to browse to the C drive of the machine, where the Ruby folder is situated. In the Ruby folder, there will be a Bin folder. We have to paste the extracted file inside the Bin folder.

Bin-folder

 

Step 6: Now, we have completed the process. We have configured SQLite with Ruby. Now we will open the command prompt of the machine. Then we will execute the following command. This will provide the installed version of the SQLite. Hence, the installation is successful.

sqlite3 –version

SQLite-installed

 


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads