By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Installing SQLite3 on AlmaLinux 9 from source
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Linux

Installing SQLite3 on AlmaLinux 9 from source

Published: March 11, 2024
2 Min Read
SHARE

Installing SQLite3 on AlmaLinux 9 from source.

SQLite is a widely used, lightweight, and embedded relational database management system (RDBMS) that supports a variety of programming languages. It is known for its portability, self-contained nature, and small size, making it a popular choice for applications that require local data storage.

Prerequisites:

  • AlmaLinux 9 operating system
  • Root or sudo user privileges

Steps:

  1. Update the system:
dnf update -y
  1. Install required packages:

The wget package is needed to download the SQLite source code from the official website. If wget is already installed, skip this step.

dnf install wget -y
  1. Install the build toolchain:

The build toolchain includes various development tools required for compiling SQLite. If you are unsure about the specific packages needed, you can install the entire “Development Tools” group.

dnf groupinstall "Development Tools" -y
  1. Download the SQLite source code:
  2. Navigate to the SQLite download page: https://www.sqlite.org/download.html
  3. Copy the link to the latest autoconf source code, which will be named in the format: sqlite-autoconf-<version>.tar.gz
  4. Download the source code using wget and extract it using tar:
wget https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz
tar xvfz sqlite-autoconf-<version>.tar.gz
  1. Rename the extracted directory to “sqlite”:
mv sqlite-autoconf-<version> sqlite
  1. Change to the sqlite directory:
cd sqlite
  1. Build and install SQLite3:
  2. Run the configure script to prepare the build environment:
./configure
  1. Compile the SQLite source code:
make
  1. Install SQLite:
make install

This will install the SQLite3 library system-wide.

  1. Verify the installation:

Check the SQLite3 version to confirm the installation:

sqlite3 --version

This should display the installed SQLite version, such as:

3.42.0 2023-07-18 11:54:15
456j34k6j34oij64kj6543kj6kj34j6kl4j63l4kj6kl34j634643j6klj34k6j

Conclusion:

This tutorial has demonstrated the process of installing SQLite3 on AlmaLinux 9. SQLite is now ready for use in your applications.

TAGGED:AlmaLinuxCentOSdbdnfSQLite
Previous Article Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9 Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9
Next Article How to Safely Remove Old Kernels from Ubuntu
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?