[[!meta title="How to use pkgsrc on Solarish (Illumos based)"]]
This page will cover the requirement to bootstrap pkgsrc successfully on Illumos based Solarish systems.
[Prebuilt binaries & a repository of packages is provided by Joyent](http://pkgsrc.joyent.com) so it is not necessary to go through this process unless by choice.
It is assumed that a copy of the pkgsrc files have been [obtained](http://pkgsrc.org/#index3h1) and uncompressed, ready to bootstrap.
At the time of writing the latest build available was r151012 which had GCC 4.8.x available.
On a freshly installed system the only components needed to bootstrap pkgsrc successfully is GCC, lint, linker object-files and header files.
# pkg install gcc48 header linker lint object-file header-math
pkgsrc can then be bootstrapped as [normal](http://www.netbsd.org/docs/pkgsrc/platforms.html#bootstrapping-pkgsrc)
All that's required is for the <code>develop</code> overlay to be installed in order to successfully bootstrap pkgsrc on Tribblix.
# zap install-overlay develop
On the 151a8 development release of OpenIndiana, the installation of GCC & GNU binutils is required alongside lint, object-files and header files to bootstrap pkgsrc successfully.
# pkg install illumos-gcc gnu-binutils system/header developer/library/lint object-file header-math
# PATH=/opt/gcc/4.4.4/bin:/usr/gnu/bin:$PATH pkgsrc/bootstrap/bootstrap
Comes with all necessary component to bootstrap pkgsrc out of the box, just ensure <code>PATH</code> contains the path to GCC & linker <code>/opt/gcc/4.4.4/bin:/usr/gnu/bin</code> when performing a system wide install as root. No changes required when performing an [unprivileged bootstrap](http://www.netbsd.org/docs/pkgsrc/platforms.html#bootstrapping-pkgsrc) as environment contains necessary settings.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb