Installation

Requirements

  • Rust 1.70 or newer (build only — not needed at runtime)
  • A running OpenRepo instance
  • dpkg-deb (package: dpkg) — only required for direct_url_latest with .deb packages
  • rpm — only required for direct_url_latest with .rpm packages

From a Release Package

Download the .deb or .rpm for your platform from the latest release.

Debian / Ubuntu

sudo dpkg -i openrepo-sync_0.1.0_amd64.deb

RHEL / Fedora

sudo rpm -i openrepo-sync-0.1.0-1.x86_64.rpm

From Source

git clone https://github.com//openrepo-sync
cd openrepo-sync
cargo build --release
install -m755 target/release/openrepo-sync /usr/local/bin/

Install the man page

install -Dm644 man/man1/openrepo-sync.1 /usr/local/share/man/man1/openrepo-sync.1
mandb
man openrepo-sync

Docker

docker pull ghcr.io//openrepo-sync:latest

See Docker for full usage.