Error Locate Command Not Found (find files) In Linux

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.

Check Out: No Disk Detected While Installing Redhat 8 Beta Version In Vmware

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.

Error Locate Command Not

Find the Package name:

yum whatprovides locate

locate command in linux

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

no package locate available.

Note: Don’t forget to update the database using updatedb.

Check Out: Mount LVM Partition On a Directory

Now try to find Kibana,

locate kibana

locate not found linux

That’s it locate not found rpm package in linux no package locate available. command

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment