Note: Ignore the comments below, they relate to a previous version of this page.
In a SmartOS zone
If you are working in a SmartOS zone, pkgin is already installed. See the "Post-Install Steps" section on https://pkgsrc.joyent.com/install-on-illumos/ to see some commonly-used pkgin/pkgsrc commands.
In the Global zone
If you wish to install pkgsrc into the global zone, go to https://pkgsrc.joyent.com/install-on-illumos/ and run the commands listed under the "64-bit tools (SmartOS GZ)" package set.
Labels:
None
4 Comments
comments.show.hideJul 12, 2012
Nigel Magnay
or the later repository bootstrap:
http://pkgsrc.joyent.com/sdc/2012Q1/x86_64/bootstrap.tar.gz
Apr 16, 2013
Per Sjoholm
Or
http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/
http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2013Q1-x86_64.tar.gz
Sep 04, 2013
Bach
I have followed those exact same steps above using
# cd /
# curl -k http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2013Q1-x86_64.tar.gz | gzcat | tar -xf -
# pkg_admin rebuild
# pkgin -y up
Output of that was:
pkg_admin: heimdal-1.5.2nb2: Symlink `/opt/local/man/man5/qop.5' exists and is in +CONTENTS but target does not exist!
Stored 138992 files and 68 explicit directories from 687 packages in /opt/local/pkg/pkgdb.byfile.db.
Done.
I thought it all went well, except it didn't!
now whatever command i run i get this error:
# ls
ld.so.1: ls: fatal: /opt/local/lib/libintl.so.8: wrong ELF class: ELFCLASS64
Killed
# vim
ld.so.1: vim: fatal: /opt/local/lib/libncurses.so.5: wrong ELF class: ELFCLASS64
Killed
Please help!
thanks
Sep 21, 2013
Martin Kuchar
Bach, try with this package: http://pkgsrc.smartos.org/packages/SmartOS/bootstrap/bootstrap-trunk.tar.gz
works for me nicely, just installed on fresh SmartOS install.