install -g 0 -o 0 -m 0644 mytool.8 /usr/local/man/man8/
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?
المحلول
لا تنتمي إلى StackOverflow