Good morning, 

I did the sudo apt install clamav-daemon on a test 16.04 instance and it worked 
perfectly! 

This makes me think I've overcomplicated the centos & RHEL installs we've done. 

When I ran sudo yum install clamav-daemon on RHEL 7.7, it failed with "No 
package clamav-daemon available."

Is there a similarly easy way to install on RHEL & centos? 

Thank you, 
 
James 

On 3/26/20, 4:05 PM, "Scott Kitterman" <deb...@kitterman.com> wrote:

    For Debian derived distributions like Ubuntu you are best off installing 
distribution packages using apt.  They are kept reasonably up to date and 
resolution of security issues in the packages us supported by the Ubuntu 
Security Team.
    
    There are many Ubuntu and Debian specific resources on how to do this.
    
    You, however, have bigger problems.
    
    sudo: unable to resolve host <hostname>: Connection timed out
    
    This is indicative of either a local misconfiguration or a failed network 
connection.
    
    Your solution indicates something else has gone wrong since in a standard 
Ubuntu configuration you shouldn't have to do that.
    
    >0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
    
    This indicates a system that hasn't been upgraded in a long time and 
problem has missing security updates.  I'd fix that first.  It should be as 
easy as:
    
    sudo apt upgrade
    
    Once you've dealt with that, depending on exactly what you're after, you 
can install clamav.  To get, for example, clamd, you would do this:
    
    sudo apt install clamav-daemon
    
    That will install and start clamd and everything it needs, including 
freshclam.
    
    If you really want to build from source, it's also easy to install all the 
package build dependencies:
    
    sudo apt build-dep clamav
    
    Scott K
    
    
    On March 26, 2020 10:47:42 PM UTC, "Cheney, James via clamav-users" 
<clamav-users@lists.clamav.net> wrote:
    >Good afternoon,
    >
    >We have been successfully installing Clam AV on Centos instances in our
    >environment.
    >
    >We ran into a problem when we try to install on Ubuntu. We are using
    
>these<https://secure-web.cisco.com/1anOTKp2KzPgCtDqnq4OCw7q0j4FCF0q2yYV3idYF-urWmDS-wjN3yvyusxPnHDquM568y7pASTd4JGOckjkP7lr1Uq_tBgt9IpdoHO60v37heig9-ki01R6Z0Fik0cuNQaYP-Bmt4Fj0YSfo0s87Lnkfi2aI-_VPLR5Ckj_pgmg2-kpn5r8AfwBLiddWQOsbJeNG6Qd71Wj5poQRaOMlrdyOcO2b_WO-udy18IqKljp6UXndgP-Ei9E0uP7xn6lVGtpxO7pp72YdBwLPWeBfbUbwyYMAwAotk6wAdWreGhgPcfmYfrzGPzUwe0taSN-EFT2vFPj6V88ToMPL3iE5m8eJe3eKYbqeeJUh_FmsAHgpnkBiA5OsDCzOatUDvvhi7ald8Hh4UYV51oa2sSbP1ER4L832mtgv1wp4-K1OIvvnc78HgWTzmVGeVXLP3nJSV6KFjAyNdUCimTMFiEACI7UT5V7Um6Yo1wiPUkguEVkdqmJNi4uULwdfesjvyLR-/https%3A%2F%2Fwww.clamav.net%2Fdocuments%2Finstallation-on-debian-and-ubuntu-linux-distributions>
    >instructions and are able to get developer tools and library
    >dependencies installed. When I try to install the unit testing
    >dependencies, I get the following error
    >
    >sudo: unable to resolve host <hostname>: Connection timed out
    >Reading package lists... Done
    >Building dependency tree
    >Reading state information... Done
    >E: Unable to locate package check-devel
    >
    >When I run ./configure –enable-check or sudo ./configure –enable-check
    >after downloading and unzipping the Clam AV files I get this error
    >
    >ERROR!  Check was configured, but not found.  Get it from
    
