Sometimes you will see error locate command not found because no rpm locate package available in Linux. you can find any packages which are installed in Linux and this command shows the location of packages.
When you have installed the packages on Linux and there’s another mlocate command is the more secure version of locating the utility that only shows files associated with the user.
Error Locate Command Not Found (find files) In Linux:
‘M’ stands for merging means updatedb existing database to avoid re-reading most of the file system. you can also use this command.
This is a utility which helps you to find files with a specific word and It uses the one or more database by the updatedb program.
Find the Package name:
yum whatprovides locate
This package mlocate-0.26-8.el7.x86_64 is responsible to run the locate command.
Check Out: How To Check Redhat & CentOs Version
Install the Package
yum install mlocate-0.26-8.el7.x86_64 -y
Note: Don’t forget to update the database using updatedb.
Check Out: Mount LVM Partition On a Directory
Now try to find Kibana,
That’s it locate not found rpm package in linux no package locate available. command