title: Yum install graphviz on RHEL 7 fails with 'No package graphviz available.'
body: <p>I am trying to install graphviz on my RHEL VM. when I run </p>
  
  <pre><code>$sudo yum install graphviz
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>This system is not registered with an entitlement server. You can use subscription-manager to register.
  No package graphviz available.
  Error: Nothing to do
  </code></pre>
  
  <p>I later found out that I get this same problem with all packages.</p>
  
  <p>I have tried several solutions I have found online such as:</p>
  
  <ol>
  <li>saving the .repo file found <a href="https://gitlab.com/graphviz/graphviz/uploads/84f531a0571a194f82f015b9d672c61f/graphviz-rhel.repo" rel="nofollow noreferrer">here</a> (this link will download the file)</li>
  </ol>
  
  <p>then running</p>
  
  <pre><code>#from dir containing graphviz-rhel.repo
  $sudo yum-config-manager --add-repo graphviz-rhel.repo
  </code></pre>
  
  <p>the output was </p>
  
  <pre><code>This system is not registered with an entitlement server. You can use subscription-manager to register.
  adding repo from: graphviz-rhel.repo
  grabbing file graphviz-rhel.repo to /etc/yum.repos.d/graphviz-rhel.repo
  repo saved to /etc/yum.repos.d/graphviz-rhel.repo
  </code></pre>
  
  <p>Then I ran </p>
  
  <pre><code>$sudo yum-config-manager --enable graphviz-rhel
  </code></pre>
  
  <p>This gives no output and <code>$yum-config-manager list all</code> does not list anything related to graphviz as a repo (enabled or disabled)</p>
  
  <ol start="2">
  <li>I tried the solution here: <a href="https://stackoverflow.com/questions/35763282/failed-to-install-graphviz-packages-with-yum-command-on-my-rhel-server">failed to install &#39;graphviz*&#39; packages with yum command on my RHEL server</a></li>
  </ol>
  
  <p>except I found the rpm file <a href="http://rpmfind.net/linux/RPM/fedora/devel/rawhide/aarch64/g/graphviz-2.40.1-44.fc30.aarch64.html" rel="nofollow noreferrer">here</a></p>
  
  <p>When I ran the rpm command I got an error because I was missing a couple dozen dependencies so I dont think following this solution for all of them is a reasonable solution.</p>
  
  <p>If someone can either inform me why one of these didn't work or let me know how to accomplish my goal of getting <code>yum install &lt;package&gt;</code> to work I would greatly appreciate it.</p>