I'm trying to install graphviz version 2.38 on my RHEL workstation. I saved graphviz-rhel.repo in /etc/yum.repos.d as instructed, but when I run sudo yum list available 'graphviz*', the only version it finds is 2.30, which has a bug that has been fixed in later versions so I need to have 2.38. I think the links in graphviz-rhel.repo might be broken which is why yum doesn't find the latest stable packages, but I'm not 100% sure. Thank you.
1 Answer
Use yum repolist all to see all repos. Use then yum-config-manager --enable repository-id to enable your graphviz repo.
If your repo is not listened try yum-config-manager --add-repo http://www.graphviz.org/graphviz-rhel.repo to add your repo.
-
I tried both of these. When I used
yum repolist allI got a few disabled graphviz repos. Then I tried enabling them all but on the status it said 0 after the word "enabled" which I'm guessing means that it's enabled but has no packages? I confirmed this to be true by runningyum list available 'graphviz*'again and the only version listed after enabling them were still 2.30.Gustavo Rodriguez– Gustavo Rodriguez2016-12-01 16:51:20 +00:00Commented Dec 1, 2016 at 16:51 -
I think the problem might be that this repo doesn't exist for my particular OS and architecture. When I type
yum repolist allI get this which is caused by the graphviz-rhel.repo I added to/etc/yum.repo.d:http://www.graphviz.org/pub/graphviz/development/redhat/el7Workstation/x86_64/debug/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not FoundGustavo Rodriguez– Gustavo Rodriguez2016-12-02 17:08:15 +00:00Commented Dec 2, 2016 at 17:08 -
Ah. You have this version. Yes, theres is no repo for it. Check this: graphviz.org/pub/graphviz/development/redhatTobias– Tobias2016-12-02 18:15:56 +00:00Commented Dec 2, 2016 at 18:15
-
You can try the source rpm from graphviz.org. There is one for Red Hat. Howto: itechlounge.net/2012/12/… PS: I have no expereiance with this - just a tip.Tobias– Tobias2016-12-02 18:31:45 +00:00Commented Dec 2, 2016 at 18:31
yum updatebefore searching?yum updateupgrades packages, it's not the same asapt-get update.yum makecache.