# Installing GraphViz on Protege 5.5 Mac OS

**URL:** <https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595>\
**Category:** Help\
**Created:** [April 6, 2021, 10:00am UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595 "2021-04-06T10:00:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yousra](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@yousra](https://forum.graphviz.org/u/yousra)\
**Post date:** [April 6, 2021, 10:00am UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/1 "2021-04-06T10:00:57Z")

</div>

I am using Protege 5.5 and needs GraphViz to visualise the ontology.  
I have followed the instructions in [Download | Graphviz](https://graphviz.org/download/#mac)  
But I am not sure what is the right port for me …

If any can please help in this urgent issue.

When I used Protege 3 and 4 earlier, it was easier by inserting the path of Graphviz.

---

<div class="post-metadata">

**Author:** ![smattr](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/smattr/32/85_2.png) [@smattr](https://forum.graphviz.org/u/smattr)\
**Post date:** [April 6, 2021, 3:05pm UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/2 "2021-04-06T15:05:20Z")

</div>

I am not sure what Protege is and an internet search turns up nothing relevant, but I assume that is not required knowledge for this question. You are probably best off installing Graphviz from either Macports or Homebrew that take the hard work out of building and packaging.

---

<div class="post-metadata">

**Author:** ![yousra](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@yousra](https://forum.graphviz.org/u/yousra)\
**Post date:** [April 6, 2021, 3:56pm UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/3 "2021-04-06T15:56:17Z")

</div>

Any guide that you can refer for building and packaging ?

Appreciate it

---

<div class="post-metadata">

**Author:** ![smattr](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/smattr/32/85_2.png) [@smattr](https://forum.graphviz.org/u/smattr)\
**Post date:** [April 7, 2021, 4:27am UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/4 "2021-04-07T04:27:02Z")

</div>

For installing from [Macports](https://www.macports.org/) or [Homebrew](https://brew.sh/), you are best off referring to their websites that give good introductions to what they are and how you would use them to install software like Graphviz.

If you’re asking how you would build Graphviz yourself from source, you should probably refer to the paths for “Darwin” in the [ci/build.sh](https://gitlab.com/graphviz/graphviz/-/blob/main/ci/build.sh) we run in regular testing. In short, you probably want something like:

```plaintext
git clone https://gitlab.com/graphviz/graphviz -b 2.47.0
cd graphviz
./autogen.sh
./configure --prefix=/opt/graphviz-2.47.0 --with-quartz=yes
make
make install

```

This will build and install Graphviz 2.47.0 to /opt/graphviz-2.47.0. To get this working though, you will need all the build dependencies we install in CI, [https://gitlab.com/graphviz/graphviz/-/blob/main/.gitlab-ci.yml#L77](https://gitlab.com/graphviz/graphviz/-/blob/main/.gitlab-ci.yml#L77).

---

<div class="post-metadata">

**Author:** ![yousra](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@yousra](https://forum.graphviz.org/u/yousra)\
**Post date:** [April 15, 2021, 7:33pm UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/5 "2021-04-15T19:33:59Z")

</div>

Thanks … I executed the commands …  
I was able to found the directory. However, only Graphviz has been installed but all library dependencies are not created yet.

Can you please provide me all required commands to create the required dependencies.  
My Mac version is 11.

I need Graphviz on Protege 5.5 tool.

---

<div class="post-metadata">

**Author:** ![smattr](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/smattr/32/85_2.png) [@smattr](https://forum.graphviz.org/u/smattr)\
**Post date:** [April 16, 2021, 12:02am UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/6 "2021-04-16T00:02:53Z")

</div>

> [@yousra](#):
>
> but all library dependencies are not created yet.

Sorry, I am not quite sure what you mean by this. You mean the `make install` step did not also install, e.g., libgvc?

I think you are probably better off using Homebrew or Macports as I mentioned above. Their sites should explain how to install Graphviz from their repositories, which will take care of dependency resolution etc. Is there any reason you _need_ to build Graphviz from source?

---

<div class="post-metadata">

**Author:** ![yousra](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@yousra](https://forum.graphviz.org/u/yousra)\
**Post date:** [April 22, 2021, 1:51pm UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/7 "2021-04-22T13:51:40Z")

</div>

Yes when I make install, the Graph viz folder is created in directory. However, the terminal couldn’t show me the library installations.  
Is there is any relation to the Mac OS version. ?

This happened the same with the Homebrew.

---

<div class="post-metadata">

**Author:** ![smattr](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/smattr/32/85_2.png) [@smattr](https://forum.graphviz.org/u/smattr)\
**Post date:** [April 22, 2021, 2:53pm UTC](https://forum.graphviz.org/t/installing-graphviz-on-protege-5-5-mac-os/595/8 "2021-04-22T14:53:59Z")

</div>

The Graphviz binaries will end up in the bin/ folder, while libraries will end up in a lib/ folder. Homebrew may put libraries somewhere under /usr/lib/ but I am not a macOS expert.
