LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-23-2009, 07:19 PM   #1
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 60
Blog Entries: 1

Rep: Reputation: 15
Unhappy Setting MANPATH


Hello,

Can anyone tell me where and how I can set my $MANPATH variable in fedora 10? Thanks, I appreciate it.

RonM
 
Old 09-23-2009, 07:34 PM   #2
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 60
Blog Entries: 1

Original Poster
Rep: Reputation: 15
echo $MANPATH

When I type echo $MANPATH as regular user or root I only get the next prompt I don't see a setting display for MANPATH variable. Yet when I go in and view man.cfg I can see several paths set and the lines are uncommented. Am I missing something. Is there a an envirinment or set command I can use at the command line that can display and / or set the MANPATH?
 
Old 09-23-2009, 07:43 PM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 651

Rep: Reputation: 160Reputation: 160
MANPATH="yourpath"; export MANPATH
 
Old 09-23-2009, 11:40 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, he's wondering more why it isn't set than how to set it, I think. You don't say what distro you're using, but I think you're using one of those distros that doesn't really use MANPATH anymore, but reads man.config. IOW, can you access the man pages which are specified in your config file? Then you're okay. I think 'man manpath' (assuming it does work ) may help on your system.
 
Old 09-23-2009, 11:43 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Oh, here you say what distro you're using and that you do want to set your manpath. Then AnanthaP did answer your question on the other thread. This is essentially a dupe of your other thread. You'd make it easier for people to help you if you put all relevant information into a single thread.
 
  


Reply

Tags
environment, variable


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
MANPATH: Undefined variable adelaide98 Linux - General 10 08-06-2009 12:24 PM
"Broken" envirnment variable (MANPATH) and "/etc/profile.d" question. ErV Slackware 3 03-20-2007 10:42 AM
Default $MANPATH Path Order ayhopkins Linux - Software 4 08-04-2006 02:45 PM
MANPATH weirdness johnMG Debian 2 04-04-2006 01:47 PM
Manpath praveenv Linux - Newbie 2 08-28-2004 03:21 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration