I'm trying to install resolvconf in centos.

In Ubuntu I'm able to install resolvconf sudo apt-get install resolvconf.

For centos, I tried to do the same by sudo yum install resolvconf but I get message No package found. Nothing to do

How can I install resolvconf in centos .


You will need openresolv and a patch. Follow these commands:

wget http://roy.marples.name/downloads/openresolv/openresolv-3.3.2.tar.bz2
tar fxjv openresolv-3.3.2.tar.bz2
cd openresolv-3.3.2
wget http://www.grid-appliance.org/files/packages/openresolv_patch.zip
unzip openresolv_patch.zip
su -c "make install"


  • the patch-link does not work anymore. Also does this work for centos 8? – Jesper.Lindberg Nov 15 '20 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.