Packages, Installing
From FreeBSDwiki
(Difference between revisions)
Line 10: | Line 10: | ||
/usr/home/dave | /usr/home/dave | ||
%pkg_add -r xmotd | %pkg_add -r xmotd | ||
− | Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/ | + | Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/x |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 23:27, 15 April 2009
Installing from a pre-built package is faster than installing ports but the trade-off is that you don't get to configure the package the way that you would like to: you must take the package as the person who made the package compiled it.
It's a fairly straightfoward affair, you just need to use the pkg_add command, and if you don't have the .tbz package already on your system (which you likely won't,) use the -r switch to get the package remotely:
%pwd /usr/home/dave %su -m Password: %pwd /usr/home/dave %pkg_add -r xmotd Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/x