How to update yum skipping specific packages

I am on CentOS Linux. Some packages are skipped and not installed with yum command. How do I update and install such packages using yum command i.e. install skipping specific packages from yum?

if target packages are not installed via yum. it means they are not listed on your using-repo. kindly make a repo for them or then install their rpm package directory via #rpm -ivh.

You mean exclude certain packages such as htop?

yum --exclude=htop update

If you need to install or update htop later, simply omit –exclude to yum:

yum upgrare htop 
yum update

From the https://www.cyberciti.biz/faq/redhat-centos-linux-yum-update-exclude-packages/

yum --disableexcludes=all update
yum --disableexcludes=all install htop
yum --disableexcludes=all update htop

https://www.cyberciti.biz/faq/yum-update-except-kernel-package-command/