Cannot find the graphviz package in apt on 18.04.1 LTS

10,832

I found the answer myself, I didn't have the "Universe" repository enabled in Ubuntu. I just had to run the following

sudo add-apt-repository universe
sudo apt update

And then installing it worked with

sudo apt install graphviz
Share:
10,832

Related videos on Youtube

ChickenOverlord
Author by

ChickenOverlord

Updated on September 18, 2022

Comments

  • ChickenOverlord
    ChickenOverlord over 1 year

    I'm trying to install graphviz on 18.04 but when I try to install it it says it is unavailable, despite being listed as having been released for 18.04: https://www.ubuntuupdates.org/package/core/bionic/universe/base/graphviz

    I ran apt-get update and it is still missing from the repos. Does anyone know where to find it, or a PPA I could add to install it from?

  • William Rosenbloom
    William Rosenbloom over 5 years
    You should mark this as the answer. It was a life saver for me.
  • ChickenOverlord
    ChickenOverlord over 5 years
    Done. Yeah I was trying to install Netbox, and sadly the Netbox guide didn't havee a tip along the lines of "Ubuntu Server doesn't have all the official Ubuntu repos enabled by default" which would have saved me the original headache too. It probably didn't because the repo it's in changed from 16.04 to 16.08
  • sarki_roka
    sarki_roka over 2 years
    if you cannot add repo by name, see this: askubuntu.com/questions/148638/…
  • Admin
    Admin about 2 years
    bash: add-apt-repository: command not found
  • Admin
    Admin about 2 years
    @Owl Whether or not this works may depend on the version of Ubuntu you're running, but you may need to run "sudo apt-get install software-properties-common" to get the add-apt-repository command added
  • Admin
    Admin about 2 years
    @ChickenOverlord that fixed it, nice work!