CNF(1)
π CNF(1) π
okay so bestie, this is cnf from the General Commands Manual, and it is literally the command-not-found handler for openSUSE π«Ά. You type a command, the shell is like βbestie I don't know her,β and cnf pulls up with the package receipts. Iconic.
β¨ NAME β¨
cnf β a command not found handler for openSUSE π
π¦ SYNOPSIS π¦
cnf {binary}
π DESCRIPTION π
okay so here's the whole vibe: cnf searches for a package name(s) which installs the binary. It uses libsolv(3) under the hood. It's the source of truth of information about repositories, packages and their content. No cap.
It is typically called through command-not-found mechanism of bash(1) or zsh(1) or fish(1). This is enabled via installing the cnf-bash or cnf-zsh packages. Simply typing a missing command executes the handler. So you don't have to do anything extra, it just happens β¨.
Like, say you type this missing command:
cmake
The program 'cmake' can be found in following packages:
* cmake-full [ path: /usr/bin/cmake, repository: zypp (repo-oss) ]
* cmake-mini [ path: /usr/bin/cmake, repository: zypp (repo-oss) ]
Try installing with:
sudo zypper install <selected_package>
obsessed with the way it gives you the exact package names and then the little install command. Slay.
π₯ SEE ALSO π₯
these are the linked girlies, iykyk π§
π BUGS π
No support for localization other than UTF-8. That's the note, bestie. UTF-8 only, periodt.
π AUTHOR π
Michal Vyskocil <mvyskocil@opensuse.org>
https://github.com/openSUSE/cnf
mwah π β this glow-up is from CNF(1), dated 26 June 2023 π
π¦ where this page comes from
- opensuse-leap 16.0: cnf 0.7.1~0-160000.2.2 Β· MIT
- opensuse-leap 16.0: cnf 0.7.1~0-160000.2.2 Β· MIT
- opensuse-leap 16.0: cnf 0.7.1~0-160000.2.2 Β· MIT
- opensuse-leap 16.0: cnf 0.7.1~0-160000.2.2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms