3. Download the latest [Release](https://git.slub-dresden.de/digital-preservation/SLUB_SIP_Builder/-/releases):
→ ZIP file like `SLUB_SIP_Builder.version-XYZ-master.zip`
4. Extract the ZIP archive and change into the project directory:
`unzip SLUB_SIP_Builder.version-XYZ-master.zip`
`cd SLUB_SIP_Builder`
5. Run SLUB SIP Builder:
→ Try an example command from below
`perl bin/slubsipbuilderbagit.pl`...
###Windows 10
1. Check UTF-8 flag at [ENG] `Systemadministration/TimeAndRegion/Region/Administration/AreaPattern` or [DE] `Systemsteuerung/Zeit und Region/Region/Verwaltung/Gebietsschema ändern/`, for using such characters as `äöüÄÖÜß`. Computer will be restarted!
→ Hint: For simple updates at a later date, just use `git pull` in directory `SLUB_SIP_Builder` to get the latest version
4. Run SLUB SIP Builder:
`cd SLUB_SIP_Builder`
→ Hint: For simple updates at a later date, just use `git pull` in directory `SLUB_SIP_Builder` to get the latest version.
4. Checkout the desired branch/tag/commit:
→ for example most current master
`git checkout master`
4. Run unit tests (optional):
`perl t/slubsipbuilderbagit.t`
5. Run SLUB SIP Builder:
→ Try an example command from below
`perl bin/slubsipbuilderbagit.pl`...
## Installation (Win 10)
### Windows 10
1. Check UTF-8 flag at [ENG] `Systemadministration/TimeAndRegion/Region/Administration/AreaPattern` or [DE] `Systemsteuerung/Zeit und Region/Region/Verwaltung/Gebietsschema ändern/`, for using such characters as `äöüÄÖÜß`. Computer will be restarted!
1. Unpack archive `tar zxf Archive-BagIt-0.072.tar.gz` for example in the same dir where strawberryperl extracted
2. Change dir `cd Archive-BagIt-0.072`
1. Unpack archive `tar zxf Archive-BagIt-0.074.tar.gz` for example in the same dir where strawberryperl extracted
2. Change dir `cd Archive-BagIt-0.074`
3. Generate Makefile `perl Makefile.pl`
4. Run `gmake`, than `gmake install`
5. Check if module installed `cpanm Archive::BagIt`. At this point Archive::BagIt module installed.
6. Download [SLUB_SIP_Builder](https://git.slub-dresden.de/digital-preservation/SLUB_SIP_Builder) as zip
7. Extract files from archive
8. Change console path to extracted SLUB_SIP_Builder
9. Run tests `perl t/slubsipbuilderbagit.t` or `prove.t` and errors will come like 'Can't locate MARC/Record.pm in @INC (you may need to install the `MARC::Record` module) ...'
10. Copy from error module name and install it, repeat step 9 and 10 till test process starts.
*`cpanm MARC::Record`
*`cpanm XML::XPath`
*`cpanm DateTime::Format::ISO8601`
*`cpanm Win32::Console::ANSI`
11. All tests must process successfully and you are ready to go with Bag creation.
5. Check if module installed `cpanm Archive::BagIt`. At this point Archive::BagIt module installed.