[nycbug-talk] pkg_add

Jim Brown jpb
Wed Feb 9 10:41:15 EST 2005


* swygue <swygue at gmail.com> [2005-02-09 15:28]:
> How do I change pkg_add temp directory? I tried this, # env
> PKG_TMDIR=/"directory I want". This did not help, I read the manpage
> and it mention something about template, I do not know what to do.

Looks like you are using a /bin/sh shell or derivative.  Try: 


  PKG_TMPDIR=/foo_dir
  export PKG_TMPDIR

  pkg_add foo_pkg.tgz


Directory /foo_dir must have adequate space, or it won't be used.


Best Regards,
Jim B.




More information about the talk mailing list