I've tried adding a module with APT:
# apt-get install libhtml-wikiconverter-markdown-perl
and it seems to have put things in the right place
# locate HTML | grep WikiConverter
/usr/share/man/man3/HTML::WikiConverter::Markdown.3pm.gz
/usr/share/perl5/HTML/WikiConverter
/usr/share/perl5/HTML/WikiConverter/Markdown.pm
/var/cache/man/cat3/HTML::WikiConverter::Markdown.3pm.gz
Yet when I try the following:
perl -e 'use HTML::WikiConverter;'I get this error:
Can't locate HTML/WikiConverter.pm in @INC (you may need to install the HTML::WikiConverter module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at -e line 1.
The manual says:
SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'Markdown' ); print $wc->html2wiki( $html );
In reply to Can't locate module added via APT by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |