Thursday, December 24, 2015

CentOS - How to uninstall package installed by rpm

I had installed openvpn via rpm on my CentOS 6.5 OS.  To uninstall it, you must know the exact package name.
  1. Issue "rpm -qa" and grep for what your package name may contain
    • $ rpm -qa | grep openvpn
      openvpn-as-2.0.20-CentOS6.4.x86_64
  2. Issue rpm -e to remove the exact package name
    • $ sudo rpm -e openvpn-as-2.0.20-CentOS6.4.x86_64

No comments:

Post a Comment

I appreciate your time in leaving a comment!