The w3m package is not available for CentOS 7. CentOS provides the Lynx and ELinks text-based web browsers. They provide similar features to the w3m browser, however their syntax is different. As a consequence, a change of workflow might be required after the upgrade.