How To Install libuv on Fedora 34
Introduction
In this tutorial we learn how to install libuv
on Fedora 34.
What is libuv
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows and libev on Unix systems. We intend to eventually contain all platform differences in this library. libuv 1 1.41.0 1.fc34 x86_64 153 k libuv-1.41.0-1.fc34.src.rpm fedora Platform layer for node.js http MIT and BSD and ISC libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows and libev on Unix systems. We intend to eventually contain all platform differences in this library.
We can use yum
or dnf
to install libuv
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libuv.
Install libuv 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 libuv
using dnf
by running the following command:
sudo dnf -y install libuv
Install libuv 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 libuv
using yum
by running the following command:
sudo yum -y install libuv
How To Uninstall libuv on Fedora 34
To uninstall only the libuv
package we can use the following command:
sudo dnf remove libuv
libuv Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/40aad2280eea63e0d6d424f945699749be1a4d
/usr/lib/libuv.so.1
/usr/lib/libuv.so.1.0.0
/usr/lib/libuv/libuv.abignore
/usr/share/doc/libuv
/usr/share/doc/libuv/AUTHORS
/usr/share/doc/libuv/CONTRIBUTING.md
/usr/share/doc/libuv/ChangeLog
/usr/share/doc/libuv/MAINTAINERS.md
/usr/share/doc/libuv/README.md
/usr/share/doc/libuv/SUPPORTED_PLATFORMS.md
/usr/share/licenses/libuv
/usr/share/licenses/libuv/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/658d4df7e47e03c58d9ec95254a9d07c93e59c
/usr/lib64/libuv.so.1
/usr/lib64/libuv.so.1.0.0
/usr/lib64/libuv/libuv.abignore
/usr/share/doc/libuv
/usr/share/doc/libuv/AUTHORS
/usr/share/doc/libuv/CONTRIBUTING.md
/usr/share/doc/libuv/ChangeLog
/usr/share/doc/libuv/MAINTAINERS.md
/usr/share/doc/libuv/README.md
/usr/share/doc/libuv/SUPPORTED_PLATFORMS.md
/usr/share/licenses/libuv
/usr/share/licenses/libuv/LICENSE
References
- [libuv website](http://libuv.org/ http://libuv.org/)
Summary
In this tutorial we learn how to install libuv
on Fedora 34 using yum and dnf.