Skip to content

openslide_libvips_installation

Takumi Ando edited this page Mar 23, 2021 · 3 revisions

openslide

  • openslide-python needs openslide.
  • If the instruction below does not work, please check the download page.

Windows

  1. Download binary

  2. Unzip and place the binaries in a proper directory

MacOS

  1. Install Homebrew or MacPorts

  2. Run the command

    brew install openslide
    # or
    port install openslide
    

Linux

  1. Run the installation command for your distribution.

    # Example for Ubuntu16.04 or higher
    sudo apt install openslide-tools
    

libvips

Windows

  1. Download the binary with version >= v8.10.1 from releases

  2. Untar and place the binaries in a proper directory.

MacOS

  1. Install Homebrew

  2. Run the command

    brew install vips
    

Linux

  1. Install the [packages] with your package manager.

    # Example for Ubuntu
    sudo apt-get install build-essential pkg-config libglib2.0-dev libexpat1-dev libtiff5-dev libjpeg-turbo8-dev libgsf-1-dev libopenslide-dev libpng-dev
    
  2. Install libvips

    # example for version v8.10.1
    version=v8.10.1
    wget https://github.com/libvips/libvips/releases/download/${version}/vips-8.10.1.tar.gz
    tar xvfz vips-${version}.tar.gz
    cd vips-${version} && ./configure && make -j && sudo make install
    
Clone this wiki locally