LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having trouble locating file. Used FIND (file) ... should be simple (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-locating-file-used-find-file-should-be-simple-881893/)

Hevithan 05-21-2011 12:54 AM

Dreamlinux 3.5 - Based on Debian Lenny stable i368 Xfce desktop, but I can enable GNOME and/or KDE if needed for a certain program

corp769 05-21-2011 01:00 AM

Ok, most likely, you need to install mlocate in order to have locate and updatedb on your system. That *should* do the trick, unless I am wrong.

Hevithan 05-21-2011 01:01 AM

Should I do $apt-get mlocate

Or just open apt-get and hit the search button?

I'ma try both anyways...

corp769 05-21-2011 01:04 AM

What do you mean open apt-get? I'm pretty sure you are talking about your graphical front end for apt-get; You can do either or. I didn't mention how to before because in ALL honesty, I never even heard of your distro until now :p

And btw, on the command line, it would be the following:
Code:

sudo apt-get install mlocate

astromime 05-21-2011 01:05 AM

umm
Code:

sudo apt-get install mlocate
should do you better

corp769 05-21-2011 01:06 AM

Quote:

Originally Posted by astromime (Post 4362563)
umm
Code:

sudo apt-get install mlocate
should do you better

You were one second late :p

astromime 05-21-2011 01:09 AM

Quote:

Originally Posted by corp769 (Post 4362564)
You were one second late :p

ahh! and i thought to myself, "wow, so far all of my posts have, in the very least, every intention of being helpful"

now im a failure

corp769 05-21-2011 01:13 AM

Quote:

Originally Posted by astromime (Post 4362565)
ahh! and i thought to myself, "wow, so far all of my posts have, in the very least, every intention of being helpful"

now im a failure

Well, in THAT case, you could "up" your failure by using proper grammar and capitalizing your words and using proper punctuation ;)

Hevithan 05-21-2011 01:13 AM

So I got mlocate and now I get:

Code:

root@Lifebook:~# locate byond
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory
root@Lifebook:~#


Out with the old problem in with the new


Checked the file myself, Went to /var/lib ... Found Mlocate opened her up ... and zip ... zero ... nada ... Nothing there

astromime 05-21-2011 01:14 AM

Capitalization? Does anyone realize how hard that is?

astromime 05-21-2011 01:16 AM

Quote:

Originally Posted by Hevithan (Post 4362570)
So I got mlocate and now I get:

Code:

root@Lifebook:~# locate byond
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory
root@Lifebook:~#


Out with the old problem in with the new

try this first
Code:

sudo updatedb
I have never used locate before though, so...

corp769 05-21-2011 01:21 AM

Quote:

Originally Posted by astromime (Post 4362572)
try this first
Code:

sudo updatedb
I have never used locate before though, so...

Yup, you are correct ;)

And you're half way there with those capital letters :p

Hevithan 05-21-2011 01:26 AM

Here's what I got:

Code:

root@Lifebook:~# locate byond
/home/hevithan/byond
/home/hevithan/Download/482.1091_byond_linux.zip
/home/hevithan/byond/Makefile
/home/hevithan/byond/bin
/home/hevithan/byond/cfg
/home/hevithan/byond/host
/home/hevithan/byond/key
/home/hevithan/byond/lib
/home/hevithan/byond/man
/home/hevithan/byond/readme.txt
/home/hevithan/byond/bin/DreamDaemon
/home/hevithan/byond/bin/DreamDownload
/home/hevithan/byond/bin/DreamMaker
/home/hevithan/byond/bin/libbyond.so
/home/hevithan/byond/bin/libext.so
/home/hevithan/byond/cfg/release.txt
/home/hevithan/byond/host/home
/home/hevithan/byond/host/host.dmb
/home/hevithan/byond/host/host.start
/home/hevithan/byond/host/hostconf.orig
/home/hevithan/byond/host/hostconf.txt
/home/hevithan/byond/host/readme-unix.txt
/home/hevithan/byond/host/readme.html
/home/hevithan/byond/host/shared
/home/hevithan/byond/host/shared-web
/home/hevithan/byond/host/home/root
/home/hevithan/byond/host/home/root/byond
/home/hevithan/byond/host/home/root/byond/tools
/home/hevithan/byond/host/home/root/byond/tools/root
/home/hevithan/byond/host/home/root/byond/tools/root/root.dmb
/home/hevithan/byond/host/shared/byond
/home/hevithan/byond/host/shared/byond/tools
/home/hevithan/byond/host/shared/byond/tools/admin
/home/hevithan/byond/host/shared/byond/tools/ftp
/home/hevithan/byond/host/shared/byond/tools/admin/admin.dmb
/home/hevithan/byond/host/shared/byond/tools/ftp/ftp.dmb
/home/hevithan/byond/host/shared-web/web
/home/hevithan/byond/host/shared-web/web/tools
/home/hevithan/byond/host/shared-web/web/tools/admin
/home/hevithan/byond/host/shared-web/web/tools/admin/index.dmb
/home/hevithan/byond/man/man6
/home/hevithan/byond/man/man6/DreamDaemon.6
/home/hevithan/byond/man/man6/DreamMaker.6
/usr/local/byond
/usr/local/byond/bin
/usr/local/byond/cfg
/usr/local/byond/man
/usr/local/byond/bin/DreamDaemon
/usr/local/byond/bin/DreamDownload
/usr/local/byond/bin/DreamMaker
/usr/local/byond/bin/libbyond.so
/usr/local/byond/bin/libext.so
/usr/local/byond/cfg/release.txt
/usr/local/byond/man/man6
/usr/local/byond/man/man6/DreamDaemon.6
/usr/local/byond/man/man6/DreamMaker.6
/usr/local/lib/libbyond.so
root@Lifebook:~#


That's right ... it works. :-) ... thanks everyone ... I'm gonna be up late spreading rep

corp769 05-21-2011 01:30 AM

Speaking of rep... Not sure if you know this or not, because most people don't know - The rep icon under the username in the left pane gives actual reputation, and the higher the post count and rep, the more points awarded. Finding posts helpful, regardless of the post and rep counts, will only give one rep. And no problem by the way... Anytime!

Cheers,

Josh

To add - I didn't say that just to get more rep either, since Eric had to call me out.......

Hevithan 05-21-2011 01:33 AM

Quote:

Originally Posted by corp769 (Post 4362580)
Speaking of rep... Not sure if you know this or not, because most people don't know - The rep icon under the username in the left pane gives actual reputation, and the higher the post count and rep, the more points awarded. Finding posts helpful, regardless of the post and rep counts, will only give one rep. And no problem by the way... Anytime!

Cheers,

Josh

well #$^! I just went through and said everyone was helpful. Wish I would known that sooner. I'll get ya in the future


All times are GMT -5. The time now is 04:04 AM.