SQLite is a C language library that comprises a lightweight and free-to-use Relational Database Management System or RDMS. It is also called a “client-server” database engine. Almost all of the programming languages are developed with the functionality to support SQLite, and it can be embedded with the “.sqlite3/.sqlite/.DB” extension. Also, SQLite is primarily utilized for handling client-side or local storage.

This write-up will discuss the procedure to install SQLite 3 in Ubuntu 22.04. So, let’s start!

How to install SQLite 3 in Ubuntu 22.04

You must follow the below-given step-by-step instructions for installing SQLite 3 in Ubuntu 22.04.

Step 1: Update system repositories


Press “CTRL ALT T” to open the terminal of your Ubuntu 22.04 and run the below-given commands to update system repositories:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-1.png" data-lazy- height="390" src="data:image/svg xml,” width=”838″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-2.png" data-lazy- height="294" src="data:image/svg xml,” width=”834″>

Step 2: SQLite 3 installation


After updating the system repositories, execute the following command for the installation of SQLite3 in Ubuntu 22.04:

$ sudo apt install sqlite3

The given error-free output indicates that SQLite3 is successfully installed in Ubuntu 22.04 system:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-3.png" data-lazy- height="569" src="data:image/svg xml,” width=”817″>

Step 3: Validate the SQLite installation


Lastly, validate the version of the installed software by executing the “sqlite” command with the “–version” option:

As you can see, now we have SQLite version “3.37.2” is installed in our Ubuntu 22.04 system:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-4.png" data-lazy- height="272" src="data:image/svg xml,” width=”814″>

Now, let’s check out the method of installing SQLite Browser in Ubuntu 22.04.

How to install SQLite Browser in Ubuntu 22.04

For the installation of SQLite browser, follow the below-given procedure.

Step 1: Update system repositories


Press “CTRL ALT T” to open the terminal of your Ubuntu 22.04 and run the below-given commands to update system repositories:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-5.png" data-lazy- height="390" src="data:image/svg xml,” width=”838″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-6.png" data-lazy- height="294" src="data:image/svg xml,” width=”834″>

Step 2: SQLite Browser installation


Now, execute the following command for the installation of SQLite browser in Ubuntu 22.04:

$ sudo apt install sqlitebrowser

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-7.png" data-lazy- height="575" src="data:image/svg xml,” width=”817″>

Wait for a few minutes as the installation of the SQLite browser will take some time to complete:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-8.png" data-lazy- height="574" src="data:image/svg xml,” width=”821″>

Step 3: Open SQLite Browser


To open the recently installed SQLite Browser in Ubuntu 22.04, search for the “SQLite browser” in the “Activities” menu:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-9.png" data-lazy- height="325" src="data:image/svg xml,” width=”806″>

The main interface of the SQLite browser will somehow look like this. You can further explore it according to your requirements:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-10.png" data-lazy- height="619" src="data:image/svg xml,” width=”1033″>

How to uninstall SQLite browser from Ubuntu 22.04

Want to uninstall SQLite browser from your system? If yes, then utilize the below-given command in your Linux terminal:

$ sudo apt –purge remove sqlitebrowser

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/05/echo/How-to-install-SQLite-3-in-Ubuntu-22.04-11.png" data-lazy- height="581" src="data:image/svg xml,” width=”819″>

We have compiled the simplest method to install SQLite 3 and its browser in Ubuntu 22.04.

Conclusion

For the installation of SQLite 3 in Ubuntu 22.04, first, update the system repositories with the help of the “$ sudo apt update” command and execute the “$ sudo apt install sqlite3” command. You can also install SQLite browser on your Linux-based system by utilizing the “$ sudo apt install sqlitebrowser” command. This write-up discussed the method of installing SQLite 3 in Ubuntu 22.04.

About the author

<img alt="" data-lazy-src="https://secure.gravatar.com/avatar/c73b74cd8044d2e9b300610f5af77d0b?s=112&r=g" data-lazy- height="112" src="data:image/svg xml,” width=”112″>

Sharqa Hameed

I am a Linux enthusiast, I love to read Every Linux blog on the internet. I hold masters degree in computer science and am passionate about learning and teaching.