Missing dependency 'jq' when installing Microsoft Tunnel Gateway on CentOS 7
The Microsoft Tunnel readiness script stops with "jq: command not found" on CentOS 7. jq is in EPEL, so enable that repository and install it.
Infrastructure linux centos microsoftWhile preparing a CentOS 7 server for the Microsoft Tunnel Gateway, the readiness script supplied by Microsoft stopped with an error that was not immediately clear.
The error
[root@redacted tunnel]# ./mst-readiness account
./mst-readiness: line 11: jq: command not found
Missing dependency 'jq'
The fix
The script needs jq, a command-line JSON processor, which CentOS 7 does not ship
in its base repositories. It is available from EPEL:
yum install epel-release -y
yum install jq.x86_64 -y
Run ./mst-readiness account again and the account verification goes through.