I'm working on a Linux-Ubuntu server as non-root user. I created a small application and because I'm not a privileged user I'm going to install it under $HOME/bin directory (this directory is in the $PATH variable).
I also created a manual page and gzipped it, let's call it app.1.gz. Obviously as non-root I can't copy the man page to /usr/share/man/man1, but I want to invoke the page as usual (with the command man app. I tried by setting both $MANPATH and $PATH but it doesn't work.
What I have to do to invoke my manual page with man command? (obviously without specify the containing directory)
$MANPATH
should have worked. Show what you set it to, and where you installed the man pages. Also, make sure you exported the variable.