Not quite sure what the difference is between the 2
Not quite sure what the difference is between the 2
installs/upgrades packages.Code:apt-get
updates the slocate database.Code:updatedb
Last edited by Jonathan Precise; September 28th, 2013 at 10:34 PM. Reason: Thanks Elfy!
-Jonathan
Status: CELEBRATING 2016!!! (Offline )
apt-get is the package handler - used to install packages
the updatedb command updates the database used by locate
They are completely different things
No - it does more than that
locate will find more than just program names.
Check out updatedb.conf
You'll see there it keeps much more in the database, in my case I mount all my multimedia in /mnt mountpoints - I can use locate on those files too.Code:cat /etc/updatedb.conf
Bookmarks