LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2005, 04:55 AM   #1
arunsri
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 49

Rep: Reputation: 15
setting the path for a command??


I have a binary(executable) file and wanted it installed.So, I copied the binary and its libraries to /usr/local/myapp.

Now, i want the command(my executable) to be recogonized from the command line.How do i do it?Please Help.

Thanks
Arun
 
Old 03-13-2005, 05:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
you can either add that path onto your path statement, e.g. "export path=$path:/usr/loca/myapp", or create a symlink to that app in a more standard location, e.g. "ln -s /usr/local/myapp/myappbin /usr/bin/myappbin"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting the path.... joel112 Slackware 5 08-28-2003 02:27 PM
Setting the path Remco Linux - Software 2 10-13-2002 04:33 PM
Setting the path Milkman00 Linux - General 2 07-26-2002 09:44 AM
setting PATH tda Linux - Newbie 1 04-29-2002 01:54 PM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration