Automic VaultAutomic Vault

brew

Install openslide with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

C library to read whole-slide images (a.k.a. virtual slides). Version 4.0.1 via Homebrew; verified 2026-06-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install openslide

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install openslide

MacPorts ports tree · graphics/openslide/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libopenslide-dev

Debian stable package indexes · libopenslide-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install openslide

Fedora Rawhide package metadata · openslide · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#openslide

nixpkgs package indexes · pkgs/by-name/op/openslide/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S openslide

Arch Linux sync databases · openslide · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libopenslide-devel

openSUSE Tumbleweed package metadata · libopenslide-devel · source: download.opensuse.org

overview

Package summary

C library to read whole-slide images (a.k.a. virtual slides)

Commands and aliases

  • openslide-quickhash1sum
  • openslide-show-properties
  • openslide-write-png
  • slidetool

history

Project history and usage

OpenSlide is an LGPL C library and small CLI toolkit for reading whole-slide images, also called virtual slides. It abstracts scanner/vendor file formats into a simple tiled image API for digital pathology, computational pathology, and microscopy workflows.

Project history

The OpenSlide GitHub repository was created in August 2010. A 2013 Journal of Pathology Informatics paper presented OpenSlide as a vendor-neutral C library for reading and manipulating digital slides from diverse vendor formats, motivated by the lack of a universal widespread format for whole-slide images.

The project grew into a small ecosystem with official Python and Java bindings. The website describes the C library, bindings, command-line tools, supported vendor formats, and LGPL-2.1 licensing, while the Python documentation explains why ordinary image libraries struggle with slides that can expand to tens of gigabytes.

Adoption history

OpenSlide became a common interoperability layer for open source digital pathology software because it hides vendor-specific storage details behind one API. Its support matrix includes Aperio, DICOM, Hamamatsu, Leica, MIRAX, Philips, Sakura, Ventana, Zeiss, generic tiled TIFF, and other formats documented by the project.

The library is packaged widely across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, and other distributions. That distribution breadth matters for scientific workflows, where Python packages, notebooks, image pipelines, and lab workstations often need the same native C library available underneath language bindings.

How it is used

Applications use OpenSlide to query slide dimensions and metadata, choose pyramid levels, read rectangular regions, generate thumbnails or Deep Zoom tiles, and avoid loading an entire slide into memory. The command-line tools expose common inspection and conversion tasks such as showing slide properties, writing PNG regions, and calculating quickhash values.

The API is intentionally narrow: it opens a slide, exposes properties and level information, and reads image regions. That simplicity is what lets higher-level packages in Python, Java, MATLAB integrations, and web viewers build digital pathology workflows over proprietary vendor data.

Why package nerds care

OpenSlide is package-significant because it is a native library that many language packages quietly depend on. The Homebrew formula is not just an executable install; it supplies the C ABI that Python wheels, scientific applications, and downstream pathology tools expect to find.

It also illustrates why packaging scientific file-format libraries is hard: the value is not a flashy CLI but stable decoding of many large, vendor-specific, tiled image formats across operating systems.

Timeline

  • 2010-08-09: The public GitHub repository was created.
  • 2013-09-27: The OpenSlide design and implementation paper was published in Journal of Pathology Informatics.
  • OpenSlide 3.x: The C API exposed standardized properties such as vendor, quickhash, microns-per-pixel, and objective power across supported formats.
  • OpenSlide 4.x: The project continued publishing C library releases along with Python and Java bindings.

Related projects

  • Related projects include OpenSlide Python, OpenSlide Java, Deep Zoom viewers, digital pathology analysis pipelines, DICOM whole-slide imaging work, Bio-Formats-style microscopy tooling, and downstream packages that bind to the native OpenSlide C library.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 11 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
openslide-quickhash1sumcliglobal executable
openslide-show-propertiescliglobal executable
openslide-write-pngcliglobal executable
slidetoolcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.0.1
manager updated2026-06-08
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/openslide/openslide

install metadata

Package metadata

