/usr/share/doc/python-apsw/html/_sources/download.txt is in python-apsw-doc 3.8.2-r1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | Download
********
.. _source_and_binaries:
Source and binaries
===================
You can download this release as binaries for Windows. Just run the
executable corresponding with the Python version you are using. The
Windows binaries all include the :ref:`FTS <ext-fts3>` and
:ref:`RTree <ext-rtree>` extensions. (`FTS3_PARENTHESIS
<https://sqlite.org/compile.html#enable_fts3_parenthesis>`_ is on.)
Download in source form for other platforms or if you want to compile
yourself on Windows. See the :ref:`recommended <recommended_build>`
way to build or all the :ref:`options available <building>`.
.. downloads-begin
* `apsw-3.8.2-r1.zip
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.zip>`_
(Source, includes this HTML Help)
* Windows Python 2.3 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py2.3.exe>`__
* Windows Python 2.4 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py2.4.exe>`__
* Windows Python 2.5 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py2.5.exe>`__
* Windows Python 2.6 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py2.6.exe>`__
`64bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win-amd64-py2.6.exe>`__
* Windows Python 2.7 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py2.7.exe>`__
`64bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win-amd64-py2.7.exe>`__
* Windows Python 3.1 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py3.1.exe>`__
`64bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win-amd64-py3.1.exe>`__
* Windows Python 3.2 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py3.2.exe>`__
`64bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win-amd64-py3.2.exe>`__
* Windows Python 3.3 `32bit
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1.win32-py3.3.exe>`__
* `apsw-3.8.2-r1-sigs.zip
<https://code.google.com/p/apsw/downloads/detail?name=apsw-3.8.2-r1-sigs.zip>`_
GPG signatures for all files
.. downloads-end
Some Linux distributions also have packages which may trail the SQLite
and APSW releases by a year, or more. It is also possible to build
RPMs and DEB packages from the source, although this involves setting
up package management tools and various dependencies on your build
machine.
+-------------------+----------------------------------------------------------------------------------+
| Debian | Install `python-apsw <http://packages.debian.org/python-apsw>`__ |
+-------------------+----------------------------------------------------------------------------------+
| Fedora | Install `python-apsw <https://apps.fedoraproject.org/packages/s/apsw>`__ |
+-------------------+----------------------------------------------------------------------------------+
| Ubuntu | Install `python-apsw <http://packages.ubuntu.com/search?keywords=python-apsw>`__ |
+-------------------+----------------------------------------------------------------------------------+
| Ubuntu PPA | PPA building has been broken for over two years because |
| | `Canonical/Ubuntu add a broken flag to the PPA |
| | <https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1065302>`__. |
+-------------------+----------------------------------------------------------------------------------+
| Gentoo | Install `dev-python/apsw <http://packages.gentoo.org/package/dev-python/apsw>`_ |
+-------------------+----------------------------------------------------------------------------------+
| Arch Linux | Install `python-apsw <https://www.archlinux.org/packages/?q=apsw>`__ |
+-------------------+----------------------------------------------------------------------------------+
.. _verifydownload:
Verifying your download
=======================
Downloads are now digitally signed so you can verify they have not
been tampered with. Download and extract the zip file of signatures
listed above. These instructions are for `GNU Privacy Guard
<http://www.gnupg.org/>`__. (GPG is installed as standard on most
Unix/Linux platforms and can be downloaded for Windows.)
Verify
To verify a file just use --verify specifying the corresponding
``.asc`` filename. This example verifies the source::
$ gpg --verify apsw-3.8.2-r1.zip.asc
gpg: Signature made ... date ... using DSA key ID 0DFBD904
gpg: Good signature from "Roger Binns <rogerb@rogerbinns.com>"
If you get a "good signature" then the file has not been tampered with
and you are good to go.
Getting the signing key
You may not have the signing key available in which case the last
line will be something like this::
gpg: Can't check signature: public key not found
You can get a copy of the key using this command::
$ gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0DFBD904
gpg: requesting key 0DFBD904 from hkp server keyserver.ubuntu.com
gpg: /home/username/.gnupg/trustdb.gpg: trustdb created
gpg: key 0DFBD904: public key "Roger Binns <rogerb@rogerbinns.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
Repeat the verify step.
Source code control
===================
The source is controlled by Mercurial documented at
https://code.google.com/p/apsw/source/checkout
easy_install/pip/pypi
=====================
APSW is **not** available at the Python Package Index (pypi) and hence
cannot be installed using easy_install, pip or similar tools. The
reason for this is that the tools do not provide a way of providing
options to the setup.py included with APSW and hence there is no way
for APSW to know if you want SQLite downloaded, a consistent version
of SQLite or the latest, to use a system SQLite instead, error if an a
system version is not available etc. I could pick a sensible default
but everyone else using pypi would be disadvantaged or worse get
undesired behaviour (eg different versions of SQLite depending on when
a machine did an install). Additionally the world of Python packaging
is going through another series of changes (distutils2 aka packaging)
so some solution may come out of that.
I'm happy to work with anyone who has a solution to this problem.
|