gocfl / ocfl / extensions
Before we begin the workshop, gocfl must be installed on your system. Since gocfl is written in Go, it can be installed directly via the Go package manager.
The following programs are required for advanced features (metadata extraction, thumbnail generation, PDF migration).
Homebrew is a widely used package manager for macOS and Linux.
brew.sh homepage under “Install Homebrew.”The Windows Package Manager (winget) is pre-installed in modern Windows versions (Windows 10 from 1809, Windows 11).
winget is missing, it can be obtained via the Microsoft Store (search for “App Installer”) or directly from GitHub.Required for installing and running gocfl.
winget install GoLang.Go (or Download)brew install go (or Download)apt often provides outdated versions, installation via Snap or PPA is recommended:
sudo snap install go --classicsudo add-apt-repository ppa:longsleep/golang-backports && sudo apt update && sudo apt install golang-goUsed for image analysis and conversion.
winget install ImageMagick.ImageMagick or Downloadbrew install imagemagicksudo apt install imagemagickUsed for extracting audio and video metadata and for creating audio spectrograms.
winget install ffmpeg or Downloadbrew install ffmpegsudo apt install ffmpegRequired for working with PDF files (e.g., migration to PDF/A).
winget install ArtifexSoftware.Ghostscript or Downloadbrew install ghostscriptsudo apt install ghostscriptRequired to run the Tika Server. A version of Java 11 or newer is recommended (e.g., Eclipse Temurin).
winget install EclipseAdoptium.Temurin.17.JDKbrew install --cask temurinsudo apt install default-jreRun the following command in your terminal to install gocfl:
go install github.com/ocfl-archive/gocfl/v2/gocfl@v2.0.6-beta45
The Tika server can be started with the following command:
java -jar /home/ocfl/tika-server-standard-3.3.0.jar
| Next to gocfl Usage | Back to Table of Contents |