終端報(bào)錯(cuò) :-bash: rpm: command not found 原因是沒有安裝 rpm 解決: 在終端輸入: brew install rpm 等待安裝 image.png 即表示安裝成功