LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2002, 01:37 AM   #1
Jedt
LQ Newbie
 
Registered: Sep 2002
Posts: 1

Rep: Reputation: 0
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?
 
Old 09-04-2002, 03:01 AM   #2
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Rep: Reputation: 30
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.
 
Old 09-04-2002, 03:59 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
running programs The Oate Debian 3 08-25-2005 01:17 PM
Kernel Module compilation and running imransadat Programming 3 03-04-2005 06:56 AM
Running Programs Slayer097 Linux - Newbie 3 02-23-2005 04:43 PM
HElP Running Programs pbrian17 Linux - Newbie 2 10-09-2004 03:03 AM
static compilation of Qt programs tb_4js Linux - Software 0 04-25-2003 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration