Recent Changes - Search:

Softwares

.

Installing-Software-in-FreeBSD

Main.Installing-Software-in-FreeBSD History

Hide minor edits - Show changes to output

August 07, 2007, at 09:35 AM by 117.97.18.220 -
Added lines 1-70:
'''Installing-Software-in-FreeBSD'''

%blue%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


*Packages are found at Directory: packages Tuesday 05 June 2007 06:39:00 PM

*How to download ?

Use the lynx command :

lynx ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/www/firefox-1.5.0.12,3.tbz

*Once downloaded Install Using the command.

pkg_add -v firefox-1.5.0.12,3.tbz

*How to get a list of installed packages?

pkg_info -a
pkg_info -a|grep firefox

*How to i remove the packages?

pkg_delete
pkg_delete -f

---
%blue%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.

*For installing firefox from source.

cd /usr/ports/
cd www
cd firefox
make
make install

*Removing firefox.

cd /usr/ports/www/firefox
make deinstall

*Remove the work files

cd /usr/ports/www/firefox
make clean

*Remove downloaded source archive

cd /usr/ports/www/firefox
make distclean
Edit - History - Print - Recent Changes - Search
Page last modified on August 07, 2007, at 09:35 AM