Actualizar 'README.md'

This commit is contained in:
borekon 2023-04-20 09:09:09 +00:00
parent c83859abf5
commit 9662b5a69c

View File

@ -10,20 +10,22 @@ If you want to be able to use the PDF or Excel output formats, you must install
## Instructions for pre-requisite installation:
In Ubuntu 22.04 it should work out of the box; just download the [perl file](https://gitea.avc.cx/borekon/lynis-report-converter/raw/branch/master/lynis-report-converter.pl), and run it.
### For Debian/Ubuntu
```
# (as root)
apt update # versions prior to Ubuntu 16.04 LTS should use 'apt-get'
apt update
apt -y install htmldoc libxml-writer-perl libarchive-zip-perl libjson-perl
pushd /tmp/
wget http://search.cpan.org/CPAN/authors/id/M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz
wget https://gitea.avc.cx/borekon/lynis-report-converter/raw/branch/master/HTML-HTMLDoc-0.10.tar.gz
tar xvf HTML-HTMLDoc-0.10.tar.gz
pushd HTML-HTMLDoc-0.10
perl Makefile.PL
make && make install
popd
wget http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Excel-Writer-XLSX-0.95.tar.gz
wget https://gitea.avc.cx/borekon/lynis-report-converter/raw/branch/master/Excel-Writer-XLSX-0.95.tar.gz
tar xvf Excel-Writer-XLSX-0.95.tar.gz
pushd Excel-Writer-XLSX-0.95
perl Makefile.PL
@ -36,7 +38,7 @@ popd
# (as root)
yum -y install htmldoc perl-Excel-Writer-XLSX perl-Module-Load-Conditional perl-JSON
pushd /tmp/
wget http://search.cpan.org/CPAN/authors/id/M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz
wget https://gitea.avc.cx/borekon/lynis-report-converter/raw/branch/master/HTML-HTMLDoc-0.10.tar.gz
tar xvf HTML-HTMLDoc-0.10.tar.gz
pushd HTML-HTMLDoc-0.10
perl Makefile.PL
@ -51,7 +53,7 @@ popd
emerge --ask --verbose --one app-text/htmldoc dev-perl/HTML-HTMLDoc dev-perl/XML-Writer
pushd /tmp/
wget http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Excel-Writer-XLSX-0.95.tar.gz
wget https://gitea.avc.cx/borekon/lynis-report-converter/raw/branch/master/Excel-Writer-XLSX-0.95.tar.gz
tar xvf Excel-Writer-XLSX-0.95.tar.gz
pushd Excel-Writer-XLSX-0.95
perl Makefile.PL