Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. add path to /opt/local where all software is installed:
    export PATH=/opt/local/sbin:/opt/local/bin:$PATH

  2. install the bootstrap-loader:
    curl http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2013Q2-x86_64.tar.gz | gtar -zxpf - -C /

  3. update repository database:
    pkgin -y update

  4. install the needed package, example Apache 2.4.6
    pkgin -y install apache-2.4.6

    or
    pkgin -y install apache-2.4  (for newest 2.4)

    more: http://wiki.smartos.org/display/DOC/Working+with+Packages
    http://www.perkin.org.uk/posts/whats-new-in-pkgsrc-2013Q2.html

Option 3: Compile yourself

...