chrom_sizes.pl: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/chrom_sizes.pl - from package: libbio-samtools-perl

You may install the required package with command apt-get install {package}
Error in other languages:
chrom_sizes.pl: bevel nie gevind nie
chrom_sizes.pl: comandă negăsită
chrom_sizes.pl: comando não encontrado
chrom_sizes.pl: commande introuvable
chrom_sizes.pl: command not found
chrom_sizes.pl: käsku ei ole
chrom_sizes.pl: không tìm thấy lệnh
chrom_sizes.pl: komanda nerasta
chrom_sizes.pl: Kommando nicht gefunden.
chrom_sizes.pl: kommandot finns inte
chrom_sizes.pl: komut yok
chrom_sizes.pl: nie znaleziono polecenia
chrom_sizes.pl: níor aimsíodh an t-ordú
chrom_sizes.pl: no se encontró la orden
chrom_sizes.pl: no s'ha trobat l'ordre
chrom_sizes.pl: opdracht niet gevonden
chrom_sizes.pl: parancs nem található
chrom_sizes.pl: perintah tidak ditemukan
chrom_sizes.pl: príkaz nenájdený
chrom_sizes.pl: příkaz nenalezen
chrom_sizes.pl: команда не найдена
chrom_sizes.pl: командата не е открита
chrom_sizes.pl: 命令找不到
chrom_sizes.pl: コマンドが見つかりません