gphoto2-port-config: 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/gphoto2-port-config - from package: libgphoto2-devel

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

On Debian possible default full paths are:

/usr/bin/gphoto2-port-config - from package: libgphoto2-dev

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