How can I know which not installed RPM package contains a not installed command?

Suse Tumbleweed, I’d like to install tlmgr, I tried sudo zypper install -no-recommends texlive-tlmgr to no avail, I want to know which package contains the command tlmgr or equivalently the file /usr/bin/tlmgr.

How can I find the name of the uninstalled package that contains a command that I need?

Asked By: gboffi

||

Either of these should work:

zypper search --provides tlmgr
cnf tlmgr
dnf whatprovides tlmgr
Answered By: Artem S. Tashkinov
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.