https://github.com/romeo3o7/fnd
dnf utility
https://github.com/romeo3o7/fnd
dnf dnf5 fedora
Last synced: 29 days ago
JSON representation
dnf utility
- Host: GitHub
- URL: https://github.com/romeo3o7/fnd
- Owner: romeo3o7
- Created: 2026-05-03T14:21:41.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-03T12:30:58.000Z (about 1 month ago)
- Last Synced: 2026-06-03T14:16:22.218Z (about 1 month ago)
- Topics: dnf, dnf5, fedora
- Language: C
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fnd
utility for DNF
---
## Compilation
```bash
make build # (to produce the executable)
make clean # (to delete the executable)
make rebuild # (to delete and reproduce the executable)
```
## Commands
```bash
fbd update
```
Runs the full update flow:
- Checks for available updates
- Prompts for a local or an offline update
- **local** — local updating preforms transactions while the system is up
- **offline** — offline updating requires a reboot, which then boots into upgrade.target and preforms the transactions (recommended for kernel, libc, systemd and drivers)
- Clears the DNF package cache only after the fourth full system update
- Removes orphaned packages
- If an offline update was staged, prompts to reboot and apply (it doesn't have to be applied immeditely)
---
```bash
fnd package
```
## Available flags:
| Flag | Description |
|------|-------------|
| `-f` | Files this package installs |
| `-m` | Package metadata |
| `-d` | Dependencies the package requires to run |
| `-r` | Packages that require it |
| `-o` | Package that owns a given file |
**The system first checks if the package is installed, if it is, it queries using rpm otherwise it uses dnf**
---
**Example:**
```bash
fnd package -d bash # returns packages bash needs, example output: libc.so.6, rpmlib, rtld
fnd package -o /usr/bin/ls # returns coreutils-9 as the owner
```
or
```bash
fnd package -o $(which kill) #returns util-linux-core-2 as the rightful owner
```
or you don't know the excat package name, and you want to know the files it installed
```bash
fnd package -f $(fnd package -o $(which nvim)) #here i didn't know/forgot nvim full package name (neovim), ( which nvim ) returns /usr/bin/nvim, and -o checks for owner
```