>http://secure-web.cisco.com/1IkX1gETAQBD3xGlzQ6MjJtfc07VgfMquDJUmsnUhs-fAHv97v6RfldWA3bB4uaaAuiXY8hl-DFmFq_jgwlHh3Ah7abwkKs4Mf1CyAl1Yyg2LUds9KwzSmEqddeY25yT17RpeaidZVdS4xJFzl7RlaQkOnHTCUJF4fOPUmJoAkK8W9gIK0ojxddpBJBSINPjqGh_3495xsoGs2mMn6g3prqlgtvFuU96n5UJdxWlMeKnB9wuh8lVvKfDZ7_SWzHvs8B0J3W90NBXTX8jv2XSDF7Mr_VoR2ZYLUmKi1dJFtLVTTI4A7tMThQlPSlVTJj1TNQbySD417SWWpY30dHPZQ82-taNtgrRCeWXCwmUhgw-f6U2MdkbGoX_1wnHHbbO0vvEZOIxauznAf9e1OnCMLfnutFBuGYyC2CRGjFsXxm9WK6Sa7yrJIQwQEdUzBIMu983FuG1QptpKyhif0itBkZJCpWhZmNumbB2Pwu_D5PzDCpd3o50tA7CJvRvMndCk/http%3A%2F%2Fcheck.sf.net%2F
    >
    >Then we run sudo apt-get install check and get this error
    >
    >sudo: unable to resolve host <hostname>: Connection timed out
    >Reading package lists... Done
    >Building dependency tree
    >Reading state information... Done
    >check is already the newest version (0.10.0-3).
    >0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
    >
    >When I run sudo apt-get install check-devel I get this error
    >
    >sudo: unable to resolve host <hostname>: Connection timed out
    >Reading package lists... Done
    >Building dependency tree
    >Reading state information... Done
    >E: Unable to locate package check-devel
    >
    >We were able to resolve the “sudo: unable to resolve host <hostname>:
    >Connection timed out” error by adding the line 127.0.0.1 <hostname> in
    >the /etc/hosts file
    >
    >Do you have any suggestions for us for troubleshooting?
    >
    >Thank you,
    >
    >James Cheney
    >
    >Solutions Analyst | Core Business Operations
    >Deloitte Consulting LLP
    >310 E. Rivulon Blvd, Gilbert, AZ
    >85297<webextlink://310%20E.%20Rivulon%20Blvd,%20Gilbert,%20AZ%2085297>
    >Tel/Direct: +1 480 770 7404
    >jache...@deloitte.com<mailto:jache...@deloitte.com> |
    >www.deloitte.com<http://www.deloitte.com>
    >
    >[signature_223323029]
    
><https://secure-web.cisco.com/1kZRJDLD7nryTn7OWMV227iNqzO2oH1XmjygW6qZvbPlbU6WxkbryTUwrJFo-dp6dZa71eJU8DZHmk7xa0UAvG-dpwK1axkDojSJG9GZ1kivWR47xZ-TwSRPtEbV9CkEimVGQs2jNU522uogwJTC-n8MskpKPd3kD2xaDRflZU8jcf0AGzYXF9uhXUiHawQ6sOU20lCQNlNELGBq-WAFTcjINqMntNzSngKaovHiDnbnCqZTnS7ColZaGklotoJHuz5QvAXAyBuSVp-SLrSQBB_UA1kf_Eudl7iQsotuBYstIuAJHmcryM0mvJKjJ8hsXFiMJ141jLtTu0SHZSs5oK__nPBua5UlY72VW4P6eE7jutITU0T-fLwiKCJntqShhEDnp497DOjnxWzYHVga6XEEBYD8PwM9ChRyJKMTiujYDPDVGUdd0jzKTsL0O58GMO7R57L_UL37h_lYrpx1Hg0vb-xBcUW1vkA9dHTM2FOOmHAojBagjof9x1_S1ZcNI/https%3A%2F%2Fwww.certmetrics.com%2Famazon%2Fpublic%2Fbadge.aspx%3Fi%3D3%26t%3Dc%26d%3D2019-06-14%26ci%3DAWS00910691>
    >[AWS Certified Solutions Architect - Associate]
    
><https://secure-web.cisco.com/1aEYdNKjJzPIE8rcMORznNRYxEeao_n5u0ZRm04UqTnY1HxdrlJCRct5Ha5FtGXHIITQgKTZ4M923F-DHvSXlQVhjkKEb_qa3C5Dy9XoMtK5AiGWMxzgxuGuIecJ1yRtXFK70iNpggN6ywFBBFkkFRPsaeLMDPrJWOeVjyEh7Jik6n5CJtoTxTgB1iXuvakxFQfR0GsOE5YC7nfNaHoDXtddFPfKpce80XGhghDKEYfttJhtQQ4YgFk70JbDp6HQenC0Q8yry3iZSorg0Yucm92y0FIgr5DPDRyxjJfIoh3HImcmWzo_GMegFsXBprYwQWbPaKn7NdxV2pZlGrvK9N4-2x5g6beLrJV1CB4xG9GAePszBPRBEBbBqmvW9q-leQLGVhrb8EZTIAvdyVe8Lpo81v6jy2EYxNbvYSOfLxaMuMzcbdW2LyFbPp2pqKEJXBECeT9z8WUMMrrQ2cUk2VDIbl-BeMWeC2591cJbYwJP7jOx0guvAcpOQhtlD1K4mBqb0ThZNnLEZI9Z7geAM9A/https%3A%2F%2Fwww.certmetrics.com%2Famazon%2Fpublic%2Fbadge.aspx%3Ft%3Dc%26d%3D2019-05-24%26i%3D1%26ci%3DAWS00910691>
    >[signature_744619222]
    
