Can't locate Archive/Tar.pm in @INC


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Spam
Top Level » System Level » Perl

Can't locate Archive/Tar.pm in @INCLast Modified: Sep 12, 2010, 10:38 pm
If you get the error:

Can't locate Archive/Tar.pm in @INC

then run:

wget http://www.cpan.org/modules/by-module/Archive/Archive-Tar-1.48.tar.gz
tar xvzf Archive-Tar-1.48.tar.gz
cd Archive-Tar-1.48
perl Makefile.PL
make
make install

If you have cpan installed, an even easier way is to simply type:

cpan -i Archive::Tar

and it will install any dependencies for this, if required.  If it asks:

Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

always answer yes (either type it and press enter, or just press enter) so that the required modules are installed.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST