Categories: Ubuntu

How to install SQLite 3 in Ubuntu 22.04

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.

Sponsored

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:

$ sudo apt update

$ sudo apt upgrade

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:

Step 3: Validate the SQLite installation
Lastly, validate the version of the installed software by executing the “sqlite” command with the “–version” option:

$ sqlite3 –version

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

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:

$ sudo apt update

Sponsored
$ sudo apt upgrade

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

$ sudo apt install sqlitebrowser

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

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:

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

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

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.

Ubuntu Server Admin

Recent Posts

Cut data center energy costs with bare metal automation

Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…

24 hours ago

Build the future of *craft: announcing Starcraft Bounties!

Our commitment to building a thriving open source community is stronger than ever. We believe…

24 hours ago

NodeJS 18 LTS EOL extended from April 2025 to May 2032 on Ubuntu

The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…

24 hours ago

Native integration now available for Pure Storage and Canonical LXD

June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…

2 days ago

Revolutionizing Web Page Creation: How Structured Content is Slashing Design and Development Time

Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…

3 days ago

Ubuntu Weekly Newsletter Issue 897

Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…

4 days ago