Ports Tree, Updating

From FreeBSDwiki
Revision as of 16:25, 24 August 2004 by Dave (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To update your FreeBSD system, you'll probably want to sync your sources to the live sources offered via CVS. There is a port cvsup that you can use to update your other ports and source trees if you want.

== Installing CVSup ==

You'll need to have superuser access, so su to root and then go to your /usr/ports/net/ directory. There are two versions of cvsup available to you: cvsup and cvsup-without-gui (for systems that don't have or need the cvsup GUI). Pick the one that's most apporpriate for you and go into that directory and "make install clean":

   dave@samizdata:~% su -
   samizdata# cd /usr/ports/net/
   samizdata# ls cvsup*
     Makefile        distinfo        pkg-descr.nogui scripts
     README.html     pkg-descr       pkg-plist
     Makefile        files           pkg-descr       pkg-plist
     README.html     pkg-deinstall   pkg-install     scripts
     Makefile        README.html
     Makefile        pkg-descr       pkg-plist
     README.html     pkg-install     pkg-req
   samizdata# cd cvsup-without-gui/
   samizdata# ls
    Makefile        README.html
   samizdata# make install clean

See also: [The FreeBSD Handbook's section on cvsup and updating]

Personal tools