Problem scenario
You try to run the locate command, but you receive "-bash: locate: command not found". You try to install it, but you get this message: "No match for argument: locate"
How do you install locate?
Solution
Run this command: sudo yum -y install mlocate