Package keybrew:openslide
Version4.0.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/openslide
Homepagehttps://openslide.org/
Repositoryhttps://github.com/openslide/openslide
Upstream docshttps://openslide.org/docs
LicenseLGPL-2.1-only
Source archivehttps://github.com/openslide/openslide/releases/download/v4.0.1/openslide-4.0.1.tar.xz
Last updated2026-06-08T11:02:48Z
Pulseupdated
Dependenciescairo, gettext, glib, jpeg-turbo, libdicom, libpng, libtiff, libxml2, openjpeg, sqlite, zstd
Build dependenciesmeson, ninja, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopenslide
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libopenslide-dev 3.4.1+dfsg-7+b2

Development files for the OpenSlide library

https://openslide.org

sudo apt install libopenslide-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: openslide
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopenslide-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopenslide0 3.4.1+dfsg-7+b2

library for reading whole slide image files

https://openslide.org

sudo apt install libopenslide0
  • Section: libs
  • Architecture: amd64
  • Source Package: openslide
  • 11 dependencies
  • normalized package name match
  • Matched by: Openslide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopenslide0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

openslide-tools 3.4.1+dfsg-7+b2

Manipulation and conversion tools for OpenSlide

https://openslide.org

sudo apt install openslide-tools
  • Section: graphics
  • Architecture: amd64
  • Source Package: openslide
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Openslide
Debian stable package indexes · deb.debian.org · Debian stable package indexes: openslide-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

openslide

nix profile install nixpkgs#openslide
  • normalized package name match
  • Matched by: Openslide
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/openslide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libopenslide-dev 3.4.1+dfsg-7build2

Development files for the OpenSlide library

https://openslide.org

sudo apt install libopenslide-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: openslide
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libopenslide-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libopenslide0 3.4.1+dfsg-7build2

library for reading whole slide image files

https://openslide.org

sudo apt install libopenslide0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: openslide
  • 11 dependencies
  • normalized package name match
  • Matched by: Openslide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libopenslide0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openslide-tools 3.4.1+dfsg-7build2

Manipulation and conversion tools for OpenSlide

https://openslide.org

sudo apt install openslide-tools
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: openslide
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Openslide
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openslide-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

openslide 4.0.1-1.fc45

C library for reading virtual slides

https://openslide.org/

sudo dnf install openslide
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: openslide
  • 17 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Openslide
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: openslide from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

openslide-devel 4.0.1-1.fc45

Development files for openslide

https://openslide.org/

sudo dnf install openslide-devel
  • License: LGPL-2.1-only AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: openslide
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Openslide
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: openslide-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

openslide-tools 4.0.1-1.fc45

Command line tools for openslide

https://openslide.org/

sudo dnf install openslide-tools
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: openslide
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: openslide-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

openslide 4.0.1-1

C library for reading virtual slide images

https://openslide.org/

sudo pacman -S openslide
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • 13 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: openslide from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libopenslide-devel 3.4.1-2.31

Development files for openslide

http://openslide.org/

sudo zypper install libopenslide-devel
  • License: LGPL-2.1-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: openslide
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Openslide
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libopenslide-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libopenslide0 3.4.1-2.31

C library for reading virtual slides

http://openslide.org/

sudo zypper install libopenslide0
  • License: LGPL-2.1-only
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: openslide
  • 15 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Openslide
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libopenslide0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

openslide-doc 3.4.1-2.31

Documentation for openslide

http://openslide.org/

sudo zypper install openslide-doc
  • License: LGPL-2.1-only
  • Category: Documentation/Other
  • Architecture: noarch
  • Source Package: openslide
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: openslide-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

openslide-tools 3.4.1-2.31

Command line tools for openslide

http://openslide.org/

sudo zypper install openslide-tools
  • License: LGPL-2.1-only
  • Category: Productivity/Graphics/Other
  • Architecture: x86_64
  • Source Package: openslide
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Openslide
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: openslide-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

openslide

sudo port install openslide
  • normalized package name match
  • Matched by: Openslide
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/openslide/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment