pavement

Ports Tree, Updating

From FreeBSDwiki
Revision as of 20:08, 24 August 2004 by Jimbo (Talk | contribs)
Jump to: navigation, search

When updating your FreeBSD system, you'll first 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. If you hail from a Windows environment, you may think of keeping your sources updated as about the first half of the FreeBSD procedure which corresponds to Windows Update.

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 -
   Password:
   samizdata# cd /usr/ports/net/
   samizdata# ls cvsup*
     cvsup:
     Makefile        distinfo        pkg-descr.nogui scripts
     README.html     pkg-descr       pkg-plist
     cvsup-mirror:
     Makefile        files           pkg-descr       pkg-plist
     README.html     pkg-deinstall   pkg-install     scripts
     cvsup-without-gui:
     Makefile        README.html
     cvsupit:
     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