Install graphviz > 2.30 on Amazon Linux 2

Hey guys,

just wanted to ask what the best option is to install the most recent version of graphviz on Amazon Linux 2 EC2 Instance.
When I do a yum list | grep graphviz there I´m getting just the 2.30 version which is from 2018 :frowning:

Thanks guys and Greetings,


Is it a possibility to use a newer operating system? I think on EC2 you usually get to choose which OS you’re running?

If not, download the Graphviz source package and compile it on your machine?

Sometimes I wonder if we should offer a statically linked version of Graphviz for situations like this. It sure is convenient when using go-based tools to download a pre-compiled binary and just run it…

Not that I really know how to make that work though :slight_smile:

I do. I have an upcoming MR that enables this in CI, but it’s queued behind a lot of other stuff. If there’s a strong interest to have it, I can prioritize it.

Hey there,

uhmmmm, I have a strong interest :smiley: … not sure, if you need more guys with a “strong interest” to really push it forward in your queue.
But in any way thanks for your reply…

1 Like

for the time being we installed docker on the ec2 machine and used an apline linux to get a newer version there.
Now we at least have 2.47.

I have had multiple requests – both public and private – for a static binary. Part of this surely stems from the major Linux package ecosystems only having outdated versions of Graphviz. It would be great to see updated Graphviz versions in these package repositories, but we rely on downstream volunteers to do this work.

I’m looking into this now.

I’ve submitted a draft MR now, but we need sort out at least one problem before we can merge it.