“jsonlint:找不到命令”,尽管已安装 jsonlint

Shy*_*Shy 6 command-line apt execute-command 16.04 json

我有兴趣jsonlint在 Ubuntu 16.04 操作系统中使用命令行。所以我执行了

sudo apt-get install jsonlint

我得到了

Reading package lists... Done
Building dependency tree       
Reading state information... Done
jsonlint is already the newest version (1.4.0-1build1).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Run Code Online (Sandbox Code Playgroud)

但是当我尝试执行时

jsonlint -v packets.json
Run Code Online (Sandbox Code Playgroud)

我有

jsonlint: command not found
Run Code Online (Sandbox Code Playgroud)

为什么?我该如何解决?

Flo*_*sch 6

该命令称为jsonlint-php