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.

While 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.

Join the discussion

Comments are hosted on comments.vciso.ch, a server I run myself. Nothing is loaded from it until you press the button below. Loading comments connects your browser to that server, and signing in with GitHub sets a cookie there. See the privacy page for details.

Type to search.

↑ ↓ to move, Enter to open, Esc to close