Link to home
Start Free TrialLog in
Avatar of itmti
itmti

asked on

Installing Snort on CentOS - Can't locate Archive/Tar.pm in @INC

Trying to install Snort on CentOS getting this:

[root@CentOS ~]# /usr/local/bin/pulledpork.pl -V
Can't locate Archive/Tar.pm in @INC (@INC contains: /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 /usr/local/bin/pulledpork.pl line 34.
BEGIN failed--compilation aborted at /usr/local/bin/pulledpork.pl line 34.


So i have tried installing tar:


[root@CentOS ~]# yum install tar
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.hostingxtreme.com
 * extras: lug.mtu.edu
 * updates: centos.mirrors.tds.net
Package 2:tar-1.26-29.el7.x86_64 already installed and latest version
Nothing to do


Please advise,
Avatar of Shiju Jacob
Shiju Jacob
Flag of India image

Try this command

cpan install -y Archive::Tar
Avatar of itmti
itmti

ASKER

[root@CentOS ~]# cpan install -y Archive::Tar
bash: cpan: command not found...
[root@CentOS ~]#
try install installing cpan

yum install perl-CPAN

and then do the above command
ASKER CERTIFIED SOLUTION
Avatar of Shiju Jacob
Shiju Jacob
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of itmti

ASKER

Thank you!