Downloads of v


Last Update:

06 Feb 2021

Package Maintainer(s):

Software Author(s):

  • DjVuLibre Team.


djvu-libre DjVu web-centric distribute distributing format software document image


  • 1
  • 2
  • 3 | Updated: 06 Feb 2021



Downloads of v



Software Author(s):

  • DjVuLibre Team.

  • 1
  • 2
  • 3

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


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.


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


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


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


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade djvu-libre -y --source="'STEP 3 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 djvu-libre -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure djvu-libre installed
    name: djvu-libre
    state: present
    source: STEP 3 URL

See docs at

chocolatey_package 'djvu-libre' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: djvu-libre,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller djvu-libre
   Name     = 'djvu-libre'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'djvu-libre':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install djvu-libre version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator TheCakeIsNaOH on 26 Feb 2021.


DjVu is a web-centric format and software platform for distributing documents and images. DjVu can advantageously replace PDF, PS, TIFF, JPEG, and GIF for distributing scanned documents, digital documents, or high-resolution pictures. DjVu content downloads faster, displays and renders faster, looks nicer on a screen, and consume less client resources than competing formats. DjVu images display instantly and can be smoothly zoomed and panned with no lengthy re-rendering. DjVu is used by hundreds of academic, commercial, governmental, and non-commercial web sites around the world.
DjVuLibre is an open source (GPL'ed) implementation of DjVu, including viewers, browser plugins, decoders, simple encoders, and utilities.


  • a standalone viewer for X11 that is built with the Qt GUI toolkit, and a small program that makes the viewer behave like a plug-in for all major Web browsers on Unix (Netscape-4.x, Netscape-6.x, Mozilla, Galeon, Konqueror, and Opera).
  • a bunch of command line tools and scripts to create, manipulate and convert DjVu images and documents.
  • a C++ library around which all of the above is built. This library can be used to build new viewers, new utilities, new compression algorithms, and even new codecs. It could (should) also be used to enable popular open source packages to support DjVu (Gimp, ImageMagick,....).

Here is a non exhaustive list of the commands included with DjVuLibre:

  • c44: a wavelet-based continuous-tone image encoder (à la JPEG-2000).
  • cjb2: single page encoder for bitonal images (black and white scans).
  • cpaldjvu: encoder for palettized images (a la GIF, but better).
  • bzz: a general-purpose data compressor (a la bzip2).
  • djvused: a powerful command interpreter for manipulating DjVu documents.
  • ddjvu: converts DjVu documents to PBM/PGM/PPM images.
  • djvudump: displays the structure of a DjVu file.
  • djvuextract: extracts chunks from a DjVu file.
  • djvumake: assemble chunks into a DjVu file
  • djvutxt: extract the hidden





Disclaimer: The following information is provided for information only. The maintainers of DjVuLibre are not employed by Lizardtech and cannot speak for Lizardtech.
The DjVu Reference Library 3.5 was released by Lizardtech under the GNU General Public License version 2. DjVuLibre-3.5 was developed by Leon Bottou and others as a "Derived Work" of the DjVu Reference Library 3.5. As such, it is also subject to the GNU General Public License version 2.

Several patents apply to two very specific aspects of DjVu and DjVuLibre. The patents cover a particular aspect of the ZP-coder (the arithmetic coder used in DjVu and implemented in libdjvu/ZPCodec.cpp) and the background masking technique used in the IW44 wavelet encoder (implemented in libdjvu/IW44EncodeCodec.cpp).

Most patents are owned by AT&T. LizardTech has very broad rights to them and grants free and permanent licenses to them for the purpose of building GPL software with the DjVu Reference Library. The grant is materialized by two paragraphs in the headers of the DjVu Reference Library source files. Lizardtech also published an official statement about the open source licensing of its DjVu code.

The first version of these two paragraphs, unfortunately, could be interpreted as only granting a patent license for using the unmodified DjVu Reference Library. On July 19th, 2002, Lizardtech authorized us to replace the patent license paragraphs by a new language ( DjVu (21K), Gzipped PS (148K).) The new language reads as follows:

    The computer code originally released by LizardTech under this
    license and unmodified by other parties is deemed "the LIZARDTECH
    ORIGINAL CODE."  Subject to any third party intellectual property
    claims, LizardTech grants recipient a worldwide, royalty-free, 
    non-exclusive license to make, use, sell, or otherwise dispose of 
    the LIZARDTECH ORIGINAL CODE or of programs derived from the 
    LIZARDTECH ORIGINAL CODE in compliance with the terms of the GNU 
    General Public License.   This grant only confers the right to 
    infringe patent claims underlying the LIZARDTECH ORIGINAL CODE to 
    the extent such infringement is reasonably necessary to enable 
    recipient to make, have made, practice, sell, or otherwise dispose 
    of the LIZARDTECH ORIGINAL CODE (or portions thereof) and not to 
    any greater extent that may be necessary to utilize further 
    modifications or combinations.
We believe that this text unambiguously says that works derived from the DjVu Reference Library under the GPL are authorized to infringe the DjVu patents to the same extent as the DjVu Reference Library.

This is very similar to the situation of any GPLed program. For instance, everyone is allowed to distribute a modified version of emacs under the GPL, provided that this modified version does not contain patent infringements. In the case of DjVu, everyone is allowed to distribute a modified version of the DjVu Reference Library under the GPL, provided that this modified version does not contain additional patent infringements.

We warmly thank Lizardtech for making this clear.
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. Download:
2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'
   checksum type: sha256
   checksum32: 16C0A63926D0380280F35C8D9570EFE01032C03C262BA61AA72A341B8CB58469
   checksum64: 16C0A63926D0380280F35C8D9570EFE01032C03C262BA61AA72A341B8CB58469
File 'LICENSE.txt' is obtained from:
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName = $env:ChocolateyPackageName
  file        = "$toolsDir\DjVuLibre-3.5.28_DjView-4.12_Setup.exe"
  silentArgs  = '/S'

Install-ChocolateyInstallPackage @packageArgs

$path = Get-AppInstallLocation DjVuLibre
if ($path) {
  Install-ChocolateyPath -PathToInstall "$path"
$ErrorActionPreference = 'Stop';

$pathToRemove = Get-AppInstallLocation DjVuLibre

foreach ($registryPath in 'hklm:\system\currentcontrolset\control\session manager\environment', 'hkcu:\environment') {
  $p = (Get-Itemproperty -path "$registryPath" -Name Path).Path
  if ("$p" | Select-String -SimpleMatch "$pathToRemove"){
    $newPath = ("$p" -split ';' | ForEach-Object { if (-not ($_ -eq "$pathToRemove")) { $_ } } ) -join ';'
    Set-ItemProperty -path "$registryPath" -Name Path -Value $NewPath
md5: 4BB557CA723BD8AFD7F2BF12836B64C8 | sha1: ACD91E73505F1D00835454AB6314A981CD849541 | sha256: 16C0A63926D0380280F35C8D9570EFE01032C03C262BA61AA72A341B8CB58469 | sha512: 79F85115DAC02573A4D8798422A2BD7871C283DCF685AA89B73074BD57694B95525FF351FDAF78D24707B7DBC9EA399ADDC62DA5714BFB269BB673AB9045442F

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.

Version Downloads Last Updated Status
DjVuLibre 1403 Monday, September 9, 2019 Approved
DjVuLibre 82 Saturday, August 24, 2019 Approved
Discussion for the DjVuLibre Package

Ground Rules:

  • This discussion is only about DjVuLibre and the DjVuLibre 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 DjVuLibre, 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