Scroll to navigation

CNF(1) General Commands Manual CNF(1)

NAME

cnf - A command not found handler for openSUSE

SYNOPSIS

cnf {binary}

DESCRIPTION

cnf searches for a package name(s) which installs the binary. It uses libsolv(3) under the hood. The source of truth of information about repositories, packages and their content.

This works with enabled dnf5, dnf, or zypper repostiores: the first one found in /usr/bin will be used. Use dnf5 --refresh makecache, dnf --refresh makecache, or zypper --force refresh to update the metadata used.

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 missing command executes the handler.

cmake

The program 'cmake' can be found in following packages:
* cmake-full [ path: /usr/bin/cmake, repository: repo-oss ]
* cmake-mini [ path: /usr/bin/cmake, repository: repo-oss ]

Try installing with:
sudo zypper install <selected_package>

SEE ALSO

bash(1), zsh(1), fish(1), libsolv(3)

BUGS

No support for localization other than UTF-8.

It is assumed that the following configuration variables have not been changed from their openSUSE defaults:
for zypper (usually set in /etc/zypp/zypp.conf): reposdir, cachedir, and solvfilesdir
for dnf/dnf5 (usually set in /etc/dnf/dnf.conf): reposdir and system_cachedir

AUTHOR

Michal Vyskocil <mvyskocil@opensuse.org>

https://github.com/openSUSE/cnf

26 June 2023