| 1 |
--- |
| 2 |
title: "Download" |
| 3 |
linkTitle: "Download" |
| 4 |
weight: 1 |
| 5 |
--- |
| 6 |
|
| 7 |
<!-- |
| 8 |
|
| 9 |
Licensed to the Apache Software Foundation (ASF) under one |
| 10 |
or more contributor license agreements. See the NOTICE file |
| 11 |
distributed with this work for additional information |
| 12 |
regarding copyright ownership. The ASF licenses this file |
| 13 |
to you under the Apache License, Version 2.0 (the |
| 14 |
"License"); you may not use this file except in compliance |
| 15 |
with the License. You may obtain a copy of the License at |
| 16 |
|
| 17 |
https://www.apache.org/licenses/LICENSE-2.0 |
| 18 |
|
| 19 |
Unless required by applicable law or agreed to in writing, |
| 20 |
software distributed under the License is distributed on an |
| 21 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 22 |
KIND, either express or implied. See the License for the |
| 23 |
specific language governing permissions and limitations |
| 24 |
under the License. |
| 25 |
|
| 26 |
--> |
| 27 |
|
| 28 |
## Download |
| 29 |
Releases may be downloaded from Apache mirrors: [Download](https://www.apache.org/dyn/closer.cgi/avro/) |
| 30 |
|
| 31 |
The latest release is: Avro {{< avro_version >}} (3.4M, source, [pgp](https://downloads.apache.org/avro/avro-{{< avro_version >}}/avro-src-{{< avro_version >}}.tar.gz.asc), [sha512](https://downloads.apache.org/avro/avro-{{< avro_version >}}/avro-src-{{< avro_version >}}.tar.gz.sha512)) |
| 32 |
|
| 33 |
* C#: https://www.nuget.org/packages/Apache.Avro/{{< avro_version >}} |
| 34 |
* Java: from Maven Central, |
| 35 |
* Javascript: https://www.npmjs.com/package/avro-js/v/{{< avro_version >}} |
| 36 |
* Perl: https://metacpan.org/release/Avro |
| 37 |
* Python 3: https://pypi.org/project/avro/{{< avro_version >}} |
| 38 |
* Ruby: https://rubygems.org/gems/avro/versions/{{< avro_version >}} |
| 39 |
|
| 40 |
|
| 41 |
## Release Notes |
| 42 |
Release notes for Avro releases are available in [Jira](https://issues.apache.org/jira/browse/AVRO?report=com.atlassian.jira.plugin.system.project:changelog-panel#selectedTab=com.atlassian.jira.plugin.system.project%3Achangelog-panel) |
| 43 |
|
| 44 |
##Verifying a release |
| 45 |
It is essential that you verify the integrity of the downloaded files using the PGP signatures or SHA512 checksums. Please read [How to verify downloaded](https://www.apache.org/info/verification.html) files for more information on why you should verify our releases. |
| 46 |
|
| 47 |
The PGP signatures can be verified using PGP or GPG. First download the [KEYS](https://downloads.apache.org/avro/KEYS) file as well as the .asc signature files for the relevant release packages. Make sure you get these files from the main distribution directory, rather than from a mirror. Then verify the signatures using: |
| 48 |
|
| 49 |
```shell |
| 50 |
% gpg --import KEYS |
| 51 |
% gpg --verify downloaded_file.asc downloaded_file |
| 52 |
``` |
| 53 |
|
| 54 |
or |
| 55 |
|
| 56 |
```shell |
| 57 |
% pgpk -a KEYS |
| 58 |
% pgpv downloaded_file.asc |
| 59 |
``` |
| 60 |
|
| 61 |
or |
| 62 |
|
| 63 |
```shell |
| 64 |
% pgp -ka KEYS |
| 65 |
% pgp downloaded_file.asc |
| 66 |
``` |
| 67 |
Alternatively, you can verify the hash on the file. |
| 68 |
|
| 69 |
Hashes can be calculated using GPG: |
| 70 |
```shell |
| 71 |
% gpg --print-md SHA256 downloaded_file |
| 72 |
``` |
| 73 |
The output should be compared with the contents of the SHA256 file. Similarly for other hashes (SHA512, SHA1, MD5 etc) which may be provided. |
| 74 |
|
| 75 |
Windows 7 and later systems should all now have certUtil: |
| 76 |
```shell |
| 77 |
% certUtil -hashfile pathToFileToCheck |
| 78 |
``` |
| 79 |
HashAlgorithm choices: _MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512_ |
| 80 |
|
| 81 |
Unix-like systems (and macOS) will have a utility called _md5_, _md5sum_ or _shasum_. |