# Solaris 11 man pages won't show on CLI

**URL:** <https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767>\
**Category:** Solaris\
**Created:** [August 2, 2016, 5:40am UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767 "2016-08-02T05:40:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nazimbilir](https://community.unix.com/letter_avatar/nazimbilir/32/5_5575768a8748004e209b776fc1b2916d.png) [@nazimbilir](https://community.unix.com/u/nazimbilir)\
**Post date:** [August 2, 2016, 5:40am UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/1 "2016-08-02T05:40:26Z")

</div>

Hello guys,

I am a newbie. Just freshly installed Solaris 11. When I try to type for example `root@t1000:~# man zpool` It says `bash: man: command not found` . It used to show manual pages before installation. Any help is appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![jim\_mcnamara](https://community.unix.com/letter_avatar/jim_mcnamara/32/5_5575768a8748004e209b776fc1b2916d.png) [@jim\_mcnamara](https://community.unix.com/u/jim_mcnamara)\
**Post date:** [August 2, 2016, 7:04am UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/2 "2016-08-02T07:04:57Z")

</div>

Check the environment variable MANPATH. There are several different directories that have a `share` directory in them, most are in the `/usr` directory tree. These contain the man pages.

---

<div class="post-metadata">

**Author:** ![achenle](https://community.unix.com/letter_avatar/achenle/32/5_5575768a8748004e209b776fc1b2916d.png) [@achenle](https://community.unix.com/u/achenle)\
**Post date:** [August 2, 2016, 2:25pm UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/3 "2016-08-02T14:25:28Z")

</div>

What's the value of the PATH environment variable? Given the error says "man: command not found", it's more likely to be your PATH environment variable that's gotten corrupted.

---

<div class="post-metadata">

**Author:** ![jlliagre](https://community.unix.com/letter_avatar/jlliagre/32/5_5575768a8748004e209b776fc1b2916d.png) [@jlliagre](https://community.unix.com/u/jlliagre)\
**Post date:** [August 2, 2016, 7:09pm UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/4 "2016-08-02T19:09:29Z")

</div>

> [@nazimbilir](#):
>
> It used to show manual pages before installation.

This information looks to be irrelevant to the current issue unless what was previously installed was also Solaris 11.

In any case, it can't be a MANPATH issue and is very unlikely to be a wrong PATH either, "man" being in /bin "and" /usr/bin.

The most plausible reason is you simply didn't install the "man" command. To fix this, simply run:

```plaintext
pkg install doctools

```

or

```plaintext
sudo pkg install doctools

```

---

<div class="post-metadata">

**Author:** ![jim\_mcnamara](https://community.unix.com/letter_avatar/jim_mcnamara/32/5_5575768a8748004e209b776fc1b2916d.png) [@jim\_mcnamara](https://community.unix.com/u/jim_mcnamara)\
**Post date:** [August 2, 2016, 10:36pm UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/5 "2016-08-02T22:36:25Z")

</div>

jlliagre is correct. I was wrong about MANPATH. MANPATH causes man pages not to be found, it does not affect the execution of the man command.

---

<div class="post-metadata">

**Author:** ![nazimbilir](https://community.unix.com/letter_avatar/nazimbilir/32/5_5575768a8748004e209b776fc1b2916d.png) [@nazimbilir](https://community.unix.com/u/nazimbilir)\
**Post date:** [August 2, 2016, 11:52pm UTC](https://community.unix.com/t/solaris-11-man-pages-wont-show-on-cli/361767/6 "2016-08-02T23:52:14Z")

</div>

Thank you guys..This code did the magic.

```nohighlight
pkg install doctools 

```
