Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

531,534

Downloads of v 3.47.2:

3,037

Last Update:

08 Dec 2024

Package Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

Tags:

sql sqlite db database embedded foss cross-platform

SQLite

  • 1
  • 2
  • 3

3.47.2 | Updated: 08 Dec 2024

Downloads:

531,534

Downloads of v 3.47.2:

3,037

Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

SQLite 3.47.2

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by D. Richard Hipp, SQLite contributors. The inclusion of D. Richard Hipp, SQLite contributors trademark(s), if any, upon this webpage is solely to identify D. Richard Hipp, SQLite contributors goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install SQLite, run the following command from the command line or from PowerShell:

>

To upgrade SQLite, run the following command from the command line or from PowerShell:

>

To uninstall SQLite, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade sqlite -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade sqlite -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install sqlite
  win_chocolatey:
    name: sqlite
    version: '3.47.2'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'sqlite' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.47.2'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller sqlite
{
    Name     = "sqlite"
    Version  = "3.47.2"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'sqlite':
  ensure   => '3.47.2',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 08 Dec 2024.

Description

SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.

This package also installs sqlite tools by default - sqldiff, sqlite3, sqlite3_analyzer.

Features

  • Transactions are atomic, consistent, isolated, and durable (ACID) even after system crashes and power failures.
  • Zero-configuration - no setup or administration needed.
  • Full-featured SQL implementation with advanced capabilities like partial indexes, indexes on expressions, JSON, and common table expressions. (Omitted features)
  • A complete database is stored in a single cross-platform disk file. Great for use as an application file format.
  • Supports terabyte-sized databases and gigabyte-sized strings and blobs. (See limits.html.)
  • Small code footprint: less than 500KiB fully configured or much less with optional features omitted.
  • Simple, easy to use API.
  • Written in ANSI-C. TCL bindings included. Bindings for dozens of other languages available separately.
  • Well-commented source code with 100% branch test coverage.
  • Available as a single ANSI-C source-code file that is easy to compile and hence is easy to add into a larger project.
  • Self-contained: no external dependencies.
  • Cross-platform: Android, *BSD, iOS, Linux, Mac, Solaris, VxWorks, and Windows (Win32, WinCE, WinRT) are supported out of the box. Easy to port to other systems.
  • Sources are in the public domain. Use for any purpose.
  • Comes with a standalone command-line interface (CLI) client that can be used to administer SQLite databases.

Package parameters

  • /NoTools - Do not install sqlite tools

Example: choco install sqlite --params "/NoTools"

Notes

  • Beginning with v3.44.0 only 64-bit tools are available. If support for 32-bit
    is required use the legacy version sqlite 3.43.2.

    choco install sqlite --version='3.43.2'
    choco pin add --name='sqlite' --version='3.43.2'
    

legal\License.txt
## SQLite Is Public Domain

All of the code and documentation in SQLite has been dedicated to the [public domain](http://en.wikipedia.org/wiki/Public_Domain) by the authors. All code authors, and representatives of the companies they work for, have signed affidavits dedicating their contributions to the public domain and originals of those signed affidavits are stored in a firesafe at the main offices of [Hwaci](http://www.hwaci.com). Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original SQLite code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

The previous paragraph applies to the deliverable code and documentation in SQLite - those parts of the SQLite library that you actually bundle and ship with a larger application. Some scripts used as part of the build process (for example the "configure" scripts generated by autoconf) might fall under other open-source licenses. Nothing from these build scripts ever reaches the final deliverable SQLite library, however, and so the licenses associated with those scripts should not be a factor in assessing your rights to copy and use the SQLite library.

All of the deliverable code in SQLite has been written from scratch. No code has been taken from other projects or from the open internet. Every line of code can be traced back to its original author, and all of those authors have public domain dedications on file. So the SQLite code base is clean and is uncontaminated with licensed code from other projects.


## Obtaining An License To Use SQLite

Even though SQLite is in the public domain and does not require a license, some users want to obtain a license anyway. Some reasons for obtaining a license include:

*   Your company desires warranty of title and/or indemnity against claims of copyright infringement.
*   You are using SQLite in a jurisdiction that does not recognize the public domain.
*   You are using SQLite in a jurisdiction that does not recognize the right of an author to dedicate their work to the public domain.
*   You want to hold a tangible legal document as evidence that you have the legal right to use and distribute SQLite.
*   Your legal department tells you that you have to purchase a license.

If you feel like you really need to purchase a license for SQLite, [Hwaci](http://www.hwaci.com/), the company that employs all the developers of SQLite, will [sell you one](http://www.hwaci.com/cgi-bin/license-step1). All proceeds from the sale of SQLite licenses are used to fund continuing improvement and support of SQLite.

## Contributed Code

In order to keep SQLite completely free and unencumbered by copyright, all new contributors to the SQLite code base are asked to dedicate their contributions to the public domain. If you want to send a patch or enhancement for possible inclusion in the SQLite source tree, please accompany the patch with the following statement:

> _The author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this code under copyright law._

We are not able to accept patches or changes to SQLite that are not accompanied by a statement such as the above. In addition, if you make changes or enhancements as an employee, then a simple statement such as the above is insufficient. You must also send by surface mail a copyright release signed by a company officer. A signed original of the copyright release should be mailed to:

> Hwaci  
> 6200 Maple Cove Lane  
> Charlotte, NC 28269  
> USA
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to

   x32: https://sqlite.org/2024/sqlite-dll-win-x86-3470200.zip
   x64: https://sqlite.org/2024/sqlite-dll-win-x64-3470200.zip
   Toolsx64: https://sqlite.org/2024/sqlite-tools-win-x64-3470200.zip

   to download the files.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: E8CA0C03602BF88511A27957EFF4E1B5BBDE0EB8563920199D454735BF9C0F9C
   checksum64: 2AB315502C66E5E3C31ED6B38B20487D98514EA0EE69FE51309F108AF822A27D
   checksumTools64: 8C7FFFBF4EEC1F43E63153CCA6DEB018E4360D4D6B0D99BBDD2A541C53B7FA1C

File 'license.txt' is obtained from the following URL (and converted to markdown):
   http://www.sqlite.org/copyright.html
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
    PackageName    = 'sqlite'
    FileFullPath   = "$toolsDir\sqlite-dll-win-x86-3470200.zip"
    FileFullPath64 = "$toolsDir\sqlite-dll-win-x64-3470200.zip"
    Destination    = $toolsDir
}
Get-ChildItem $toolsDir\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs

$pp = Get-PackageParameters
if (!$pp.NoTools) {
    if ((Get-OSArchitectureWidth -Compare 32) -or ($env:chocolateyForceX86 -eq 'true')) {
        Write-Error -Message "The 32-bit version of sqlite tools is not available after version 3.43.2" -Category ResourceUnavailable
    }
    Write-Host "Installing tools"
    $packageArgs.FileFullPath64 = "$toolsDir\sqlite-tools-win-x64-3470200.zip"
    Get-ChocolateyUnzip @packageArgs
}

Remove-Item $toolsDir\*.zip -ea 0
tools\sqlite-dll-win-x64-3470200.zip
md5: 629BB02BADEFE89B61908647033621B2 | sha1: F7822772E8C6A0EE239BAD4D5899524E1E2C3D37 | sha256: 2AB315502C66E5E3C31ED6B38B20487D98514EA0EE69FE51309F108AF822A27D | sha512: 223A15C01B483B8E79371D1265993918F1B4EA90175F4C464E3DF5540279F97145F68FCF7CEF09C4D12B286CD273CBCACA01FE8C3F20CC5DDCE7F287009968F8
tools\sqlite-dll-win-x86-3470200.zip
md5: 7127D462EB68875E4488CED38ECD2957 | sha1: 2865AD2FC1C099A5CA2FFFE39AC27D13B2E30133 | sha256: E8CA0C03602BF88511A27957EFF4E1B5BBDE0EB8563920199D454735BF9C0F9C | sha512: 86AE778A25F1784CBD4006996B3311E367353FB1C048D60295B28757137ADAC01A1CED28F82074BE601095419032FECB323C7C6A71D603797D9ED406EC9B23AD
tools\sqlite-tools-win-x64-3470200.zip
md5: 3497EAFF2A3B7E5AC5153A5298CCBA17 | sha1: FA6FC85A0EFDE249BEF02F8868675DEB8A5C9185 | sha256: 8C7FFFBF4EEC1F43E63153CCA6DEB018E4360D4D6B0D99BBDD2A541C53B7FA1C | sha512: 2B1CB3846098F1FE121ECB7E089180D1E618103FEE0DAE92D6E6C0162C83565421B288E52DE04218C2218D5BDC02039C82846490425FAECCEFFD3094645CED83

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
SQLite 3.47.1 2226 Monday, November 25, 2024 Approved
SQLite 3.47.0 5398 Monday, October 21, 2024 Approved
SQLite 3.46.1 10392 Tuesday, August 13, 2024 Approved
SQLite 3.46.0 9547 Thursday, June 13, 2024 Approved
SQLite 3.43.2 31042 Tuesday, October 10, 2023 Approved
SQLite 3.43.1 5361 Monday, September 11, 2023 Approved
SQLite 3.43.0 439 Thursday, August 24, 2023 Exempted
SQLite 3.42.0 14629 Tuesday, May 16, 2023 Approved
SQLite 3.41.2 8551 Wednesday, March 22, 2023 Approved
SQLite 3.41.1 3003 Saturday, March 11, 2023 Approved
SQLite 3.41.0 4277 Wednesday, February 22, 2023 Approved
SQLite 3.40.1 25447 Wednesday, December 28, 2022 Approved
SQLite 3.40.0 6914 Thursday, November 17, 2022 Approved
SQLite 3.39.4 7724 Friday, September 30, 2022 Approved
SQLite 3.39.3 4510 Monday, September 5, 2022 Approved
SQLite 3.39.2 5096 Thursday, July 21, 2022 Approved
SQLite 3.39.1 4700 Thursday, July 14, 2022 Approved
SQLite 3.39.0 3570 Saturday, June 25, 2022 Approved
SQLite 3.38.5 6702 Saturday, May 7, 2022 Approved
SQLite 3.38.4 1753 Thursday, May 5, 2022 Approved
SQLite 3.38.3 2658 Wednesday, April 27, 2022 Approved
SQLite 3.38.2 5408 Saturday, March 26, 2022 Approved
SQLite 3.38.1 3737 Saturday, March 12, 2022 Approved
SQLite 3.38.0 4561 Wednesday, February 23, 2022 Approved
SQLite 3.37.2 7180 Thursday, January 6, 2022 Approved
SQLite 3.37.1 1911 Friday, December 31, 2021 Approved
SQLite 3.37.0 4904 Monday, November 29, 2021 Approved
SQLite 3.36.0 14409 Saturday, June 19, 2021 Approved
SQLite 3.35.5 7214 Thursday, April 22, 2021 Approved
SQLite 3.35.4 3742 Saturday, April 3, 2021 Approved
SQLite 3.35.3 890 Friday, March 26, 2021 Approved
SQLite 3.35.2 3050 Thursday, March 18, 2021 Approved
SQLite 3.35.1 1012 Tuesday, March 16, 2021 Approved
SQLite 3.35.0 1411 Saturday, March 13, 2021 Approved
SQLite 3.34.1 8079 Thursday, January 21, 2021 Approved
SQLite 3.34.0 6286 Wednesday, December 2, 2020 Approved
SQLite 3.33.0 15097 Saturday, August 15, 2020 Approved
SQLite 3.32.3 9294 Saturday, June 20, 2020 Approved
SQLite 3.32.2 3284 Sunday, June 7, 2020 Approved
SQLite 3.32.1 2220 Tuesday, May 26, 2020 Approved
SQLite 3.32.0 1091 Saturday, May 23, 2020 Approved
SQLite 3.31.1 19997 Tuesday, January 28, 2020 Approved
SQLite 3.31.0 1213 Friday, January 24, 2020 Approved
SQLite 3.30.1 16280 Friday, October 11, 2019 Approved
SQLite 3.30.0 1617 Saturday, October 5, 2019 Approved
SQLite 3.29.0 13368 Thursday, July 11, 2019 Approved
SQLite 3.28.0 14874 Wednesday, April 17, 2019 Approved
SQLite 3.27.2 9899 Tuesday, February 26, 2019 Approved
SQLite 3.27.1 3900 Saturday, February 9, 2019 Approved
SQLite 3.27.0 1118 Friday, February 8, 2019 Approved
SQLite 3.26.0 9472 Sunday, December 2, 2018 Approved
SQLite 3.25.3 4052 Tuesday, November 6, 2018 Approved
SQLite 3.25.2 6444 Thursday, September 27, 2018 Approved
SQLite 3.25.1 2709 Wednesday, September 19, 2018 Approved
SQLite 3.24.0 24243 Thursday, June 7, 2018 Approved
SQLite 3.23.1 10682 Wednesday, April 11, 2018 Approved
SQLite 3.23.0 2408 Monday, April 2, 2018 Approved
SQLite 3.22.0 7725 Tuesday, January 23, 2018 Approved
SQLite 3.21.0 8312 Wednesday, October 25, 2017 Approved
SQLite 3.20.1 6280 Saturday, September 2, 2017 Approved
SQLite 3.20.0 7920 Tuesday, August 1, 2017 Approved
SQLite 3.19.3 12467 Thursday, June 8, 2017 Approved
SQLite 3.19.2 7353 Thursday, May 25, 2017 Approved
SQLite 3.19.1 1245 Wednesday, May 24, 2017 Approved
SQLite 3.19.0 1148 Monday, May 22, 2017 Approved
SQLite 3.18.0 14506 Thursday, March 30, 2017 Approved
SQLite 3.17.0 12116 Monday, February 13, 2017 Approved
SQLite 3.16.2 4668 Friday, January 6, 2017 Approved
SQLite 3.16.1 575 Wednesday, January 4, 2017 Approved
SQLite 3.16.0 532 Monday, January 2, 2017 Approved
SQLite 3.15.2 862 Monday, November 28, 2016 Approved
SQLite 3.15.1 774 Friday, November 4, 2016 Approved
SQLite 3.14.1 1781 Thursday, August 11, 2016 Approved
SQLite 3.14.0 559 Monday, August 8, 2016 Approved
SQLite 3.13.0 670 Wednesday, May 18, 2016 Approved
SQLite 3.12.2 658 Monday, April 18, 2016 Approved
SQLite 3.12.1 638 Friday, April 8, 2016 Approved
SQLite 3.12.0 711 Tuesday, March 29, 2016 Approved
SQLite 3.11.1 767 Thursday, March 3, 2016 Approved
SQLite 3.11.0 681 Monday, February 15, 2016 Approved
SQLite 3.10.2 812 Thursday, January 21, 2016 Approved
SQLite 3.10.1 631 Thursday, January 14, 2016 Approved
SQLite 3.10.0 671 Wednesday, January 6, 2016 Approved
SQLite 3.9.2 1100 Monday, November 2, 2015 Approved
SQLite 3.9.0 782 Wednesday, October 14, 2015 Approved
SQLite 3.8.11.1 975 Wednesday, July 29, 2015 Approved
SQLite 3.8.11 600 Monday, July 27, 2015 Approved
SQLite 3.8.10.2 889 Wednesday, May 20, 2015 Approved
SQLite 3.8.10.1 584 Saturday, May 9, 2015 Approved
SQLite 3.8.10 559 Thursday, May 7, 2015 Approved
SQLite 3.8.9 686 Saturday, April 11, 2015 Approved
SQLite 3.8.8.3 634 Wednesday, April 8, 2015 Approved
SQLite 3.8.8 1009 Friday, January 16, 2015 Approved
SQLite 3.8.7.20141216 629 Tuesday, December 16, 2014 Approved
SQLite 3.8.7.20141215 541 Monday, December 15, 2014 Approved
SQLite 3.8.7.20141210 517 Wednesday, December 10, 2014 Approved
SQLite 3.8.7.2 614 Wednesday, November 19, 2014 Approved
SQLite 3.8.7.1 704 Wednesday, October 29, 2014 Approved
SQLite 3.8.7 605 Friday, October 17, 2014 Approved
SQLite 3.8.6 863 Friday, August 15, 2014 Approved
SQLite 3.8.5.20140809 552 Saturday, August 9, 2014 Approved
SQLite 3.8.5 1863 Wednesday, June 4, 2014 Approved
SQLite 3.8.4.3 734 Thursday, April 3, 2014 Approved
SQLite 3.8.4.2 534 Thursday, March 27, 2014 Approved
SQLite 3.8.4.1 575 Tuesday, March 11, 2014 Approved
SQLite 3.8.4 495 Monday, March 10, 2014 Approved
SQLite 3.8.3.1 588 Tuesday, February 11, 2014 Approved
SQLite 3.8.3 529 Tuesday, February 4, 2014 Approved
SQLite 3.8.2 709 Friday, December 6, 2013 Approved
SQLite 3.8.1 726 Friday, October 18, 2013 Approved
SQLite 3.8.0.2 575 Wednesday, October 9, 2013 Approved
SQLite 3.7.9.1 983 Sunday, January 22, 2012 Approved
SQLite 3.7.9.0 525 Friday, January 13, 2012 Approved
Discussion for the SQLite Package

Ground Rules:

  • This discussion is only about SQLite and the SQLite package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or SQLite, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus