Quote:
|
Originally Posted by vallimar
Nearly all *nix programs support "-h" or "--help" to provide a brief (sometimes not) usage summary and options listing.
|
He's asking (IIUC) how to find the name of the executable. The --help option is of little help there ;-)
As for the OP's question: the only way to know what executables are installed by a package is to look in the package file list. For example, say you want to know what executable files are installed by the firefox package. One way to get a list of everything installed by the package is:
Code:
rpm -q --list firefox
That will produce a long list (319 files), but very very few of them are actually executable files. One way to filter out the support files is to look in that long list for files which are put in the /usr/bin directory, where essentiall all executables are put. You can do that by running
Code:
rpm -q --list firefox | grep ^/usr/bin
Now the list is much shorter: it has exactly one item.
Be aware, though, that some of the Fedora packages install
lots of executables. An example is the coreutils package, which provides 64, as you can see from running:
Code:
rpm -q --list coreutils| grep ^/usr/bin | wc -l