rpm 不支持通配符,可以使用 xargs来接收多个变量

 

示例,一次性卸载所有 erlang先关的rpm包:

rpm -qa | grep erlang | xargs rpm -e --nodeps

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2021-12-06
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2021-12-31
  • 2021-12-05
相关资源
相似解决方案