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:

527,271

Downloads of v 3.47.1:

1,715

Last Update:

25 Nov 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.1 | Updated: 25 Nov 2024

Downloads:

527,271

Downloads of v 3.47.1:

1,715

Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

SQLite 3.47.1

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

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

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.1'
    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.1'
end

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


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

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


package { 'sqlite':
  ensure   => '3.47.1',
  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 25 Nov 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-3470100.zip
   x64: https://sqlite.org/2024/sqlite-dll-win-x64-3470100.zip
   Toolsx64: https://sqlite.org/2024/sqlite-tools-win-x64-3470100.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: 717277BF28598EA22BDD8D4FFFFED8DB556627A95845299BA3B8D581318FD332
   checksum64: 076495E16F869E6F795B3AF1074F54067F535C7A17FA0A8131447907F6409272
   checksumTools64: 76D0B44CDB425B51F5D4DC9A959D4025C76C6DE94D9745716A9578D778AD27E5

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-3470100.zip"
    FileFullPath64 = "$toolsDir\sqlite-dll-win-x64-3470100.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-3470100.zip"
    Get-ChocolateyUnzip @packageArgs
}

Remove-Item $toolsDir\*.zip -ea 0
tools\sqlite-dll-win-x64-3470100.zip
md5: DC79E3174701846951BB07D907FB5F83 | sha1: 1BB108D3D8235609696F3238EE2D508746821102 | sha256: 076495E16F869E6F795B3AF1074F54067F535C7A17FA0A8131447907F6409272 | sha512: 6CC57E09E65C1EC8D1062B7357900E5E4378FEA1BA1FDC86A01060CB2557286A247F977496831975F1159FF67973CCCADD24775C73382A2619C0893BFD9BC0BE
tools\sqlite-dll-win-x86-3470100.zip
md5: C6031E6E8BF61EBA9F2BB991BF1CF633 | sha1: 543B613DC4FEF18C3F16F9528A247E2F5497E9A0 | sha256: 717277BF28598EA22BDD8D4FFFFED8DB556627A95845299BA3B8D581318FD332 | sha512: E73400783332D113AFB4D2B3F60822A095C36E92BEEFA69FD172ADEEFF33B08057E32BC57BD577B93D58FE0CF1B41E8C063A34A2F6B875580E1D8A7CA8D8A419
tools\sqlite-tools-win-x64-3470100.zip
md5: 57B90DA087D8FE81C7C1331C3D122108 | sha1: F8ADCD2675458F2E3A986E87302107DB6765A30A | sha256: 76D0B44CDB425B51F5D4DC9A959D4025C76C6DE94D9745716A9578D778AD27E5 | sha512: D7D2D3DBBEFEC9129700142CEB59B214713ECA5246D08A3F56121B573D47EED0AFB4B7A96AC58F65E9C5A2A259CBD918DDE804E33A43C61B486221A6343E2657

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.0 5391 Monday, October 21, 2024 Approved
SQLite 3.46.1 10381 Tuesday, August 13, 2024 Approved
SQLite 3.46.0 9537 Thursday, June 13, 2024 Approved
SQLite 3.43.2 31034 Tuesday, October 10, 2023 Approved
SQLite 3.43.1 5355 Monday, September 11, 2023 Approved
SQLite 3.43.0 434 Thursday, August 24, 2023 Exempted
SQLite 3.42.0 14624 Tuesday, May 16, 2023 Approved
SQLite 3.41.2 8547 Wednesday, March 22, 2023 Approved
SQLite 3.41.1 3000 Saturday, March 11, 2023 Approved
SQLite 3.41.0 4274 Wednesday, February 22, 2023 Approved
SQLite 3.40.1 25224 Wednesday, December 28, 2022 Approved
SQLite 3.40.0 6908 Thursday, November 17, 2022 Approved
SQLite 3.39.4 7719 Friday, September 30, 2022 Approved
SQLite 3.39.3 4505 Monday, September 5, 2022 Approved
SQLite 3.39.2 5090 Thursday, July 21, 2022 Approved
SQLite 3.39.1 4697 Thursday, July 14, 2022 Approved
SQLite 3.39.0 3569 Saturday, June 25, 2022 Approved
SQLite 3.38.5 6696 Saturday, May 7, 2022 Approved
SQLite 3.38.4 1751 Thursday, May 5, 2022 Approved
SQLite 3.38.3 2655 Wednesday, April 27, 2022 Approved
SQLite 3.38.2 5403 Saturday, March 26, 2022 Approved
SQLite 3.38.1 3735 Saturday, March 12, 2022 Approved
SQLite 3.38.0 4556 Wednesday, February 23, 2022 Approved
SQLite 3.37.2 7176 Thursday, January 6, 2022 Approved
SQLite 3.37.1 1908 Friday, December 31, 2021 Approved
SQLite 3.37.0 4900 Monday, November 29, 2021 Approved
SQLite 3.36.0 14406 Saturday, June 19, 2021 Approved
SQLite 3.35.5 7212 Thursday, April 22, 2021 Approved
SQLite 3.35.4 3741 Saturday, April 3, 2021 Approved
SQLite 3.35.3 886 Friday, March 26, 2021 Approved
SQLite 3.35.2 3044 Thursday, March 18, 2021 Approved
SQLite 3.35.1 1006 Tuesday, March 16, 2021 Approved
SQLite 3.35.0 1404 Saturday, March 13, 2021 Approved
SQLite 3.34.1 8070 Thursday, January 21, 2021 Approved
SQLite 3.34.0 6281 Wednesday, December 2, 2020 Approved
SQLite 3.33.0 15093 Saturday, August 15, 2020 Approved
SQLite 3.32.3 9292 Saturday, June 20, 2020 Approved
SQLite 3.32.2 3281 Sunday, June 7, 2020 Approved
SQLite 3.32.1 2215 Tuesday, May 26, 2020 Approved
SQLite 3.32.0 1089 Saturday, May 23, 2020 Approved
SQLite 3.31.1 19990 Tuesday, January 28, 2020 Approved
SQLite 3.31.0 1210 Friday, January 24, 2020 Approved
SQLite 3.30.1 16275 Friday, October 11, 2019 Approved
SQLite 3.30.0 1614 Saturday, October 5, 2019 Approved
SQLite 3.29.0 13367 Thursday, July 11, 2019 Approved
SQLite 3.28.0 14872 Wednesday, April 17, 2019 Approved
SQLite 3.27.2 9897 Tuesday, February 26, 2019 Approved
SQLite 3.27.1 3897 Saturday, February 9, 2019 Approved
SQLite 3.27.0 1114 Friday, February 8, 2019 Approved
SQLite 3.26.0 9467 Sunday, December 2, 2018 Approved
SQLite 3.25.3 4048 Tuesday, November 6, 2018 Approved
SQLite 3.25.2 6439 Thursday, September 27, 2018 Approved
SQLite 3.25.1 2706 Wednesday, September 19, 2018 Approved
SQLite 3.24.0 24237 Thursday, June 7, 2018 Approved
SQLite 3.23.1 10678 Wednesday, April 11, 2018 Approved
SQLite 3.23.0 2405 Monday, April 2, 2018 Approved
SQLite 3.22.0 7721 Tuesday, January 23, 2018 Approved
SQLite 3.21.0 8311 Wednesday, October 25, 2017 Approved
SQLite 3.20.1 6279 Saturday, September 2, 2017 Approved
SQLite 3.20.0 7915 Tuesday, August 1, 2017 Approved
SQLite 3.19.3 12463 Thursday, June 8, 2017 Approved
SQLite 3.19.2 7347 Thursday, May 25, 2017 Approved
SQLite 3.19.1 1244 Wednesday, May 24, 2017 Approved
SQLite 3.19.0 1144 Monday, May 22, 2017 Approved
SQLite 3.18.0 14499 Thursday, March 30, 2017 Approved
SQLite 3.17.0 12111 Monday, February 13, 2017 Approved
SQLite 3.16.2 4663 Friday, January 6, 2017 Approved
SQLite 3.16.1 569 Wednesday, January 4, 2017 Approved
SQLite 3.16.0 527 Monday, January 2, 2017 Approved
SQLite 3.15.2 861 Monday, November 28, 2016 Approved
SQLite 3.15.1 767 Friday, November 4, 2016 Approved
SQLite 3.14.1 1779 Thursday, August 11, 2016 Approved
SQLite 3.14.0 552 Monday, August 8, 2016 Approved
SQLite 3.13.0 665 Wednesday, May 18, 2016 Approved
SQLite 3.12.2 652 Monday, April 18, 2016 Approved
SQLite 3.12.1 635 Friday, April 8, 2016 Approved
SQLite 3.12.0 706 Tuesday, March 29, 2016 Approved
SQLite 3.11.1 761 Thursday, March 3, 2016 Approved
SQLite 3.11.0 674 Monday, February 15, 2016 Approved
SQLite 3.10.2 809 Thursday, January 21, 2016 Approved
SQLite 3.10.1 627 Thursday, January 14, 2016 Approved
SQLite 3.10.0 664 Wednesday, January 6, 2016 Approved
SQLite 3.9.2 1096 Monday, November 2, 2015 Approved
SQLite 3.9.0 777 Wednesday, October 14, 2015 Approved
SQLite 3.8.11.1 974 Wednesday, July 29, 2015 Approved
SQLite 3.8.11 596 Monday, July 27, 2015 Approved
SQLite 3.8.10.2 885 Wednesday, May 20, 2015 Approved
SQLite 3.8.10.1 579 Saturday, May 9, 2015 Approved
SQLite 3.8.10 554 Thursday, May 7, 2015 Approved
SQLite 3.8.9 682 Saturday, April 11, 2015 Approved
SQLite 3.8.8.3 622 Wednesday, April 8, 2015 Approved
SQLite 3.8.8 1007 Friday, January 16, 2015 Approved
SQLite 3.8.7.20141216 629 Tuesday, December 16, 2014 Approved
SQLite 3.8.7.20141215 537 Monday, December 15, 2014 Approved
SQLite 3.8.7.20141210 514 Wednesday, December 10, 2014 Approved
SQLite 3.8.7.2 609 Wednesday, November 19, 2014 Approved
SQLite 3.8.7.1 696 Wednesday, October 29, 2014 Approved
SQLite 3.8.7 599 Friday, October 17, 2014 Approved
SQLite 3.8.6 859 Friday, August 15, 2014 Approved
SQLite 3.8.5.20140809 547 Saturday, August 9, 2014 Approved
SQLite 3.8.5 1861 Wednesday, June 4, 2014 Approved
SQLite 3.8.4.3 728 Thursday, April 3, 2014 Approved
SQLite 3.8.4.2 529 Thursday, March 27, 2014 Approved
SQLite 3.8.4.1 569 Tuesday, March 11, 2014 Approved
SQLite 3.8.4 494 Monday, March 10, 2014 Approved
SQLite 3.8.3.1 585 Tuesday, February 11, 2014 Approved
SQLite 3.8.3 525 Tuesday, February 4, 2014 Approved
SQLite 3.8.2 705 Friday, December 6, 2013 Approved
SQLite 3.8.1 718 Friday, October 18, 2013 Approved
SQLite 3.8.0.2 570 Wednesday, October 9, 2013 Approved
SQLite 3.7.9.1 976 Sunday, January 22, 2012 Approved
SQLite 3.7.9.0 523 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