LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   running programs after compilation? (https://www.linuxquestions.org/questions/linux-general-1/running-programs-after-compilation-29550/)

Jedt 09-04-2002 01:37 AM

running programs after compilation?
 
I'm somewhat new to linux and need help on running linux programs. I learned how to unpack tar files and compile(I read the install text file) source code, but how do I run the program after it is compiled? I am somewhat at a dead point in my linux ventures.

Please help?

moger 09-04-2002 03:01 AM

Just type the executable at the command line. If it's in your path, it should run. Else you need to switch to the directory of the executable, and type ./name, where name is the name of the executable. When I say path, that's an environmental variable that states all the directories that Linux looks for when you type a command. To see what directories are in your path, type:

$ echo $PATH

You can change that in your .bash_profile file in your home directory.

acid_kewpie 09-04-2002 03:59 AM

well presumably you just need to have insatlled it yeah (make install) and then just type the name of the program, which should be placed somewhere inside your path


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