Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-01-2003, 05:15 PM   #1
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Question on file...

Really quick question here folks. Well, just a matter of correcting me if im wrong.

When you install new piece of software from source and it comes with some bin files that you run to use the program, if you want those programs to be available without having to use the full path, you need to put the path into and run ldconfig correct?

For instance, I installed a piece of software into /usr/local/stuff.

It has a bin directory below it that has many options that can be run from the command line:


Now, while at my command line, I cannot type mailstuff as it cannot find it...

Now, if I add the path /usr/local/stuff to my and run ldconfig, that should make it work when I try to use it from the command line, correct?

Or is this something I need to add to my $PATh variable...

I get the $PATH variable and things mixed up...

Anyone have a good explanation for these?

Old 09-01-2003, 06:14 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
The file is from my understanding for libs, not the search path for commands/programs.

If you have a program and its not in the current users path, you'll need to add that like you mentioned before.
Old 09-01-2003, 06:24 PM   #3
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
Adding /usr/local/stuff/bin to your $PATH will work if that's the directory where all the commands reside. If the tree is more complicated, such as if /usr/local/stuff/bin/mailstuff is a directory then it may be easier to just add symlinks in /usr/local/bin to whatever commands you want to use.


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
rsyncd.conf file module question bjones Linux - Software 1 11-26-2005 09:21 AM
question about uucp service and /etc/inetd.conf file frankie_DJ Linux - Newbie 2 09-03-2005 02:23 AM
Question about .conf file QPQ Linux - Wireless Networking 3 06-06-2005 09:09 AM
can't file dhcpd.conf vito_huang Linux - Networking 6 01-28-2005 08:04 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 AM.

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