Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
05-20-2011, 11:16 PM
|
#1
|
|
Member
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Rep:
|
Having trouble locating file. Used FIND (file) ... should be simple
I feel like a total doof ... Because this is a simple question, and right in the front of my brain the answer is floating ... But I just can't catch it.
I downloaded a gaming editor called BYOND. I unzipped, did CD to it's location, I ran Make, ./config, then make install ... Now I can't seem to locate the actual file.
I tried to use FIND and I only got:
Code:
./byond
./byond/bin
./byond/bin/libext.so
./byond/bin/DreamDownload
./byond/bin/DreamDaemon
./byond/bin/DreamMaker
./byond/bin/libbyond.so
./byond/readme.txt
./byond/cfg
This doesn't tell me what comes before /byond.
I'd love some help cause I'm pretty bored :-P, Thanks guys.
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-20-2011, 11:23 PM
|
#2
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Hello,
First and foremost, I noticed that the order of the commands you listed are out of order; They should be as follows:
Code:
./configure
make
make check (optional)
make install (as root)
Now besides that, find searches recursively, but not backwards. If anything, you would have to search from root ( / ) to be able to search through all directories on your system. Lastly, when you do a "make install," you should have gotten output where the files have been installed to. You should be able to look in your output history in your shell and see where exactly the files were place.
Hope that helps man!
Cheers,
Josh
|
|
|
2 members found this post helpful.
|
05-20-2011, 11:26 PM
|
#3
|
|
Member
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Original Poster
Rep:
|
Didn't even occur to me to check the output history. I'm gonna give that a shot.
|
|
|
|
05-20-2011, 11:27 PM
|
#4
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hello,
What is the actual file you're looking for? The binary that was created when you ran make install to finish the compilation process? If so and if the compilation went OK then you should be able to locate the file with
if that is the name of the editor. Or did I misunderstand you?
Kind regards,
Eric
|
|
|
2 members found this post helpful.
|
05-20-2011, 11:27 PM
|
#5
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Hello,
Ok cool. Let me know if you make any ground or not
Cheers,
Josh
|
|
|
1 members found this post helpful.
|
05-20-2011, 11:30 PM
|
#6
|
|
Member
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Original Poster
Rep:
|
usr/local/share/byond
Thanks corp
|
|
|
|
05-20-2011, 11:33 PM
|
#7
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Hello,
No problem man, anytime! Mark your thread as solved if you can, and give rep if applicable, thanks!
Cheers,
Josh
|
|
|
1 members found this post helpful.
|
05-20-2011, 11:37 PM
|
#8
|
|
Member
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Original Poster
Rep:
|
Quote:
Originally Posted by EricTRA
Hello,
What is the actual file you're looking for? The binary that was created when you ran make install to finish the compilation process? If so and if the compilation went OK then you should be able to locate the file with
if that is the name of the editor. Or did I misunderstand you?
Kind regards,
Eric
|
Yes I was looking for the binary, and it is an editor named BYOND ... You understood fine. I found the directory using corp's method, But when I do which byond I get nothing, it just goes back to
|
|
|
|
05-20-2011, 11:43 PM
|
#9
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hi,
Glad you had it solved. The which command might fail when you don't have the path to the binary in your path statement, if you run it with sudo it might just work. Anyway, good job. Have fun with Linux.
Kind regards,
Eric
|
|
|
1 members found this post helpful.
|
05-20-2011, 11:46 PM
|
#10
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Quote:
Originally Posted by Hevithan
Yes I was looking for the binary, and it is an editor named BYOND ... You understood fine. I found the directory using corp's method, But when I do which byond I get nothing, it just goes back to
|
To also add what Eric just said.... Could you give us the output of the following:
The which command, like Eric said, looks in your path for the directories to look in. I'm just curious what all is in your path, that is all. And to think about it, also give the output when given with root privileges, that just might be the issue, like Eric said. Damn you Eric, you stole my thunder.
|
|
|
1 members found this post helpful.
|
05-20-2011, 11:50 PM
|
#11
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
ThunderStruck, nana na nana
LOL
|
|
|
2 members found this post helpful.
|
05-21-2011, 12:08 AM
|
#12
|
|
Member
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 833
Rep: 
|
Just adding to something that has been resolved  . Did you kniw there was a 'locate <filename>' command? All you have to do is run 'updatedb' as root which will index all the files. Personally I prefer using locate to find.
Hope this helps.
|
|
|
1 members found this post helpful.
|
05-21-2011, 12:26 AM
|
#13
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Quote:
Originally Posted by SilverBack
Just adding to something that has been resolved  . Did you kniw there was a 'locate <filename>' command? All you have to do is run 'updatedb' as root which will index all the files. Personally I prefer using locate to find.
Hope this helps.
|
Yes, but with find, you can search on the fly. With locate, it is very useful, which I use myself, but you need to run updatedb if not scheduled by cron.
|
|
|
2 members found this post helpful.
|
05-21-2011, 12:36 AM
|
#14
|
|
Member
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Original Poster
Rep:
|
Here's what I get with echo:
Code:
hevithan@Lifebook:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games
and
Code:
root@Lifebook:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Was I supposed to put a directory where you wrote path (cause I just assumed that was the whole command)?
and:
Code:
root@Lifebook:~# locate byond
-su: locate: command not found
I ran locate through SU -L ... Should I login as root or should su be doing it?
|
|
|
|
05-21-2011, 12:46 AM
|
#15
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
I always switch to root by using "su -" personally. Besides that, if anything, you might have to install locate/updatedb. What distro are you running?
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|