Wolkenarchitekt
Wolkenarchitekt

Reputation: 21238

Install a manpage manually on Debian-based OS

For a little Python script "mytool" I wrote a Manpage that I want to install manually (no OS package) on a Debian based OS. How do I do that?

I tried gzipping the manpage and copied it to several locations (/usr/share/mytool, /usr/share/man8, /usr/local/man/man8), but the manpage does not show up if I run "man mytool". Do I need to refresh the manpages somehow so that man finds the file?

Upvotes: 1

Views: 406

Answers (1)

Saddam Abu Ghaida
Saddam Abu Ghaida

Reputation: 6729

install -g 0 -o 0 -m 0644 mytool.8 /usr/local/man/man8/

Upvotes: 2

Related Questions