Skip to content

Installation

Prerequisites

  • exiftool — Required for EXIF metadata restoration. The tool degrades gracefully if absent, but EXIF data will not be processed.
# macOS
brew install exiftool

# Ubuntu/Debian
sudo apt install libimage-exiftool-perl

# Fedora/RHEL
sudo dnf install perl-Image-ExifTool

# Arch Linux
sudo pacman -S perl-image-exiftool

brew tap mmornati/gphoto2proton https://github.com/mmornati/gphoto2proton
brew install gphoto2proton exiftool

gphoto2proton version

To update later:

brew update && brew upgrade gphoto2proton

Option 2: Pre-Built Binary

  1. Go to the Releases page
  2. Download the archive for your platform:
  3. gphoto2proton_<version>_darwin_amd64.tar.gz — macOS (Intel)
  4. gphoto2proton_<version>_darwin_arm64.tar.gz — macOS (Apple Silicon)
  5. gphoto2proton_<version>_linux_amd64.tar.gz — Linux (x86_64)
  6. gphoto2proton_<version>_linux_arm64.tar.gz — Linux (ARM64)
  7. Extract and install:
tar xzf gphoto2proton_*.tar.gz
sudo mv gphoto2proton /usr/local/bin/
gphoto2proton version

Option 3: Build from Source

Requires Go 1.26+.

git clone https://github.com/mmornati/gphoto2proton.git
cd gphoto2proton
go build -o gphoto2proton ./cmd/gphoto2proton
sudo mv gphoto2proton /usr/local/bin/
gphoto2proton version

Verify Installation

gphoto2proton version

Expected output:

0.1.0