2017-02-05 5:13 GMT+01:00 Robert Moskowitz <rgm(a)htt-consult.com>:
On 02/04/2017 10:34 PM, Neal Gompa wrote:
> On Sat, Feb 4, 2017 at 9:15 PM, Robert Moskowitz <rgm(a)htt-consult.com>
> wrote:
>
>> I am building a Fedora Server image. As such, I am modifying the
>> /etc/aliases file and need to run newaliases. I am use to that always
>> being
>> part of a Centos base image, it is not in the Fedora Server base image,
>> it
>> seems.
>>
>> I tried 'dnf whatprovides newaliases' and got 'No Matches
Found'.
>>
>> But then my search foo is notoriously weak.
>>
>> Can someone please point me to the proper rpm to install so that I it?
>>
>> thanks
>>
> A cursory search indicates that /usr/bin/newaliases is part of the exim
> package.
>
thanks
FWIW, you can install programs by their pathname: "sudo dnf install
> /usr/bin/newaliases". That will resolve to exim and offer to install
> it.
>
Oh course this would require me to know it is in /usr/bin and not /bin or
somewhere else :)
You can always use dnf whatprovides \*bin/newaliases which is quite known,
unfortunately, I don't see this in manual.
--
Pavel Holica