Quote:
Then I tried the same but with pkgadd -d. GNUtar and it installed fine. (found example on net and tried)
What did the "." do and where can I find info on this? Why wouldn't it install without the "."?
From the man page for pkgadd:
DESCRIPTION
pkgadd transfers the contents of a software package from the
distribution medium or directory to install it onto the sys-
tem. Used without the -d option, pkgadd looks in the default
spool directory for the package (var/spool//pkg).
So, anytime you are doing a pkgadd and the package isn't in /var/spool/pkg, you have to specify where it is - which you did the second time with '.'.
2nd part - you can add that to your path at the end with no problem (correct, root's path should not be changed but /usr/local/bin is one that many folks use - the one thing you never want to add to root's path is . ) You can do this by looking at the .profile in root's home directory and seeing if the PATH is set there - if not, you can set it if root's shell is sh or ksh with
MANPATH=$MANPATH:/usr/local/bin
export MANPATH
Running gtar just once, add the full path to the command :
# /usr/local/bin/gtar options yourtarfile