Remove YUM Packages in CentOS 7: Step-by-Step

In CentOS7, you can use the following command to uninstall a software package using YUM:

  1. Search for the software package to be removed:
yum list installed | grep package_name
  1. Use the following command to remove the software package:
sudo yum remove package_name
  1. Confirm deletion:
    Follow the instructions to confirm the deletion operation, enter ‘y’ to proceed with the deletion.
  2. After deletion, you can use the command “yum list installed” again to confirm if the software package has been removed.
bannerAds