Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 02:04:46 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        Alvaro Gil <Alvaro@AlvaroGil.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Silly question.  How to install ports.
Message-ID:  <20020126070446.A3D7F3FE5@i8k.babbleon.org>
In-Reply-To: <p05101003b87801a5d4d8@[192.168.1.3]>
References:  <p05101003b87801a5d4d8@[192.168.1.3]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 January 2002 01:52 am, Alvaro Gil wrote:
> I am having trouble installing ports.  I am trying to update apache
> to 1.3.22. I downloaded the tarball and did a pkg_add
> apacheblabla.tar.  it made a new group called www and quit.
>
> Is this how one usually installs ports?  How do you install a port in
> the ports directory or if its not in a tarball?  I know this info is
> online somewhere but I cannot seem to find it right now.

Well, the usual way to install a port is:

cd /usr/ports/*/portname

make install

If that is the older version, then you do

make deinstall
cd /usr/ports/*/cvsup
make install

cd /usr/ports
cp /usr/share/examples/cvsup/ports-supfile mysup
edit mysup to pick the server to use
cvsup

and *then*

cd /usr/ports/*/portname
make install


You pkg_add a *package* (thus the name), not a *port*; you can get packages 
from the freebsd.org website.

There's lots more info in the FreeBSD handbook.  You should check it out.


>
> Thanks.

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

-------> Free Dmitry Sklyarov!  (let him go home)  <-----------

http://www.eff.org                 http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020126070446.A3D7F3FE5>