html-tidy
html-tidy copied to clipboard
install fails
I'm using an Ubuntu Docker container built with a Dockerfile starting with "FROM ubuntu:trusty".
Running "cpan install HTML::Tidy". I'm told that I need to install tidyp. However, "apt-cache search tidy" returns the below list. There is no 'tidyp'. I did, however, try installing both the 'tidy' an d 'libtidy-dev' packages and I still get the same error message about 'tidyp' not being there when I try to install HTML::Tidy using cpan.
root@bead8c401674:/home/user# apt-cache search tidy libtidy-0.99-0 - HTML syntax checker and reformatter - library libtidy-dev - HTML syntax checker and reformatter - development perltidy - Perl script indenter and reformatter php5-tidy - tidy module for php5 python-tidylib - Python wrapper for HTML Tidy (tidylib) python-utidylib - Python wrapper for TidyLib tidy - HTML syntax checker and reformatter tidy-doc - HTML syntax checker and reformatter - documentation csstidy - CSS parser and optimiser libcode-tidyall-perl - your all-in-one code tidier and validator libexporter-tidy-perl - another way of exporting symbols libhtml-tidy-perl - module for (X)HTML validation libjtidy-java - JTidy libjtidy-java-doc - Documentation for JTidy libpadre-plugin-perltidy-perl - Perl::Tidy Plugin for Padre libxml-tidy-perl - module for tidy indenting of XML documents php-horde-text-filter-csstidy - Horde Text Filter API python-elementtidy - An HTML tree builder for ElementTree based on Tidy tidy-proxy - small http proxy which tidies html
You need to install libhtml-tidy-perl
or install tidyp
from source.