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_pe rl /usr/share/perl5/vendor_pe rl /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,
[root@CentOS ~]# /usr/local/bin/pulledpork.
Can't locate Archive/Tar.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_pe
BEGIN failed--compilation aborted at /usr/local/bin/pulledpork.
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,
ASKER
[root@CentOS ~]# cpan install -y Archive::Tar
bash: cpan: command not found...
[root@CentOS ~]#
bash: cpan: command not found...
[root@CentOS ~]#
try install installing cpan
yum install perl-CPAN
and then do the above command
yum install perl-CPAN
and then do the above command
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
cpan install -y Archive::Tar