Installing Locate Package
To install locate command follow the steps Install mlocate package sudo yum install -y mlocate Run updatedb commands to build database of current files sudo updatedb

To install locate command follow the steps
- Install mlocate package
sudo yum install -y mlocate
- Run updatedb commands to build database of current files
sudo updatedb