LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-06-2010, 11:30 PM   #1
becaplin
LQ Newbie
 
Registered: Nov 2010
Location: Utah
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Unhappy Setting an executable to be in another's path


I have program (command line) that requires another program be installed and in its path. So I downloaded the file (.tgz), and extracted. I followed the compile and make instructions and ended up with a folder on my desktop that contains the excutable but is not in the path of the the other program. How can I do this..I think that I have about 20 more .tgz files to do this with.
 
Old 12-06-2010, 11:50 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
whata ya mean by in the path of the other program? did you run make install as root? make install copies the files in the global path
 
Old 12-07-2010, 12:06 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Before running your program:
Code:
export PATH="<path of folder on your desktop that contains the executable>:$PATH"
But why did the other program install on your desktop?

EDIT: as frieza said about installs normally installing executables to directory/ies in the conventional $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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php executable path linuxown Linux - Software 7 06-01-2009 12:46 AM
getting the path of the running executable lorebett Programming 17 04-15-2009 10:48 AM
Executable file path problem jinics Linux - General 5 02-22-2007 06:51 AM
Path of the executable brainstormingin Programming 4 03-25-2004 09:24 PM
Executable, but not in path. Sledge Red Hat 0 12-03-2003 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:07 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