LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   God do I feel stupid, please read, laugh and help! (http://www.linuxquestions.org/questions/linux-general-1/god-do-i-feel-stupid-please-read-laugh-and-help-292090/)

jmpmjmpm 02-18-2005 07:53 PM

God do I feel stupid, please read, laugh and help!
 
Yup probably the stupidest newbee question ever asked...
once I have configure, make and make install a program how do I run it?

i.e. where is the executable? so I can link to it on the desktop? ok stop laughing now and post please!!!???

Cheers!:newbie: :o

Baix 02-18-2005 08:03 PM

Well depending on the program it may have put a file in /bin or /usr/bin already otherwise you'll have to go where you installed it and look for it there. Once you find it make a link to it from where ever you want (like in /usr/bin)

Also, what programming did you install out of curiosity?

Hope this helps!

jmpmjmpm 02-18-2005 08:08 PM

well I am trying gtk-gnutella 0.95 and I installed firefox although that was automated but didn't create a link for me. Turns out the scrips to start it was in the directory I installed it to (god do I feel daft typing that!)

I went through this before when I first tried linux but do you think I can remember any of it? No, not a sausage! dear o dear
thanks for the quick reply btw, cheers!

ironwalker 02-18-2005 08:13 PM

Not knowing which distro you use or what app you tried to install im gonna make a suggestion anyway........try installing your wanted app via your distro's package manager.

for instance;

debian....
apt-get install (package name here)

see simple...handles all dependancies and you will see it via the type of package you installed.Say.....firestarter firewall.Thus after install...look in "internet" under...i dunno...kde menu?
Boom...there it is...firestarter!

Just a thought.Im only replying this way cause Ive been noticeing alot of folks transitioning to linux from windows...installing the distro and not haveing a clue as to how to get a package that in 9 times out of ten came with the distro.


No disrespect intended...if you understand,disregard the above.

From my old rehab----if it doesnt apply...let it fly!:D

jmpmjmpm 02-18-2005 08:20 PM

hi ironwalker, my distro is mandrake 10.1 do you mean install by using rpmdrake? and downloading a rpm rather than source? then it will put an icon in the kde menu? I see yup I get it.

Any ideas for a rpm for a decent p2p app?

dannyk1 02-18-2005 08:41 PM

Another hint for finding out what programs you have is open a shel and hit tab twice then press y.
will give a list of everything you have.

mcd 02-18-2005 09:51 PM

so is that a list of every command in your path?

nonzero 02-21-2005 12:55 AM

cd into the top level of your build directory. do ls -a. cat the .config you find there, it should show you where the default installation directories are. Chances are that if you didn't tweak anything they will be installed under /usr/local.

nz

kornerr 02-21-2005 11:25 AM

Men, WHO TELLS YOU TO BUY THE S**T LIKE MANDY??? Get Slack and enjoy its simplicity! It'll teach you the s**t you ask in a week! Throw, throw this s**t (mandy) now. Don't be lazy! Learn Linux.

Shade 02-21-2005 07:14 PM

Alright....

If you're building a program for the first time, make install is not really necessary. You can run the program from the current directory without installing it in most cases.

If you're using an xterm, chances are that your shell has colors enabled... Executable files are normally listed in green or followed by a *. If you look in the build directory after doing the ./configure and make, you should see a green file name -- that is the executable that was compiled. Make install simply copies everything to permanent locations. You can run the executable with ./name

After a make install, it should be in your path and you can simply type the name of the exectuable which appears in the build directory.

--Shade

dwight1 02-21-2005 07:26 PM

All good advice. What I'd add is to do the following if you're using ksh/bash:

make install 2>&1 | tee /tmp/Out

This will preserve a copy of the output of the `make install` into the file /tmp/Out. You can then refer back to that if it's scrolled off your screen, and see everything which was installed. For complicated builds (with lots of subdirectories and lots of binaries installed), that ought to give you a clue to what you're looking for, and where it was installed.

Padma 02-22-2005 02:11 PM

Quote:

Originally posted by jmpmjmpm
hi ironwalker, my distro is mandrake 10.1 do you mean install by using rpmdrake? and downloading a rpm rather than source? then it will put an icon in the kde menu? I see yup I get it.
You are on the right track, but not quite there. ;) Instead of downloading rpms, just use rpmdrake (or urpmi, the underlying CLI tool). Set up your repositories using Easy Urpmi (link in my sig), and you will have access to just about everything you want/need. (Make sure you include "contrib" and "plf", as well as "main" and updates". ;) ) Downloading and installing rpms from "the wild" can break your system.
Quote:

Any ideas for a rpm for a decent p2p app?
I'm not a p2p guy, but I hear amule is pretty good....

Tinkster 02-22-2005 04:18 PM

Quote:

Originally posted by kornerr
Men, WHO TELLS YOU TO BUY THE RPM-BASED LIKE MANDY??? Get Slack and enjoy its simplicity! It'll teach you the ropes in a week! Throw, throw this attitude now. Don't be lazy! Learn manners. [/B]
Look mate ... this was completely uncalled for. I'm not
a big fan of MDK either, but would really appreciate if
you toned this down a bit.


Cheers,
Tink


All times are GMT -5. The time now is 02:50 PM.