remove maven from cent os code example Example: how to remove installation from cent os yum autoremove [package_name]