I need to install few perl modules on web hosting server ( OS: Cent OS 6.4, perl v5.10.1) using ssh.
On server :
cpan -i Template::Toolkit
Is giving error:
bash: cpan: command not found
command perl -v
is showing that perl is installed, then how is that possible cpan isn't.
Or do i need to add some path or change env setting.
env variable PATH value is
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
You have to install it with yum,
yum install perl-CPAN
but you don't need it as Template::Toolkit
is already in yum repository,
yum install perl-Template-Toolkit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With