---

4 Ways to Disable/Lock Certain Package Updates Using Yum Command

How do you block, disable, lock version or blacklist certain package for installing or updating in Linux using Yum command?

# yum -x packagename
OR
# yum –exclude packagename