Question
How do I disable a repository on a RHEL-based system?
Answer
- Access the server's command line as the root user via SSH or Terminal in WHM.
-
Run the following command:
yum-config-manager --disable $repo_id
Note: "$repo_id" must be replaced with the repository identifier.