You are here
David Killingsworth - Wed, 2011/01/05 - 04:54
I'm using trac-11.0-lucid-x86 as an Amazon EC2 AMI.
I noticed that I could not use "locate" or "mlocate" commands.
$ locate test -bash: locate: command not found
I looked and could not find the files in /usr/bin/ nor updatedb.sh
I tried installing findutils and it says that it is already installed.
root@servername /# apt-get install findutils Reading package lists... Done Building dependency tree Reading state information... Done findutils is already the newest version.
I was under the impression that these were part of Ubuntu 10.04 LTS core.
Forum:
They probably are part of Ubuntu 10.04 LTS Server
But TKL is build from scratch using an Ubuntu 10.04 based JeOS with Ubuntu 10.04 packages rather than a reduced/improved Ubuntu 10.04 Server install.
locate and mlocate appear to be separate packages, try:
Thanks, I'll grab mlocate as
Thanks, I'll grab mlocate as it looks like it's now recommended and more efficient.
And of course, I could always use "find" but I was pretty used to using locate.
source:
http://serverfault.com/questions/11189/linux-locate-find-which-how-do-i-...
Add new comment