# pkgadd

**URL:** <https://community.unix.com/t/pkgadd/148443>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [March 24, 2004, 3:39pm UTC](https://community.unix.com/t/pkgadd/148443 "2004-03-24T15:39:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alsande](https://community.unix.com/letter_avatar/alsande/32/5_5575768a8748004e209b776fc1b2916d.png) [@alsande](https://community.unix.com/u/alsande)\
**Post date:** [March 24, 2004, 3:39pm UTC](https://community.unix.com/t/pkgadd/148443/1 "2004-03-24T15:39:41Z")

</div>

I am adding gcc 3.3.2 to my unix box what is the best way  
to do it????

---

<div class="post-metadata">

**Author:** ![Optimus\_P](https://community.unix.com/letter_avatar/optimus_p/32/5_5575768a8748004e209b776fc1b2916d.png) [@Optimus\_P](https://community.unix.com/u/Optimus_P)\
**Post date:** [March 24, 2004, 3:42pm UTC](https://community.unix.com/t/pkgadd/148443/2 "2004-03-24T15:42:29Z")

</div>

the way the instructions tell you.

---

<div class="post-metadata">

**Author:** ![dangral](https://community.unix.com/letter_avatar/dangral/32/5_5575768a8748004e209b776fc1b2916d.png) [@dangral](https://community.unix.com/u/dangral)\
**Post date:** [March 24, 2004, 6:04pm UTC](https://community.unix.com/t/pkgadd/148443/3 "2004-03-24T18:04:28Z")

</div>

good one Optimus..it's too easy sometimes 🙂

since the subject is pkgadd, I'm assuming that's an option. It will do everything for you. It's pretty simple.  
Do a man on pkgadd.

---

<div class="post-metadata">

**Author:** ![silvaman](https://community.unix.com/letter_avatar/silvaman/32/5_5575768a8748004e209b776fc1b2916d.png) [@silvaman](https://community.unix.com/u/silvaman)\
**Post date:** [March 25, 2004, 4:14pm UTC](https://community.unix.com/t/pkgadd/148443/4 "2004-03-25T16:14:06Z")

</div>

Optimus\_P ...tell them 🙂

pkgadd -d \<path to gcc package\>

solaris packages usually have .pkg suffix

also if u omit the -d flag it will default to the /var/spool/pkg directory

moral of the story read man page only takes a few minutes !!

---

<div class="post-metadata">

**Author:** ![TRUEST](https://community.unix.com/letter_avatar/truest/32/5_5575768a8748004e209b776fc1b2916d.png) [@TRUEST](https://community.unix.com/u/TRUEST)\
**Post date:** [March 27, 2004, 2:25am UTC](https://community.unix.com/t/pkgadd/148443/5 "2004-03-27T02:25:03Z")

</div>

> [@](#):
>
> Originally posted by silvaman  
> Optimus\_P ...tell them 🙂
> 
> moral of the story read man page only takes a few minutes !!

not in most situations. man pages aren't always to the point which is what most unix admins that work in a fast pace environment WANT
