如何修复pnmscale/pnmtojpeg:找不到命令

pic*_*lay 3 linux image-manipulation centos image-processing

-bash: pnmscale: command not found
-bash: pnmtojpeg: command not found
Run Code Online (Sandbox Code Playgroud)

我以为这些是netpbm的一部分?有没有人解决这个问题?

pic*_*lay 10

我不知道除了基本的netpbm之外我还必须安装netpbm-progs和netpbm-devel.这解决了这个问题.