><https://secure-web.cisco.com/1WEuBjgVUYTEU7C8Hu7A0U7RSucP1aWa3Msiv0P6mZXlP4kDHEH2QSFygBVkS-XHXIK2rD8cJNSEc9PdMprBUW_mDD6oBt3IIEYz_mtivp2U1ZmDVKg9fMlzjSUXN8l-UvLIQ7aIlTTA4uTJXLDtp3Gg4zmjp1Nc4vkYjPpoxV5thPDCu3psQxnNuJRH08odcAzq5UzlnsQLq6uNfTL7KP5LdqtxCGCEdAmxAyZ4mZbQgLYnXZF9J5FpnTMFZG9opD4VNHziw5WhD-1SLWx0laEJlw5iBUcyjs5nmBf1M7hVcIQnsKpezbBhf0CugK3PuFRS80DyF_2tLr4A14O58igxS10Z-gnCVu7FpQkeYF0D85c-5jmVSo-Hs4gWv4fV1SrTj_mz2NWO8bO73oKaWuAuVOvnlk2OjW6vrKqzaIYSIeaLSw1LjUJ9cT79MrRO_YNjAEycXcWcaLURGd9OZE5mJcd921Ytz3HQK3zzVDlEuaeGotrgnrtlIDmZWqZ3F/https%3A%2F%2Fwww.certmetrics.com%2Famazon%2Fpublic%2Fbadge.aspx%3Fi%3D2%26t%3Dc%26d%3D2019-07-03%26ci%3DAWS00910691>
    >[A close up of a sign  Description automatically generated]
    
><https://secure-web.cisco.com/1mhmluRmHwRq0sCBUatW-2OtEKNKaeyL09jUm2hjg5Q0y7B7cGrbNfFSBAJJeQgBh-HbFqL4s4AG0vHbjv4lIpKangrszjk7uuMsXL2pjKjgWo2SPYdMsBFlxzcenMTJzf1GxN1Rq9mDzj9sLNDsx1t2v3GpNset2G2PmGEDZ8DP0yWMhn0cqXzb8PKgphizLmZTqflaqqHpfN4x2KgbX-hTNPeBIMQVQjKN3tSIl9ZA2gqtPNT3ZLDIqiEhkM-eSbTcPrusi-a8EAAXQAaM2yf_qYF5lOPI2DhOPUYdSxS3fu3Vp0Z3XdQI-x0Op4MBVk_gaoTYNevnVGWArYCFCVRXWqZ5K0SUNT9YKvBnDMs8_0JTE2pMUIcD3xAGvz0eEqsZ8l7T7zpxVoh8AyW4o7Jl2_J7zsdXWbDEg14H8XCPbWO2ABx0zo4jAwmPBleJ9P9Prm9C6L19cGLJ0MjtPFpjCjsnsZvboLcxv2Ywba4e4Iui7iSAvLshTnzdG2UrU/https%3A%2F%2Fwww.youracclaim.com%2Fbadges%2F6cd8d708-2396-4ec2-bf83-8d9074edb64e>
    >[A close up of a sign  Description automatically generated]
    
><https://secure-web.cisco.com/1mhmluRmHwRq0sCBUatW-2OtEKNKaeyL09jUm2hjg5Q0y7B7cGrbNfFSBAJJeQgBh-HbFqL4s4AG0vHbjv4lIpKangrszjk7uuMsXL2pjKjgWo2SPYdMsBFlxzcenMTJzf1GxN1Rq9mDzj9sLNDsx1t2v3GpNset2G2PmGEDZ8DP0yWMhn0cqXzb8PKgphizLmZTqflaqqHpfN4x2KgbX-hTNPeBIMQVQjKN3tSIl9ZA2gqtPNT3ZLDIqiEhkM-eSbTcPrusi-a8EAAXQAaM2yf_qYF5lOPI2DhOPUYdSxS3fu3Vp0Z3XdQI-x0Op4MBVk_gaoTYNevnVGWArYCFCVRXWqZ5K0SUNT9YKvBnDMs8_0JTE2pMUIcD3xAGvz0eEqsZ8l7T7zpxVoh8AyW4o7Jl2_J7zsdXWbDEg14H8XCPbWO2ABx0zo4jAwmPBleJ9P9Prm9C6L19cGLJ0MjtPFpjCjsnsZvboLcxv2Ywba4e4Iui7iSAvLshTnzdG2UrU/https%3A%2F%2Fwww.youracclaim.com%2Fbadges%2F6cd8d708-2396-4ec2-bf83-8d9074edb64e>
    >
    >This message (including any attachments) contains confidential
    >information intended for a specific individual and purpose, and is
    >protected by law. If you are not the intended recipient, you should
    >delete this message and any disclosure, copying, or distribution of
    >this message, or the taking of any action based on it, by you is
    >strictly prohibited.
    >
    >Deloitte refers to a Deloitte member firm, one of its related entities,
    >or Deloitte Touche Tohmatsu Limited ("DTTL"). Each Deloitte member firm
    >is a separate legal entity and a member of DTTL. DTTL does not provide
    >services to clients. Please see www.deloitte.com/about to learn more.
    >
    >v.E.1
    
    


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to