Remove YUM Packages in CentOS 7: Step-by-Step
In CentOS7, you can use the following command to uninstall a software package using YUM:
- Search for the software package to be removed:
yum list installed | grep package_name
- Use the following command to remove the software package:
sudo yum remove package_name
- Confirm deletion:
Follow the instructions to confirm the deletion operation, enter ‘y’ to proceed with the deletion. - After deletion, you can use the command “yum list installed” again to confirm if the software package has been removed.