How To Install libgudev on Fedora 34
Introduction
In this tutorial we learn how to install libgudev
on Fedora 34.
What is libgudev
This library makes it much simpler to use libudev from programs already using GObject. It also makes it possible to easily use libudev from other programming languages, such as Javascript, because of GObject introspection support. libgudev 236 1.fc34 x86_64 35 k libgudev-236-1.fc34.src.rpm fedora GObject-based wrapper library for libudev https LGPLv2+ This library makes it much simpler to use libudev from programs already using GObject. It also makes it possible to easily use libudev from other programming languages, such as Javascript, because of GObject introspection support.
We can use yum
or dnf
to install libgudev
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libgudev.
Install libgudev 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 libgudev
using dnf
by running the following command:
sudo dnf -y install libgudev
Install libgudev 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 libgudev
using yum
by running the following command:
sudo yum -y install libgudev
How To Uninstall libgudev on Fedora 34
To uninstall only the libgudev
package we can use the following command:
sudo dnf remove libgudev
libgudev Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/4b592bc7d6edcd16d8aeab3a7929174104c55e
/usr/lib/girepository-1.0/GUdev-1.0.typelib
/usr/lib/libgudev-1.0.so.0
/usr/lib/libgudev-1.0.so.0.3.0
/usr/share/doc/libgudev
/usr/share/doc/libgudev/NEWS
/usr/share/licenses/libgudev
/usr/share/licenses/libgudev/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/662dd20eb2deae1f7740f59c3f18ce61777b36
/usr/lib64/girepository-1.0/GUdev-1.0.typelib
/usr/lib64/libgudev-1.0.so.0
/usr/lib64/libgudev-1.0.so.0.3.0
/usr/share/doc/libgudev
/usr/share/doc/libgudev/NEWS
/usr/share/licenses/libgudev
/usr/share/licenses/libgudev/COPYING
References
- [libgudev website](https://wiki.gnome.org/Projects/libgudev https://wiki.gnome.org/Projects/libgudev)
Summary
In this tutorial we learn how to install libgudev
on Fedora 34 using yum and dnf.