Skip to main content
added 1 character in body
Source Link
user3439894
  • 60.8k
  • 10
  • 115
  • 138

The binary file goes in /usr/local/bin. Each man page goes in the folder usr/local/share/man/manN where N is the number at the end of the man page file name. For example, gdisk.8 should appear in the folder /usr/local/share/man/man8. When finished adding all man pages, you should run the command

/usr/libexec/makewhatis /usr/local/share/man 

to update the whatis database stored in the text file /usr/local/share/man/whatis. This whatis text file is used by the whatis and apropos commands.

The binary file goes in /usr/local/bin. Each man page goes in the folder usr/local/share/man/manN where N is the number at the end of the man page file name. For example, gdisk.8 should appear in the folder /usr/local/share/man/man8. When finished adding all man pages, you should run the command

usr/libexec/makewhatis /usr/local/share/man 

to update the whatis database stored in the text file /usr/local/share/man/whatis. This whatis text file is used by the whatis and apropos commands.

The binary file goes in /usr/local/bin. Each man page goes in the folder usr/local/share/man/manN where N is the number at the end of the man page file name. For example, gdisk.8 should appear in the folder /usr/local/share/man/man8. When finished adding all man pages, you should run the command

/usr/libexec/makewhatis /usr/local/share/man 

to update the whatis database stored in the text file /usr/local/share/man/whatis. This whatis text file is used by the whatis and apropos commands.

Source Link
David Anderson
  • 42.8k
  • 14
  • 68
  • 112

The binary file goes in /usr/local/bin. Each man page goes in the folder usr/local/share/man/manN where N is the number at the end of the man page file name. For example, gdisk.8 should appear in the folder /usr/local/share/man/man8. When finished adding all man pages, you should run the command

usr/libexec/makewhatis /usr/local/share/man 

to update the whatis database stored in the text file /usr/local/share/man/whatis. This whatis text file is used by the whatis and apropos commands.