How to install packages from local storage?

Gregory Orange gregory.orange at calorieking.com
Mon Aug 1 02:29:08 UTC 2016


On 01/08/16 10:15, Manish Jain wrote:
> I also see that pkg has a command 'add'. What is that for ?

Useful for adding an arbitrary package file without using a pkg 
repository, but I think less useful than using 'pkg install'. If you 
really want to use and maintain your own package files (e.g. created 
with 'pkg add', or copied from /var/cache/pkg - perhaps using just 'pkg 
fetch -d' instead of 'pkg install') then it's easy to put them all 
somewhere then run 'pkg repo' on them, and share that (read-only in my 
case) over NFS.


More information about the freebsd-questions mailing list