je4.github.io

gocfl / ocfl / extensions

View My GitHub Profile

Deutsch

Installation of gocfl

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.

1. Prerequisites

2. Installation of Helper Programs

The following programs are required for advanced features (metadata extraction, thumbnail generation, PDF migration).

Homebrew (macOS / Linux)

Homebrew is a widely used package manager for macOS and Linux.

Winget (Windows)

The Windows Package Manager (winget) is pre-installed in modern Windows versions (Windows 10 from 1809, Windows 11).

Go

Required for installing and running gocfl.

ImageMagick

Used for image analysis and conversion.

FFmpeg

Used for extracting audio and video metadata and for creating audio spectrograms.

Ghostscript

Required for working with PDF files (e.g., migration to PDF/A).

Java (JRE/JDK)

Required to run the Tika Server. A version of Java 11 or newer is recommended (e.g., Eclipse Temurin).

3. Installation Command for gocfl

Run the following command in your terminal to install gocfl:

go install github.com/ocfl-archive/gocfl/v2/gocfl@v2.0.6-beta45

4. Tika Server

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