LinuxQuestions.org
Review your favorite Linux distribution.
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 06-10-2016, 04:03 PM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
Where to install man pages?


Quote:
sepolicy-manpage(8) sepolicy-manpage(8)

NAME
sepolicy-manpage - Generate a man page based on the installed SELinux Policy

SYNOPSIS
sepolicy manpage [-w] [-h] [-p PATH ] [-r ROOTDIR ] [-a | -d ]

DESCRIPTION
Use sepolicy manpage to generate manpages based on SELinux Policy.

OPTIONS
-a, --all
Generate Man Pages for All Domains

-d, --domain
Generate a Man Page for the specified domain. (Supports multiple commands)

-h, --help
Manual page sepolicy-manpage(8) line 1/46 55% (press h for help or q to quit)
If you use above utility to create man pages for sepolicy utilities, and when I looked an /usr/share/man, there are many man?? sub-directories like so:

Quote:
[user1@localhost man]$ pwd
/usr/share/man

[user1@localhost man]$ ls -al | grep man
drwxr-xr-x. 2 root root 4096 Apr 15 14:44 man0p
drwxr-xr-x. 2 root root 61440 May 3 03:58 man1
drwxr-xr-x. 2 root root 8192 Apr 15 14:44 man1p
drwxr-xr-x. 2 root root 6 Aug 12 2015 man1x

...
...

drwxr-xr-x. 2 root root 94208 Jun 10 12:23 man8
drwxr-xr-x. 2 root root 6 Aug 12 2015 man8x
drwxr-xr-x. 2 root root 6 Aug 12 2015 man9
drwxr-xr-x. 2 root root 6 Aug 12 2015 man9x
drwxr-xr-x. 2 root root 6 Aug 12 2015 mann
[user1@localhost man]$

How do I decide where to install man pages?
Thank you.

Last edited by fanoflq; 06-10-2016 at 04:04 PM.
 
Old 06-10-2016, 04:09 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
man man
 
2 members found this post helpful.
Old 06-10-2016, 04:58 PM   #3
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Generally it's just /usr/local/share/man<the section they go in>/ and then run mandb as root. Assuming the formats right you should be able to pull up the page with man at that point.
 
Old 06-10-2016, 05:54 PM   #4
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Quote:
Generally it's just /usr/local/share/man<the section they go in>
That is my main question.
I do not know which section it goes to......
 
Old 06-10-2016, 07:49 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by fanoflq View Post
That is my main question.
I do not know which section it goes to......
... because you didn't read man man.
 
1 members found this post helpful.
Old 06-11-2016, 02:55 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Talking man oh man

[code][/code]
 
Old 06-25-2016, 07:35 PM   #7
Tim Abracadabra
Member
 
Registered: May 2014
Location: USA, Wherever I may Roam
Distribution: debian 9.8 w/GNOME and KDE dual boot w/Win 10.| debian 7.11 w/Xfce, LFS 7.9, + Multi-boot w/Windows7
Posts: 122

Rep: Reputation: Disabled
@ jamison20000e,
Your title made me almost shoot coffee out my nose.
Clever.

Last edited by Tim Abracadabra; 06-25-2016 at 07:37 PM.
 
Old 06-25-2016, 08:05 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
...could hit the brain faster that way?
 
Old 06-26-2016, 12:27 AM   #9
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
I am not sure why you are finding the whole man experience such a nightmare. You are definitely making it harder than I have seen any previous user.

However, your question is, should you use sepolicy-manpage, where should the created man page go? My question to you would be, when you read the instructions (perhaps on the website) for sepolicy-manpage
what did they tell you? If there was zero instructions (hard to believe), then as stated above, read man man and work it out.
 
Old 06-26-2016, 03:53 AM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Better searching can help too e.g...
http://unix.stackexchange.com/questi...user-directory
http://askubuntu.com/questions/24480...all-a-man-page
 
  


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
[SOLVED] man pages - man command phillyfilly Linux - Newbie 4 02-10-2014 05:41 AM
How do I install MAN pages for an installed APP emanners Linux - General 3 09-29-2009 02:55 PM
how to install without man pages i.you Linux - Software 2 10-04-2007 11:24 PM
can I install man pages? shoki_neu DamnSmallLinux 1 06-02-2004 04:02 PM
new 9.1 install problem with man pages slackgood Slackware 2 11-02-2003 01:47 PM

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

All times are GMT -5. The time now is 04:58 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
Open Source Consulting | Domain Registration