On 2009/04/30 10:35, Pau wrote:
> I start to enjoy the ports system...
> 
> What about those packages? Could I use them for another machine
> runnning the same obsd release? If i have another laptop in hwich I
> want to install openoffice3, could i simply copy over openoffice*.tgz
> and install it with pkg_add?
> I guess so, but I prefer to ask, just in case of.

Yes, sure, this is exactly what happens with the bulk-build packages on
the ftp servers. You can use an scp:// url in PKG_PATH, too - you need to
specify the username since pkg_add runs as root.

PKG_PATH=scp://usern...@host/usr/ports/packages/i386/all/

> And can I remove everything in distfiles? Since the packages built and
> were installed, it seems to be the most natural thing.

That depends if you might want to build them again (and if disk space
is more of a problem than bandwidth). I tend to keep them around unless
it's a space-limited system. (Actually I put /usr/ports/distfiles on
NFS since I often build on a few different machine types). But my
use probably isn't normal.

_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to