# installation issue with Bro doctor

**URL:** <https://community.zeek.org/t/installation-issue-with-bro-doctor/5023>\
**Category:** Zeek\
**Created:** [September 19, 2017, 10:12pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023 "2017-09-19T22:12:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Wylie](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@Brian\_Wylie](https://community.zeek.org/u/Brian_Wylie)\
**Post date:** [September 19, 2017, 10:12pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/1 "2017-09-19T22:12:32Z")

</div>

Hi All,

- Ubuntu 16.04
- Bro installed from Source (from repo updated today)
- Using pyenv for python virtualenv
- pip install bro-pkg

(bro3) bro-user@bro:~$ bro-pkg install bro-doctor

The following packages will be INSTALLED:

bro/ncsa/bro-doctor (1.9.0)

Proceed? [Y/n] Y

Skipping unit tests for “bro/ncsa/bro-doctor”: no test\_command in metadata

Installing “bro/ncsa/bro-doctor”

Installed “bro/ncsa/bro-doctor” (1.9.0)

(bro3) bro-user@bro:/opt/bro/share$ bro-pkg list

bro/ncsa/bro-doctor (installed: 1.9.0) - A broctl plugin that helps you troubleshoot common problems

(bro3) bro-user@bro:/opt/bro/share$ broctl doctor.bro

Error: unknown command ‘doctor.bro’

BroControl Version 1.7-7

…

So… I did a find under /opt for doctor.bro or bro-doctor\* etc… I didn’t find anything… so I’m sure it’s just pilot error… can someone point out where I went wrong ?

Cheers,

-Brian

---

<div class="post-metadata">

**Author:** ![Azoff\_Justin\_S](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Azoff\_Justin\_S](https://community.zeek.org/u/Azoff_Justin_S)\
**Post date:** [September 19, 2017, 10:28pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/2 "2017-09-19T22:28:34Z")

</div>

I think you need an initial

&nbsp;&nbsp;&nbsp;bro-pkg autoconfig

That will cause bro-pkg to figure out where your bro installation is. I think otherwise it installs to your home directory.

Also, there’s a bug in bro-pkg (that should be fixed very soon) that is causing bro-pkg to install an older version of bro-doctor, so for now you’ll want to do

&nbsp;&nbsp;&nbsp;&nbsp;bro-pkg install bro-doctor --version 1.13.0

To force it to install the latest version.

---

<div class="post-metadata">

**Author:** ![seth](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/seth/32/642_2.png) [@seth](https://community.zeek.org/u/seth)\
**Post date:** [September 20, 2017, 1:43pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/3 "2017-09-20T13:43:54Z")

</div>

You need to write the output from that in ~/.bro-pkg/config too. I don't think it automatically puts the config in there.

&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![Azoff\_Justin\_S](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Azoff\_Justin\_S](https://community.zeek.org/u/Azoff_Justin_S)\
**Post date:** [September 20, 2017, 1:45pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/4 "2017-09-20T13:45:06Z")

</div>

jazoff@mbp ~ $ bro-pkg autoconfig  
Successfully wrote config file to /Users/jazoff/.bro-pkg/config

🙂

---

<div class="post-metadata">

**Author:** ![seth](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/seth/32/642_2.png) [@seth](https://community.zeek.org/u/seth)\
**Post date:** [September 20, 2017, 2:05pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/5 "2017-09-20T14:05:34Z")

</div>

Ah, that behavior is different than it used to be then. Pretty good to see actually! I like that better than having to write to the file yourself.

&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:45pm UTC](https://community.zeek.org/t/installation-issue-with-bro-doctor/5023/6 "2022-05-06T15:45:16Z")

</div>


