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:

525,864

Downloads of v 3.21.0:

8,311

Last Update:

25 Oct 2017

Package Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

Tags:

sql sqlite db database embedded foss cross-platform

SQLite

This is not the latest version of SQLite available.

  • 1
  • 2
  • 3

3.21.0 | Updated: 25 Oct 2017

Downloads:

525,864

Downloads of v 3.21.0:

8,311

Maintainer(s):

Software Author(s):

  • D. Richard Hipp
  • SQLite contributors

SQLite 3.21.0

This is not the latest version of SQLite available.

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:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

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'" --version="'3.21.0'" [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'" --version="'3.21.0'" 
$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.21.0'
    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.21.0'
end

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


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

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


package { 'sqlite':
  ensure   => '3.21.0',
  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 24 Dec 2017.

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

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/2017/sqlite-dll-win32-x86-3210000.zip
   x64: https://sqlite.org/2017/sqlite-dll-win64-x64-3210000.zip
   Toolsx32: https://sqlite.org/2017/sqlite-tools-win32-x86-3210000.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: 22BB304AAB3EC7A51FC4DC7749F304BBE01C5EC014144FBC8F86012DC3B0708B
   checksum64: 8943F4D2F3F9E5D360BF2D87152E272F79C9F548E21B045AF25B9E89DFBC7769
   checksumTools32: BEE05E6E3D6C15A4B149CF879596E602A025C0C622B862BC2A2A056003D2A64B

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
$embedded_path = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
         Write-Host "Installing 64 bit version"; gi "$toolsDir\*dll*win64*.zip"
} else { Write-Host "Installing 32 bit version"; gi "$toolsDir\*dll*win32*.zip" }

$packageArgs = @{
    PackageName  = 'sqlite'
    FileFullPath = $embedded_path
    Destination  = $toolsDir
}
ls $toolsDir\* | ? { $_.PSISContainer } | rm -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs

$pp = Get-PackageParameters
if (!$pp.NoTools) {
    Write-Host "Installing tools"
    $packageArgs.FileFullPath = gi "$toolsDir\*tools*win32*.zip"
    Get-ChocolateyUnzip @packageArgs
}

rm $toolsDir\*.zip -ea 0
tools\sqlite-dll-win32-x86-3210000.zip
md5: C42EC8F35C6A06666E6AD54471A2728B | sha1: C3CC57A816927FA616616939B4B7A63C2322CFA1 | sha256: 22BB304AAB3EC7A51FC4DC7749F304BBE01C5EC014144FBC8F86012DC3B0708B | sha512: 6FE9A3C3F861663B6408FD5136D202835A89344072996DD65DDA14FA04707662A26D0C6ED482FD0606A270943112D9EFFC07424AF90621094F6FBB88C8FF7EAE
tools\sqlite-dll-win64-x64-3210000.zip
md5: 905ABE8B34118A913AC483A4DC9293C2 | sha1: A0EE0843315AD667B05538678C6CD31564E71F4C | sha256: 8943F4D2F3F9E5D360BF2D87152E272F79C9F548E21B045AF25B9E89DFBC7769 | sha512: 1406F3AB7D6A3C176653260B4C0D98E4566216411D2845D574B64367CC831D930B38CC8353E627B23D4E8ABA0FCFD919F3D8EC448220DB94002F02141E9026EB
tools\sqlite-tools-win32-x86-3210000.zip
md5: 267201B7ED0B43371DCB028C86E2DCF2 | sha1: 687D1C732BE88E1B572A81E86D6CC9F8DC60390A | sha256: BEE05E6E3D6C15A4B149CF879596E602A025C0C622B862BC2A2A056003D2A64B | sha512: 34A4A26271303DC80B5B29527AFF8C12CA766E7FBD644B32E66B23C6293037264CFD5565EFF18C880B355FF3ED3F2E8FE631B6365D3E285907DB699D5540DE4E

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 9533 Thursday, June 13, 2024 Approved
SQLite 3.43.2 31033 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 14623 Tuesday, May 16, 2023 Approved
SQLite 3.41.2 8545 Wednesday, March 22, 2023 Approved
SQLite 3.41.1 3000 Saturday, March 11, 2023 Approved
SQLite 3.41.0 4272 Wednesday, February 22, 2023 Approved
SQLite 3.40.1 25119 Wednesday, December 28, 2022 Approved
SQLite 3.40.0 6907 Thursday, November 17, 2022 Approved
SQLite 3.39.4 7718 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 2654 Wednesday, April 27, 2022 Approved
SQLite 3.38.2 5402 Saturday, March 26, 2022 Approved
SQLite 3.38.1 3735 Saturday, March 12, 2022 Approved
SQLite 3.38.0 4555 Wednesday, February 23, 2022 Approved
SQLite 3.37.2 7176 Thursday, January 6, 2022 Approved
SQLite 3.37.1 1907 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 7211 Thursday, April 22, 2021 Approved
SQLite 3.35.4 3739 Saturday, April 3, 2021 Approved
SQLite 3.35.3 884 Friday, March 26, 2021 Approved
SQLite 3.35.2 3043 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 9289 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 1088 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 1613 Saturday, October 5, 2019 Approved
SQLite 3.29.0 13367 Thursday, July 11, 2019 Approved
SQLite 3.28.0 14868 Wednesday, April 17, 2019 Approved
SQLite 3.27.2 9893 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 2705 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 2402 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 12462 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 1141 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 525 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 1776 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 651 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 673 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 536 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 598 Friday, October 17, 2014 Approved
SQLite 3.8.6 859 Friday, August 15, 2014 Approved
SQLite 3.8.5.20140809 546 Saturday, August 9, 2014 Approved
SQLite 3.8.5 1856 Wednesday, June 4, 2014 Approved
SQLite 3.8.4.3 728 Thursday, April 3, 2014 Approved
SQLite 3.8.4.2 528 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 522 Tuesday, February 4, 2014 Approved
SQLite 3.8.2 705 Friday, December 6, 2013 Approved
SQLite 3.8.1 717 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