How To Install libnsl on Fedora 34
Introduction
In this tutorial we learn how to install libnsl
on Fedora 34.
What is libnsl
This package provides the legacy version of libnsl library, for accessing NIS services. This library is provided for backwards compatibility only; applications should use libnsl2 instead to gain IPv6 support. libnsl 2.33 20.fc34 x86_64 53 k glibc-2.33-20.fc34.src.rpm updates Legacy support library for NIS http LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL This package provides the legacy version of libnsl library, for accessing NIS services. This library is provided for backwards compatibility only; applications should use libnsl2 instead to gain IPv6 support.
We can use yum
or dnf
to install libnsl
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libnsl.
Install libnsl 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 libnsl
using dnf
by running the following command:
sudo dnf -y install libnsl
Install libnsl 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 libnsl
using yum
by running the following command:
sudo yum -y install libnsl
How To Uninstall libnsl on Fedora 34
To uninstall only the libnsl
package we can use the following command:
sudo dnf remove libnsl
libnsl Package Contents on Fedora 34
/lib/libnsl-2.33.so
/lib/libnsl.so.1
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/97bd23d298f2cadf2c7d62dc54b14451f0c6d1
/lib/libnsl-2.33.so
/lib/libnsl.so.1
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/c370008fb7326c84c87b015546c5cc0a378f7c
/lib64/libnsl-2.33.so
/lib64/libnsl.so.1
/usr/lib/.build-id
/usr/lib/.build-id/0b/e592bbe004eb6150e6c2ca2a7a2bd8db191baa
/lib64/libnsl-2.33.so
/lib64/libnsl.so.1
/usr/lib/.build-id
/usr/lib/.build-id/57/9139e8c36ead216b3fad21e46e5c89dc2efb96
References
- [libnsl website](http://www.gnu.org/software/glibc/ http://www.gnu.org/software/glibc/)
Summary
In this tutorial we learn how to install libnsl
on Fedora 34 using yum and dnf.