The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PATH in unix thiyagak85 Shell Programming and Scripting 4 07-07-2008 08:24 AM
How to get the path of a file in UNIX? smr_rashmy UNIX for Dummies Questions & Answers 14 05-14-2008 03:34 AM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 04:36 AM
UNIX PATH info required PLEASE HELP (I'm new to unix) akitachi UNIX for Dummies Questions & Answers 1 05-10-2002 11:37 AM
Unix Path Options Shakey21 UNIX for Dummies Questions & Answers 2 11-19-2001 04:26 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-05-2008
ffpradella's Avatar
Registered User
 

Join Date: Jun 2008
Location: Sao Paulo - Brazil
Posts: 36
Wink Unix Path

Hi all,

I've found following information in sunfreeware:

-----------------
If the package installs in /usr/local/bin, you must put /usr/local/bin (or /opt/foo/bin when programs install in /opt/fee) in your UNIX PATH. You will also probably want to add /usr/local/man to your MANPATH in a similar way.
-----------------

How can I do that correctly? Can someone point me to any documentation?

Thanks!!!!!
Reply With Quote
Forum Sponsor
  #2  
Old 07-05-2008
Registered User
 

Join Date: Jul 2008
Posts: 53
I think u should write in /etc/profile
MANPATH=$MANPATH:/usr/local/man
export MANPATH
:wq!

Any how which free ware are you using?

Be careful while installing and check dependency libraries.

I have an issue.. I have installed some of that libraries and freewares.
Now my machine is taking a long time to get desktop.

Be careful while installing... Trace out the script ,which files its creating? , where is it creating ? and Is is modifying any older files.?

regards.
Reply With Quote
  #3  
Old 07-05-2008
ffpradella's Avatar
Registered User
 

Join Date: Jun 2008
Location: Sao Paulo - Brazil
Posts: 36
Wink

Quote:
Originally Posted by younus_syed View Post
I think u should write in /etc/profile
MANPATH=$MANPATH:/usr/local/man
export MANPATH
:wq!

Any how which free ware are you using?

Be careful while installing and check dependency libraries.

I have an issue.. I have installed some of that libraries and freewares.
Now my machine is taking a long time to get desktop.

Be careful while installing... Trace out the script ,which files its creating? , where is it creating ? and Is is modifying any older files.?

regards.
Thank you! I tried this suggestions to set MANPATH. Seems worked.
How about UNIX path? Is it a different variable??

Sorry for newbie questions... I am still trying to learn about UNIX.

Thanks!
Reply With Quote
  #4  
Old 07-05-2008
Registered User
 

Join Date: Jul 2008
Location: Texas
Posts: 60
Quote:
Originally Posted by ffpradella View Post
Thank you! I tried this suggestions to set MANPATH. Seems worked.
How about UNIX path? Is it a different variable??
It is PATH.
Reply With Quote
  #5  
Old 07-05-2008
Registered User
 

Join Date: Jul 2008
Posts: 53
setting Path ...

Go to /etc/profile

#vi /etc/profile
PATH=$PATH:/usr/local/bin
export PATH
:wq!
Reply With Quote
  #6  
Old 07-06-2008
ffpradella's Avatar
Registered User
 

Join Date: Jun 2008
Location: Sao Paulo - Brazil
Posts: 36
Smile

Just more two questions...

this file can be used to add all variables I need?
Also, how can I set a variable during runtime? eg, I need to set a var during some installation... does it depend of the shell used?

Thanks for clarifications!!!
Reply With Quote
  #7  
Old 07-06-2008
Registered User
 

Join Date: Jul 2008
Posts: 53
Yes.. you need to edit that file for permanent. You can specify at command prompt also but that is for temporary(for that session only).

Yes.. you can do that during installation but you need to write a script and append that script to installation script...


regards....
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0