6 if sudo apt-get install libnet-openssh-perl libio-pty-perl;then
11 if sudo yum install perl-Net-OpenSSH perl-IO-Tty;then
12 echo "yum-get is installed."
13 sudo yum install perl-Net-OpenSSH perl-IO-Tty
16 #check if cpanm exists
17 if [ -x "$(command -v cpanm)" ];then
18 echo "cpanm is installed."
23 echo "cannot install dependencies: apt-get and yum and perlbrew/cpanm are not available." >&2