yum install ssmtp doesn't find anything? [solved]
yum install ssmtp doesn't find anything? [solved]
Hi - I'm setting up a Centos 7 system - I need a simple way to send outgoing mail. (no mailboxes or incoming mail in this system). On Centos 5 I used ssmtp. I understand I can try to install sendmail or postfix, read reams of documentation, and get them to use 1% of their ability to do what I need , but ssmtp is much simpler to set up. But I can't find it to install.
OR - if someone can recommend a different package. or a web page that REALLY tells me how to setup sendmail or postfix just for outgoing mail (some claim it, but handwave many details). That would be awesome. Thanks!
OR - if someone can recommend a different package. or a web page that REALLY tells me how to setup sendmail or postfix just for outgoing mail (some claim it, but handwave many details). That would be awesome. Thanks!
Last edited by jeffw_00 on 2017/12/17 18:16:07, edited 1 time in total.
Re: yum install ssmtp doesn't find anything?
You'll need EPEL installed and enabled to get ssmtp.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: yum install ssmtp doesn't find anything?
Been having trouble understanding what EPEL is - but I was able to find the package on the web (centos.pkgs.org), download it, and rpm <package> and that seemed to work. am I missing something?
Re: yum install ssmtp doesn't find anything?
Undo whatever you did. We ship the package you need, just do yum --enablerepo=extras install epel-release then you can use yum install ssmtp
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: yum install ssmtp doesn't find anything?
really necessary to uninstall? running rpm -Ivh directly seemed to work fine. How would I uninstall. (I did run your command for the future)
Re: yum install ssmtp doesn't find anything?
Uninstall because I have no idea what you installed or where you got it from or if it's anything like the right thing... so yes.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: yum install ssmtp doesn't find anything?
well, as I mentioned, I'm getting everything from centos.pkgs.org. How would I uninstall? and via yum, how would I re-install - use the package name (with .rpm?)
/j
/j
Re: yum install ssmtp doesn't find anything?
centos.pkgs.org is not a CentOS site. It may have centos in its name but it belongs to pkgs.org not CentOS.
yum remove epel-release
yum --enablerepo=extras install epel-release
yum install ssmtp
yum remove epel-release
yum --enablerepo=extras install epel-release
yum install ssmtp
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: yum install ssmtp doesn't find anything?
Thanks - Please let me follow up. I actually used this method to install a bunch of packages I needed to get a legacy app to work (list below). They all came from that website. I don't mind doing the typing to remove and reinstall them, but will what you're suggesting work for all of them? and will the one remove command remove all of them?
Thanks!
/j
libstdc++-4.8.5-16.el7.i686.rpm ssmtp-2.64-14.el7.x86_64.rpm xz-libs-5.2.2-1.el7.i686.rpm
compat-expat1-1.95.8-16.el7.nux.i686.rpm libxml2-2.9.1-6.el7_2.3.i686.rpm tk-8.5.13-6.el7.i686.rpm zlib-1.2.7-17.el7.i686.rpm
evtest-1.30-3.el6.nux.i686.rpm libXpm-3.5.12-1.el7.i686.rpm tkdiff-4.1.4-alt1.qa1.noarch.rpm
libgcc-4.8.5-16.el7.i686.rpm ncurses-libs-5.9-13.20130511.el7.i686.rpm XFree86-libs-4.3-5mdk.i586.rpm
Thanks!
/j
libstdc++-4.8.5-16.el7.i686.rpm ssmtp-2.64-14.el7.x86_64.rpm xz-libs-5.2.2-1.el7.i686.rpm
compat-expat1-1.95.8-16.el7.nux.i686.rpm libxml2-2.9.1-6.el7_2.3.i686.rpm tk-8.5.13-6.el7.i686.rpm zlib-1.2.7-17.el7.i686.rpm
evtest-1.30-3.el6.nux.i686.rpm libXpm-3.5.12-1.el7.i686.rpm tkdiff-4.1.4-alt1.qa1.noarch.rpm
libgcc-4.8.5-16.el7.i686.rpm ncurses-libs-5.9-13.20130511.el7.i686.rpm XFree86-libs-4.3-5mdk.i586.rpm
Re: yum install ssmtp doesn't find anything?
No, it won't because at least some of those are not intended for CentOS at all which is why using that site is a bad idea.
Please see http://wiki.centos.org/AdditionalResources/Repositories for a list of yum repos that are designed to be used with CentOS. Some of those are ones that you've downloaded those files from but the correct way to do this is to download the -release package for the repo in question and install that. That adds that repo as one that yum can use and it can download packages from it. If you download random rpms without adding the repo then you will never get updates to that package.
Using yum list on your list of packages I find the following
The ones that are not listed there are not in any of my installed repos. Your copies are not intended for CentOS and should not be used. Specifically I am looking at XFree86-libs-4.3-5mdk.i586.rpm and tkdiff-4.1.4-alt1.qa1.noarch.rpm - the first is intended for Mandrake linux, the second I have no idea what distro it's for but it's not for CentOS.
Please see http://wiki.centos.org/AdditionalResources/Repositories for a list of yum repos that are designed to be used with CentOS. Some of those are ones that you've downloaded those files from but the correct way to do this is to download the -release package for the repo in question and install that. That adds that repo as one that yum can use and it can download packages from it. If you download random rpms without adding the repo then you will never get updates to that package.
Using yum list on your list of packages I find the following
Code: Select all
# yum list libstdc++ ssmtp xz-libs compat-expat1 libxml2 tk zlib evtest libXpm tkdiff libgcc ncurses-libs XFree86-libs
Loaded plugins: priorities
624 packages excluded due to repository priority protections
Installed Packages
libXpm.x86_64 3.5.12-1.el7 @base
libgcc.i686 4.8.5-16.el7_4.1 @updates
libgcc.x86_64 4.8.5-16.el7_4.1 @updates
libstdc++.i686 4.8.5-16.el7_4.1 @updates
libstdc++.x86_64 4.8.5-16.el7_4.1 @updates
libxml2.i686 2.9.1-6.el7_2.3 @updates
libxml2.x86_64 2.9.1-6.el7_2.3 @updates
ncurses-libs.i686 5.9-14.20130511.el7_4 @base
ncurses-libs.x86_64 5.9-14.20130511.el7_4 @base
xz-libs.i686 5.2.2-1.el7 @base
xz-libs.x86_64 5.2.2-1.el7 @base
zlib.i686 1.2.7-17.el7 @base
zlib.x86_64 1.2.7-17.el7 @base
Available Packages
compat-expat1.i686 1.95.8-16.el7.nux nux-dextop
compat-expat1.x86_64 1.95.8-16.el7.nux nux-dextop
libXpm.i686 3.5.12-1.el7 base
ssmtp.x86_64 2.64-14.el7 epel
tk.i686 1:8.5.13-6.el7 base
tk.x86_64 1:8.5.13-6.el7 base
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke