Skip to content
Snippets Groups Projects
README.md 8.78 KiB

SLUB SIP Builder

Description

A CLI tool to create valid BagIt based submission information packages (SIPs) for ingest into the SLUBArchiv, the digital long-term preservation archive of the Saxon State and University Library Dresden (SLUB).

As a user, you have one of three options to create your SIP: copy, move or replace.
NOTE: The use of option copy is strongly recommended. The remaining options modify your source directory. Please use these with caution!

Supported Operating Systems

  • Debian 10
  • Windows 10

Requirements

  • Perl version 5.28 or higher
  • cpan or cpanm
  • several CPAN modules such as Archive::BagIt (0.065 or higher)
    • sudo cpan -D Archive::BagIt to check module perl version

Three ways to install a module

  • with cpan cpan Archive::BagIt
  • with cpanm cpanm Archive::BagIt (NOTE: cpan App::cpanminus must be installed. If errors like IO:AIO are present, use cpanm -i -f Archive::BagIt).
  • from source (Linux)
    1. Download for example Archive-BagIt-0.072.tar.gz from metacpan Archive::BagIt
    2. Extract it with tar zxf Archive-BagIt-0.072.tar.gz and go to project dir with cd in Archive-BagIt-0.072
    3. Run perl Makefile.pl
    4. (d)gmake
    5. (d)gmake test
    6. (d)gmake install
    7. with cpanm Archive::BagIt test for the version. Result will be something like Archive::BagIt is up to date (0.072).