clang-apply-replacements: 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/lib/llvm-3.4/bin/clang-apply-replacements - from package: clang-3.4
/usr/lib/llvm-3.5/bin/clang-apply-replacements - from package: clang-3.5
/usr/bin/clang-apply-replacements - from package: clang

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