How To Install igraph on Fedora 34

igraph is Library for creating and manipulating graphs Library for creating and manipulating graphs

Introduction

In this tutorial we learn how to install igraph on Fedora 34.

What is igraph

igraph wants to be an efficient platform for 1) complex network analysis and 2) developing and implementing graph algorithms. It provides flexible and efficient data structures for graphs and related tasks. It also provides implementation to many classic and new graph algorithms like networks, community structure finding, etc. igraph 0.9.4 1.fc34 x86_64 1.2 M igraph-0.9.4-1.fc34.src.rpm updates Library for creating and manipulating graphs http GPLv2+ igraph wants to be an efficient platform for 1) complex network analysis and 2) developing and implementing graph algorithms. It provides flexible and efficient data structures for graphs and related tasks. It also provides implementation to many classic and new graph algorithms like networks, community structure finding, etc.

We can use yum or dnf to install igraph on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install igraph.

Install igraph on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install igraph using dnf by running the following command:

sudo dnf -y install igraph

Install igraph on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install igraph using yum by running the following command:

sudo yum -y install igraph

How To Uninstall igraph on Fedora 34

To uninstall only the igraph package we can use the following command:

sudo dnf remove igraph

igraph Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/e1ae1d77aa2ed74623b2064b0b8fc0fb3e1cfd
/usr/lib64/libigraph.so.0
/usr/lib64/libigraph.so.0.0.0
/usr/share/doc/igraph
/usr/share/doc/igraph/ACKNOWLEDGEMENTS.md
/usr/share/doc/igraph/AUTHORS
/usr/share/doc/igraph/CHANGELOG.md
/usr/share/doc/igraph/html
/usr/share/doc/igraph/html/home.png
/usr/share/doc/igraph/html/igraph-Advanced.html
/usr/share/doc/igraph/html/igraph-Arpack.html
/usr/share/doc/igraph/html/igraph-Attributes.html
/usr/share/doc/igraph/html/igraph-Basic.html
/usr/share/doc/igraph/html/igraph-Bipartite.html
/usr/share/doc/igraph/html/igraph-Cliques.html
/usr/share/doc/igraph/html/igraph-Coloring.html
/usr/share/doc/igraph/html/igraph-Community.html
/usr/share/doc/igraph/html/igraph-Cycles.html
/usr/share/doc/igraph/html/igraph-Data-structures.html
/usr/share/doc/igraph/html/igraph-Embedding.html
/usr/share/doc/igraph/html/igraph-Error.html
/usr/share/doc/igraph/html/igraph-Flows.html
/usr/share/doc/igraph/html/igraph-Foreign.html
/usr/share/doc/igraph/html/igraph-Generators.html
/usr/share/doc/igraph/html/igraph-Graphlets.html
/usr/share/doc/igraph/html/igraph-HRG.html
/usr/share/doc/igraph/html/igraph-Installation.html
/usr/share/doc/igraph/html/igraph-Introduction.html
/usr/share/doc/igraph/html/igraph-Isomorphism.html
/usr/share/doc/igraph/html/igraph-Iterators.html
/usr/share/doc/igraph/html/igraph-Layout.html
/usr/share/doc/igraph/html/igraph-Licenses.html
/usr/share/doc/igraph/html/igraph-Memory.html
/usr/share/doc/igraph/html/igraph-Motifs.html
/usr/share/doc/igraph/html/igraph-Nongraph.html
/usr/share/doc/igraph/html/igraph-Operators.html
/usr/share/doc/igraph/html/igraph-Random.html
/usr/share/doc/igraph/html/igraph-SCG.html
/usr/share/doc/igraph/html/igraph-Separators.html
/usr/share/doc/igraph/html/igraph-Spatial-Games.html
/usr/share/doc/igraph/html/igraph-Structural.html
/usr/share/doc/igraph/html/igraph-Tutorial.html
/usr/share/doc/igraph/html/igraph-Visitors.html
/usr/share/doc/igraph/html/index.html
/usr/share/doc/igraph/html/ix01.html
/usr/share/doc/igraph/html/left.png
/usr/share/doc/igraph/html/right.png
/usr/share/doc/igraph/html/stamp
/usr/share/doc/igraph/html/style.css
/usr/share/doc/igraph/html/toggle.js
/usr/share/doc/igraph/html/up.png
/usr/share/doc/igraph/licenses
/usr/share/doc/igraph/licenses/Licence_CeCILL-B_V1-en.txt
/usr/share/doc/igraph/licenses/Licence_CeCILL-B_V1-fr.txt
/usr/share/doc/igraph/licenses/gpl-2.0.txt
/usr/share/doc/igraph/licenses/gpl-3.0.txt
/usr/share/doc/igraph/licenses/lgpl-2.1.txt
/usr/share/doc/igraph/licenses/lgpl-3.0.txt
/usr/share/licenses/igraph
/usr/share/licenses/igraph/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/8439b192905db28fb1207806c7dc2c745f6d3b
/usr/lib/libigraph.so.0
/usr/lib/libigraph.so.0.0.0
/usr/share/doc/igraph
/usr/share/doc/igraph/ACKNOWLEDGEMENTS.md
/usr/share/doc/igraph/AUTHORS
/usr/share/doc/igraph/CHANGELOG.md
/usr/share/doc/igraph/html
/usr/share/doc/igraph/html/home.png
/usr/share/doc/igraph/html/igraph-Advanced.html
/usr/share/doc/igraph/html/igraph-Arpack.html
/usr/share/doc/igraph/html/igraph-Attributes.html
/usr/share/doc/igraph/html/igraph-Basic.html
/usr/share/doc/igraph/html/igraph-Bipartite.html
/usr/share/doc/igraph/html/igraph-Cliques.html
/usr/share/doc/igraph/html/igraph-Coloring.html
/usr/share/doc/igraph/html/igraph-Community.html
/usr/share/doc/igraph/html/igraph-Cycles.html
/usr/share/doc/igraph/html/igraph-Data-structures.html
/usr/share/doc/igraph/html/igraph-Embedding.html
/usr/share/doc/igraph/html/igraph-Error.html
/usr/share/doc/igraph/html/igraph-Flows.html
/usr/share/doc/igraph/html/igraph-Foreign.html
/usr/share/doc/igraph/html/igraph-Generators.html
/usr/share/doc/igraph/html/igraph-Graphlets.html
/usr/share/doc/igraph/html/igraph-HRG.html
/usr/share/doc/igraph/html/igraph-Installation.html
/usr/share/doc/igraph/html/igraph-Introduction.html
/usr/share/doc/igraph/html/igraph-Isomorphism.html
/usr/share/doc/igraph/html/igraph-Iterators.html
/usr/share/doc/igraph/html/igraph-Layout.html
/usr/share/doc/igraph/html/igraph-Licenses.html
/usr/share/doc/igraph/html/igraph-Memory.html
/usr/share/doc/igraph/html/igraph-Motifs.html
/usr/share/doc/igraph/html/igraph-Nongraph.html
/usr/share/doc/igraph/html/igraph-Operators.html
/usr/share/doc/igraph/html/igraph-Random.html
/usr/share/doc/igraph/html/igraph-SCG.html
/usr/share/doc/igraph/html/igraph-Separators.html
/usr/share/doc/igraph/html/igraph-Spatial-Games.html
/usr/share/doc/igraph/html/igraph-Structural.html
/usr/share/doc/igraph/html/igraph-Tutorial.html
/usr/share/doc/igraph/html/igraph-Visitors.html
/usr/share/doc/igraph/html/index.html
/usr/share/doc/igraph/html/ix01.html
/usr/share/doc/igraph/html/left.png
/usr/share/doc/igraph/html/right.png
/usr/share/doc/igraph/html/stamp
/usr/share/doc/igraph/html/style.css
/usr/share/doc/igraph/html/toggle.js
/usr/share/doc/igraph/html/up.png
/usr/share/doc/igraph/licenses
/usr/share/doc/igraph/licenses/Licence_CeCILL-B_V1-en.txt
/usr/share/doc/igraph/licenses/Licence_CeCILL-B_V1-fr.txt
/usr/share/doc/igraph/licenses/gpl-2.0.txt
/usr/share/doc/igraph/licenses/gpl-3.0.txt
/usr/share/doc/igraph/licenses/lgpl-2.1.txt
/usr/share/doc/igraph/licenses/lgpl-3.0.txt
/usr/share/licenses/igraph
/usr/share/licenses/igraph/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/8e51f23213a5d800eebb3431ec2796f9b681cd
/usr/lib64/libigraph.so.0
/usr/lib64/libigraph.so.0.0.0
/usr/share/doc/igraph
/usr/share/doc/igraph/AUTHORS
/usr/share/doc/igraph/NEWS
/usr/share/doc/igraph/doc
/usr/share/doc/igraph/doc/Makefile
/usr/share/doc/igraph/doc/Makefile.in
/usr/share/doc/igraph/doc/igraph.3
/usr/share/licenses/igraph
/usr/share/licenses/igraph/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/79d565e16b24415dbebe1c340a1d1d4119fbb2
/usr/lib/libigraph.so.0
/usr/lib/libigraph.so.0.0.0
/usr/share/doc/igraph
/usr/share/doc/igraph/AUTHORS
/usr/share/doc/igraph/NEWS
/usr/share/doc/igraph/doc
/usr/share/doc/igraph/doc/Makefile
/usr/share/doc/igraph/doc/Makefile.in
/usr/share/doc/igraph/doc/igraph.3
/usr/share/licenses/igraph
/usr/share/licenses/igraph/COPYING

References

Summary

In this tutorial we learn how to install igraph on Fedora 34 using yum and dnf.