Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2010 12:11:07 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: I am new to BSD
Message-ID:  <20100501181107.GB93238@guilt.hydra>
In-Reply-To: <201004302034.o3UKYpVr032100@yoda.pixi.com>
References:  <201004302034.o3UKYpVr032100@yoda.pixi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--XF85m9dhOBO43t/C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 30, 2010 at 10:34:52AM +0000, osp@aloha.com wrote:
>=20
> cd /usr/ports/net/asterisk
> make
> (get a snack)
> make install
> make clean

Once you're in the appropriate directory, all the make commands can be
kicked off at once:

    make install clean


>=20
> I prefer to use portinstall and portupgrade.=20

So do I, generally, but knowing how to use make directly to install ports
is still a good skill to have, so it's good you brought it up.


>=20
> Be sure to use portsnap to freshen up your ports tree and when you add a
> new port to an existing system do a portupgrade -a first so what you
> already have is up to date.
>=20
> Be sure to read /usr/ports/UPDATING before you update anything.

The importance of this cannot very easily be overstated.  It's better to
deal with any special handling the upgrading of specific ports need in
advance than to have things break and need to go back and fix them
afterward.  The /usr/ports/UPDATING file gives the guidance we need to
ensure that things get handled right the first time.

In fact, I basically never use portupgrade -a, because I want to make
sure I don't overlook something.

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

--XF85m9dhOBO43t/C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvcbrsACgkQ9mn/Pj01uKUedgCg1PlLsJfd+EJ0xadxX/lcRele
SrUAoNzOIpkzmw59BoioO3xc+XNp5Xeo
=jJAv
-----END PGP SIGNATURE-----

--XF85m9dhOBO43t/C--



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