Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question already has an answer here:

Suppose I want to use the command eg. from the project info2html and it's not available on my system. Some distro's sometimes suggest packages for some missing commands that are expected (ie. considered common), but not for all commands (and not all distros).

How do I find out if there is a package for the desired program in my distribution, and if yes, which package do I need to install? Is there, what is the 'right way' to do this?

Some examples with specific distros like Debian are welcome. :) It may depend on the package management software. Useful terminology is also welcome, so I can find this functionality in a given package ecosystem.

share|improve this question

marked as duplicate by Chris Down, jasonwryan, Michael Mrozek Apr 26 '13 at 5:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

Depends on the platform.

Deb based:

apt-file search info2html

RPM based:

yum whatprovides info2html

IPS (Solaris 11, OpenIndiana, OmniOS, etc) based:

pkg search info2html

FreeBSD (OpenBSD?):

cd /usr/ports
make search key=info2html

NetBSD, SmartOS:

pkg_search info2html

Gentoo Linux:

emerge --search info2html
share|improve this answer
2  
Arch Linux: pkgfile -si info2html –  michas Apr 26 '13 at 4:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.