Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Install dependencies

$ pfexec pkg install cvs build-essential

Bootstrapping pkgsrc

Set Specify your preferred location, preferable /opt/PKGSRC You can specify a different path

$ mkdir -p /opt/PKGSRC/{usr/bin,usr/sbin} && PKGSRC_OPT_PATH='/opt/PKGSRC'
$ cd $PKGSRC_OPT_PATH; export CVS_RSH=ssh; cvs -d co pkgsrc

The authenticity of host ' (' can't be established.
RSA key fingerprint isSHA256:oeLj1lbu1HBb/Mc2ERoP11g8JDFnrHWvSvPTXOu9bXw.

$ cd $PKGSRC_OPT_PATH/pkgsrc/bootstrap
$ ./bootstrap
$ ./cleanup
$ export PATH=$PKGSRC_OPT_PATH/usr/bin:$PKGSRC_OPT_PATH/usr/sbin:$PATH
Examples install nano
$ cd /opt/PKGSRC/pkgsrc/*/nano
$ bmake


$ echo "export PATH=$PKGSRC_OPT_PATH/usr/bin:$PKGSRC_OPT_PATH/usr/sbin:$PATH" >> $HOME/.profile
Examples install nano
$ cd /opt/PKGSRC/pkgsrc/*/nano
$ bmake
  • No labels