I tried giving the path for a bioinformatics application DistMap using perl. This is what I got.
[cloudera@localhost ~]$ perl DistMap_v1.0/distmap --mapper-path /home/cloudera/bwa-0.7.5a /bwa
Can't locate Archive/Tar.pm in @INC (@INC contains: /home/cloudera/DistMap_v1.0/bin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/cloudera/DistMap_v1.0/bin/GenomeIndex.pm line 7.
BEGIN failed--compilation aborted at /home/cloudera/DistMap_v1.0/bin/GenomeIndex.pm line 7.
Compilation failed in require at DistMap_v1.0/distmap line 10.
BEGIN failed--compilation aborted at DistMap_v1.0/distmap line 10.
On googling it I found I am supposed to install a perl package Archive::Tar. My question is there any particular location where I have to extract this?
Thanks, Ashwin
So this is what I did to fix my problem. I extracted the latest Archive-Tar as mentioned in one of the comments above. Then, I executed these commands.
perl Makefile.Pl
make
make install
I somehow managed to execute my application after doing these steps. It would be great if anybody can explain what these steps mean as I am very much new to Perl and related topics.