How To Install nss-altfiles on Fedora 36
Introduction
In this tutorial we learn how to install nss-altfiles
on Fedora 36.
What is nss-altfiles
When installed, this package allows looking up users in %{prefix}/lib/passwd, similarly, groups in %{prefix}/lib/group.
We can use yum
or dnf
to install nss-altfiles
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nss-altfiles.
Install nss-altfiles 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 nss-altfiles
using dnf
by running the following command:
sudo dnf -y install nss-altfiles
Install nss-altfiles 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 nss-altfiles
using yum
by running the following command:
sudo yum -y install nss-altfiles
How To Uninstall nss-altfiles on Fedora 36
To uninstall only the nss-altfiles
package we can use the following command:
sudo dnf remove nss-altfiles
nss-altfiles Package Contents on Fedora 36
---
title: "How To Install nss-altfiles on Fedora 36"
linkTitle: "nss-altfiles"
type: "docs"
description: "In this tutorial we learn how to install nss-altfiles in Fedora 36. nss-altfiles is NSS module to look up users in /usr/lib/passwd too"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/nss-altfiles-featured.png
---
## Introduction
In this tutorial we learn how to install `nss-altfiles` on Fedora 36.
### What is `nss-altfiles`
> When installed, this package allows looking up users in %{prefix}/lib/passwd, similarly, groups in %{prefix}/lib/group.
We can use `yum` or `dnf` to install `nss-altfiles` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nss-altfiles.
## Install nss-altfiles 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 nss-altfiles
using dnf
by running the following command:
sudo dnf -y install nss-altfiles
Install nss-altfiles 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 nss-altfiles
using yum
by running the following command:
sudo yum -y install nss-altfiles
How To Uninstall nss-altfiles on Fedora 36
To uninstall only the nss-altfiles
package we can use the following command:
sudo dnf remove nss-altfiles
nss-altfiles Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/6bd249de6e080d5e069af0f55e691e693c7903
/usr/lib64/libnss_altfiles.so.2
/usr/share/doc/nss-altfiles
/usr/share/doc/nss-altfiles/README.md
References
Summary
In this tutorial we learn how to install nss-altfiles
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/24 /usr/lib/.build-id/24/ce51bb1542e1ecf94628af61884427071a5549 /usr/lib/libnss_altfiles.so.2 /usr/share/doc/nss-altfiles /usr/share/doc/nss-altfiles/README.md
## References
* [nss-altfiles website](https://github.com/aperezdc/nss-altfiles)
## Summary
In this tutorial we learn how to install `nss-altfiles` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).