dviselect: 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 CentOS possible default full paths are:

/usr/bin/dviselect - from package: texlive-dviutils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/dviselect - from package: texlive-binaries

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