Skip to content
Snippets Groups Projects
Commit b81412ee authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- removed old & added new Debian 10 installation instructions

parent 84236463
No related branches found
No related tags found
No related merge requests found
...@@ -10,32 +10,19 @@ NOTE: The use of option `copy` is strongly recommended. The remaining options mo ...@@ -10,32 +10,19 @@ NOTE: The use of option `copy` is strongly recommended. The remaining options mo
* Debian 10 * Debian 10
* Windows 10 * Windows 10
## Requirements ## Installation (Debian 10)
* Perl version 5.28 or higher 1. Update system packages (optional but recommended):
* cpan or cpanm `sudo apt update && sudo apt upgrade -y`
* several CPAN modules such as Archive::BagIt (0.065 or higher) 2. Install required tools and libraries:
* `sudo cpan -D Archive::BagIt` to check module perl version `sudo apt install -y build-essential git perl libperl-dev liblwp-protocol-https-perl libfile-copy-recursive-perl libmarc-record-perl libxml-libxml-perl libxml-xpath-perl libdatetime-format-iso8601-perl cpanminus`
`sudo cpanm Archive::BagIt`
## Three ways to install a module 3. Download latest SLUB SIP Builder:
* with cpan `cpan Archive::BagIt` `git clone https://git.slub-dresden.de/digital-preservation/SLUB_SIP_Builder.git`
* 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`). → Hint: For simple updates at a later date, just use `git pull` in directory `SLUB_SIP_Builder` to get the latest version
* from source (Linux) 4. Run SLUB SIP Builder:
1. Download for example Archive-BagIt-0.072.tar.gz from [metacpan Archive::BagIt](https://metacpan.org/pod/Archive::BagIt) `cd SLUB_SIP_Builder`
2. Extract it with `tar zxf Archive-BagIt-0.072.tar.gz` and go to project dir with `cd in Archive-BagIt-0.072` → Try an example command from below
3. Run `perl Makefile.pl` `perl bin/slubsipbuilderbagit.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)`.
## Archive::BagIt module
* Sometimes it is offered to update module to a new version
use `cpan Archive::BagIt`. If version not changed to a new one, try `cpanm Archive::BagIt` or `perl -MCPAN -e 'install Archive::BagIt'`
## Perl module deinstallation
Using cpanm is recommended for an assisted and clean uninstall.
* install cpanm with `cpan App::cpanminus`.
* remove a Perl module with `cpanm --uninstall MODULE_NAME`
## Installation (Win 10) ## Installation (Win 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. 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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment