How To Install gnet2 on Fedora 36

In this tutorial we learn how to install gnet2 in Fedora 36. gnet2 is A simple network library built upon glib

Introduction

In this tutorial we learn how to install gnet2 on Fedora 36.

What is gnet2

GNet is a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be easy to use and port.

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

Install gnet2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gnet2

Install gnet2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gnet2

How To Uninstall gnet2 on Fedora 36

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

sudo dnf remove gnet2

gnet2 Package Contents on Fedora 36

---
title: "How To Install gnet2 on Fedora 36"
linkTitle: "gnet2"
type: "docs"
description: "In this tutorial we learn how to install gnet2 in Fedora 36. gnet2 is A simple network library built upon glib"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gnet2-featured.png
---

## Introduction

In this tutorial we learn how to install `gnet2` on Fedora 36.

### What is `gnet2`

> GNet is a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be easy to use and port.  

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

## Install gnet2 on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install gnet2

Install gnet2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gnet2

How To Uninstall gnet2 on Fedora 36

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

sudo dnf remove gnet2

gnet2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/2efd192556b20d05866ffdbde0680c17eb33e3
/usr/lib/libgnet-2.0.so.0
/usr/lib/libgnet-2.0.so.0.8.0
/usr/share/doc/gnet2
/usr/share/doc/gnet2/AUTHORS
/usr/share/doc/gnet2/BUGS
/usr/share/doc/gnet2/COPYING
/usr/share/doc/gnet2/NEWS
/usr/share/doc/gnet2/README
/usr/share/doc/gnet2/TODO

References

Summary

In this tutorial we learn how to install gnet2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/46 /usr/lib/.build-id/46/8138e5297043d5b46368217e85903c5523339d /usr/lib64/libgnet-2.0.so.0 /usr/lib64/libgnet-2.0.so.0.8.0 /usr/share/doc/gnet2 /usr/share/doc/gnet2/AUTHORS /usr/share/doc/gnet2/BUGS /usr/share/doc/gnet2/COPYING /usr/share/doc/gnet2/NEWS /usr/share/doc/gnet2/README /usr/share/doc/gnet2/TODO


## References

* [gnet2 website](http://www.gnetlibrary.org/)

## Summary

In this tutorial we learn how to install `gnet2` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).