yum tips (CentOS)

Find which package is needed for a command to be usable

For example, to find package that provides /bin/mail

# yum provides /bin/mail

this will return

mailx-12.5-12.el7_0.x86_64 : Enhanced implementation of the mailx command

so that I can install mailx to have /bin/mail

# yum -y install mailx
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: