1. From package: prebuid binaries-which is much quicker, less download time, but problem of dependencies.
Download prebuild packages from ftp://ftp.freebsd.org/pub/FreeBSD
Index of ftp://ftp.freebsd.org/pub/FreeBSD/ports Up to higher level directory Directory: amd64 Sunday 22 April 2007 09:51:00 PM Directory: distfiles Sunday 15 July 2007 01:52:00 AM Directory: i386 Thursday 01 March 2007 10:13:00 PM Directory: ia64 Monday 23 July 2007 07:26:00 PM Directory: local-distfiles Monday 06 August 2007 07:53:00 PM Directory: packages Tuesday 05 June 2007 06:39:00 PM Directory: ports Tuesday 07 August 2007 03:55:00 AM Directory: ports-current Tuesday 05 June 2007 06:39:00 PM Directory: ports-stable Tuesday 05 June 2007 06:39:00 PM Directory: sparc64 Saturday 10 March 2007 07:01:00 AM Directory: sun4v Tuesday 05 June 2007 06:39:00 PM
Use the lynx command : lynx ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/www/firefox-22.214.171.124,3.tbz
pkg_add -v firefox-126.96.36.199,3.tbz
pkg_info -a pkg_info -a|grep firefox
pkg_delete pkg_delete -f
--- 2. Building the package from source.
FreeBSD port system: has the information that tells FreeBSD how to build and install the software from the original source code.
cd /usr/ports/ cd www cd firefox make make install
cd /usr/ports/www/firefox make deinstall
cd /usr/ports/www/firefox make clean
cd /usr/ports/www/firefox make distclean