I downloaded the gzipped, tarred module HTML-Tree-4.1.tar.gz from CPAN

STEP 2: Unpack the Perl module

I extracted the gzipped, tarred Perl module as follows and a directory HTML-Tree-4.1 was created :

tar xvzf HTML-Tree-4.1.tar.gz

STEP 3: Build the Perl Module

The HTML-Tree-4.1 directory (as will all Perl modules) contains a README which provided the usual installation instructions of ./Build; ./Build test and ./Build install. I did not have the Module::Build module and its dependencies and was put off by having to get all that stuff, but I had root privileges. So, I did the following as the root user, to install the HTML::Tree Perl Module: