The sqlite3 is available in the default repository of Ubuntu and can easily be installed with the following command: sudo apt install sqlite3 Install Gitlab on Ubuntu 20.04 LTS Focal fossaĬategories Ubuntu Tags ubuntu, ubuntu 20.04, Ubuntu 22.So in this tutorial, I will show you how you can install sqlite3 and how to create a simple table in Ubuntu How to install and use Sqlite3 on Ubuntu.How to create, compile & run a C Program in a Linux terminal.Install SQLite using the Make command sudo make installįor further knowledge, the user can visit SQLite Documentation. Run configure file to build the code for installation. tar xfvz Ĭreate a directory to safely place the file under /opt: sudo mkdir /opt/sqlite3 sudo mv sqlite-autoconf-3370200 /opt/sqlite3 Now, use the given syntax to extract it: tar xvfz Įxample: Don’t forget to replace sqlite-autoconf-3370200 with your file version. Visit the SQLite Download page and click on the Tar.GZ file available for it. sudo apt install build-essential -y Download source code The Gnu Compiler Collection, GCC for short, is a collection of compilers and offers a uniform interface for creating programs in C, C ++, Objective-C, Fortran, Ada, Assembler and Go. To compile the source of some applications on Linux we need some developer’s tools, to get them we just need to install the Build Essential package.īuild essential is a name for a package that includes the GCC/g++ compilers and libraries and some other utilities required to compile software written in C and C++. Those who don’t want to use the APT package manager can compile this file-based database directly using its source code. #2nd Way Installing SQLite 3 by compiling its source Once the installation is completed, we can check what version is exactly we got of the SQLite database on our Ubuntu system using the APT package manager. What we have to do is- run the APT package manager command to install this file-based database. We don’t need to add any third-party repository to install SQLite 3 on our system. Install SQLite 3 on Ubuntu 22.04 | 20.04 with APT On your command terminal, first, run the system update command to let the system update its existing packages as well as refresh the cache of repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |