If you are facing the error “Failed to set locale, defaulting to C” when running yum on CentOS, here’s a quick solution to fix this warning.
Quick tip: adjust locale settings on CentOS 7 minimal install

If you are facing the error “Failed to set locale, defaulting to C” when running yum on CentOS, here’s a quick solution to fix this warning.