Personal tools
You are here: Home Tutorials User Guides Pkgsrc
Document Actions

Pkgsrc

Checking out pkgsrc


mkdir /path/to/root/of/local/cvs/sandbox
cd /path/to/root/of/local/cvs/sandbox

setenv CVS_RSH ssh
setenv CVSROOT anoncvs@anoncvs.NetBSD.org:/cvsroot

cvs checkout -l pkgsrc # check out only a few files to verify setup
cd pkgsrc # this directory should have been created
cvs update -PAd # get everything else (this will take awhile)
cvs update -PAd -r pkgsrc-2008Q1 # get everything from a specific revision

Bootstrapping pkgsrc

cd pkgsrc/bootstrap
./bootstrap

Installing a package

cd pkgsrc/editors/emacs
make
make install
make clean

Making a binary package

cd pkgsrc/editors/emacs
make package

Additional resources

Overall description of pkgsrc

Pkgsrc guide




Powered by Plone CMS, the Open Source Content Management System