#What is the difference in Mint between locate & plocate ?
10 messages · Page 1 of 1 (latest)
p
p ? 🤔
As I understand it, plocate is a more modern version of locate, although both are present in mint for compatability
Indeed
I found the answer I think 😀
both man locate and man plocate display the same manual of plocate
So, I was right, when we launch locate we actually launch plocate for Mint.
We just no longer use locate for Mint but plocateand it explains why the database is the same and performances are similar.
Thank you
What is the difference in Mint between locate & plocate ? [SOLVED]
Indeed, you can use
which locate
to see where the executable file is, and then use
type /usr/bin/locate
to see if it's actual executable or simlink. If you follow the link's trail you'll end up at plocate
In fact with ls -hl /usr/bin/locate we can see than it is a link
And is a link to /etc/alternatives/locate where plocate is the only option by default
Yep,
ls -lha /etc/alternatives/locate
goes to plocate