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

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

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki