⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
clamav-docs
/
html
/
manual
/
Edit File: Installing.html
<!DOCTYPE HTML> <html lang="en" class="clamav" dir="ltr"> <head> <!-- Book generated using mdBook --> <meta charset="UTF-8"> <title>Installing - ClamAV Documentation</title> <!-- Custom HTML head --> <meta name="description" content="An open source malware detection toolkit and antivirus engine."> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#ffffff"> <link rel="shortcut icon" href="../favicon.png"> <link rel="stylesheet" href="../css/variables.css"> <link rel="stylesheet" href="../css/general.css"> <link rel="stylesheet" href="../css/chrome.css"> <link rel="stylesheet" href="../css/print.css" media="print"> <!-- Fonts --> <link rel="stylesheet" href="../FontAwesome/css/font-awesome.css"> <link rel="stylesheet" href="../fonts/fonts.css"> <!-- Highlight.js Stylesheets --> <link rel="stylesheet" href="../highlight.css"> <link rel="stylesheet" href="../tomorrow-night.css"> <link rel="stylesheet" href="../ayu-highlight.css"> <!-- Custom theme stylesheets --> <!-- MathJax --> <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> </head> <body class="sidebar-visible no-js"> <div id="body-container"> <!-- Provide site root to javascript --> <script> var path_to_root = "../"; var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "clamav" : "clamav"; </script> <!-- Work around some values being stored in localStorage wrapped in quotes --> <script> try { var theme = localStorage.getItem('mdbook-theme'); var sidebar = localStorage.getItem('mdbook-sidebar'); if (theme.startsWith('"') && theme.endsWith('"')) { localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1)); } if (sidebar.startsWith('"') && sidebar.endsWith('"')) { localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1)); } } catch (e) { } </script> <!-- Set the theme before any content is loaded, prevents flash --> <script> var theme; try { theme = localStorage.getItem('mdbook-theme'); } catch (e) { } if (theme === null || theme === undefined) { theme = default_theme; } var html = document.querySelector('html'); html.classList.remove('clamav') html.classList.add(theme); var body = document.querySelector('body'); body.classList.remove('no-js') body.classList.add('js'); </script> <input type="checkbox" id="sidebar-toggle-anchor" class="hidden"> <!-- Hide / unhide sidebar before it is displayed --> <script> var body = document.querySelector('body'); var sidebar = null; var sidebar_toggle = document.getElementById("sidebar-toggle-anchor"); if (document.body.clientWidth >= 1080) { try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch (e) { } sidebar = sidebar || 'visible'; } else { sidebar = 'hidden'; } sidebar_toggle.checked = sidebar === 'visible'; body.classList.remove('sidebar-visible'); body.classList.add("sidebar-" + sidebar); </script> <nav id="sidebar" class="sidebar" aria-label="Table of contents"> <div class="sidebar-scrollbox"> <ol class="chapter"><li class="chapter-item expanded "><a href="../Introduction.html"><strong aria-hidden="true">1.</strong> Introduction</a></li><li class="chapter-item expanded "><a href="../manual/Installing.html" class="active"><strong aria-hidden="true">2.</strong> Installing</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/Installing/Packages.html"><strong aria-hidden="true">2.1.</strong> Packages</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Docker.html"><strong aria-hidden="true">2.2.</strong> Docker</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Installing-from-source-Unix.html"><strong aria-hidden="true">2.3.</strong> Unix from source (v0.104+)</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Installing-from-source-Unix-old.html"><strong aria-hidden="true">2.4.</strong> Unix from source (v0.103-)</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Installing-from-source-Windows.html"><strong aria-hidden="true">2.5.</strong> Windows from source</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Community-projects.html"><strong aria-hidden="true">2.6.</strong> Community Projects</a></li><li class="chapter-item expanded "><a href="../manual/Installing/Add-clamav-user.html"><strong aria-hidden="true">2.7.</strong> Add a service user account</a></li></ol></li><li class="chapter-item expanded "><a href="../manual/Usage.html"><strong aria-hidden="true">3.</strong> Usage</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/Usage/Configuration.html"><strong aria-hidden="true">3.1.</strong> Configuration</a></li><li class="chapter-item expanded "><a href="../manual/Usage/SignatureManagement.html"><strong aria-hidden="true">3.2.</strong> Updating Signature Databases</a></li><li class="chapter-item expanded "><a href="../manual/Usage/Scanning.html"><strong aria-hidden="true">3.3.</strong> Scanning</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/OnAccess.html"><strong aria-hidden="true">3.3.1.</strong> On-Access Scanning</a></li></ol></li><li class="chapter-item expanded "><a href="../manual/Usage/Services.html"><strong aria-hidden="true">3.4.</strong> Running ClamAV Services</a></li><li class="chapter-item expanded "><a href="../manual/Usage/ReportABug.html"><strong aria-hidden="true">3.5.</strong> Report a Bug</a></li></ol></li><li class="chapter-item expanded "><a href="../manual/Signatures.html"><strong aria-hidden="true">4.</strong> Signatures</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/Signatures/DatabaseInfo.html"><strong aria-hidden="true">4.1.</strong> CVD Info File</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/DynamicConfig.html"><strong aria-hidden="true">4.2.</strong> Dynamic Configuration Settings</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/AuthenticodeRules.html"><strong aria-hidden="true">4.3.</strong> Trusted and Revoked EXE Certificates</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/FileTypeMagic.html"><strong aria-hidden="true">4.4.</strong> File Type Recognition</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/AllowLists.html"><strong aria-hidden="true">4.5.</strong> Allow Lists</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/HashSignatures.html"><strong aria-hidden="true">4.6.</strong> Hash-based Signatures</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/BodySignatureFormat.html"><strong aria-hidden="true">4.7.</strong> Content-based Signature Format</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/Signatures/LogicalSignatures.html"><strong aria-hidden="true">4.7.1.</strong> Logical Signatures</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/ExtendedSignatures.html"><strong aria-hidden="true">4.7.2.</strong> Extended Signatures</a></li></ol></li><li class="chapter-item expanded "><a href="../manual/Signatures/YaraRules.html"><strong aria-hidden="true">4.8.</strong> YARA Rules</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/PhishSigs.html"><strong aria-hidden="true">4.9.</strong> Phishing Signatures</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/BytecodeSignatures.html"><strong aria-hidden="true">4.10.</strong> Bytecode Signatures</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/ContainerMetadata.html"><strong aria-hidden="true">4.11.</strong> Container Metadata Signatures</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/EncryptedArchives.html"><strong aria-hidden="true">4.12.</strong> Archive Passwords (experimental)</a></li><li class="chapter-item expanded "><a href="../manual/Signatures/SignatureNames.html"><strong aria-hidden="true">4.13.</strong> Signature Names</a></li></ol></li><li class="chapter-item expanded "><a href="../manual/Development.html"><strong aria-hidden="true">5.</strong> For Developers</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../manual/Development/github-pr-basics.html"><strong aria-hidden="true">5.1.</strong> Pull Request Basics</a></li><li class="chapter-item expanded "><a href="../manual/Development/clamav-git-work-flow.html"><strong aria-hidden="true">5.2.</strong> ClamAV Git Work Flow</a></li><li class="chapter-item expanded "><a href="../manual/Development/personal-forks.html"><strong aria-hidden="true">5.3.</strong> Working with Your Fork</a></li><li class="chapter-item expanded "><a href="../manual/Development/testing-pull-requests.html"><strong aria-hidden="true">5.4.</strong> Reviewing Pull Requests</a></li><li class="chapter-item expanded "><a href="../manual/Development/development-builds.html"><strong aria-hidden="true">5.5.</strong> Building for Development</a></li><li class="chapter-item expanded "><a href="../manual/Development/build-installer-packages.html"><strong aria-hidden="true">5.6.</strong> Building the Installer Packages</a></li><li class="chapter-item expanded "><a href="../manual/Development/tips-and-tricks.html"><strong aria-hidden="true">5.7.</strong> Dev Tips & Tricks</a></li><li class="chapter-item expanded "><a href="../manual/Development/performance-profiling.html"><strong aria-hidden="true">5.8.</strong> Performance Profiling</a></li><li class="chapter-item expanded "><a href="../manual/Development/code-coverage.html"><strong aria-hidden="true">5.9.</strong> Computing Code Coverage</a></li><li class="chapter-item expanded "><a href="../manual/Development/fuzzing-sanitizers.html"><strong aria-hidden="true">5.10.</strong> Fuzzing Sanitizers</a></li><li class="chapter-item expanded "><a href="../manual/Development/libclamav.html"><strong aria-hidden="true">5.11.</strong> libclamav</a></li><li class="chapter-item expanded "><a href="../manual/Development/Contribute.html"><strong aria-hidden="true">5.12.</strong> Contribute</a></li></ol></li><li class="chapter-item expanded "><a href="../faq/faq.html"><strong aria-hidden="true">6.</strong> Frequently Asked Questions</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../faq/faq-whichversion.html"><strong aria-hidden="true">6.1.</strong> Selecting the Right Version of ClamAV for You</a></li><li class="chapter-item expanded "><a href="../faq/faq-freshclam.html"><strong aria-hidden="true">6.2.</strong> FreshClam (Signature Updater)</a></li><li class="chapter-item expanded "><a href="../faq/faq-cvd.html"><strong aria-hidden="true">6.3.</strong> Signature Database (CVD)</a></li><li class="chapter-item expanded "><a href="../faq/faq-malware-fp-reports.html"><strong aria-hidden="true">6.4.</strong> Malware and False Positive Report</a></li><li class="chapter-item expanded "><a href="../faq/faq-misc.html"><strong aria-hidden="true">6.5.</strong> Misc</a></li><li class="chapter-item expanded "><a href="../faq/faq-ml.html"><strong aria-hidden="true">6.6.</strong> Mailing Lists</a></li><li class="chapter-item expanded "><a href="../faq/faq-safebrowsing.html"><strong aria-hidden="true">6.7.</strong> Safe Browsing</a></li><li class="chapter-item expanded "><a href="../faq/faq-troubleshoot.html"><strong aria-hidden="true">6.8.</strong> Troubleshooting</a></li><li class="chapter-item expanded "><a href="../faq/faq-scan-alerts.html"><strong aria-hidden="true">6.9.</strong> Interpreting Scan Alerts</a></li><li class="chapter-item expanded "><a href="../faq/faq-upgrade.html"><strong aria-hidden="true">6.10.</strong> Upgrading</a></li><li class="chapter-item expanded "><a href="../faq/faq-rust.html"><strong aria-hidden="true">6.11.</strong> Rust</a></li><li class="chapter-item expanded "><a href="../faq/faq-win32.html"><strong aria-hidden="true">6.12.</strong> Win32</a></li><li class="chapter-item expanded "><a href="../faq/faq-pua.html"><strong aria-hidden="true">6.13.</strong> PUA (Potentially Unwanted Application)</a></li><li class="chapter-item expanded "><a href="../faq/faq-ignore.html"><strong aria-hidden="true">6.14.</strong> Ignore</a></li><li class="chapter-item expanded "><a href="../faq/faq-uninstall.html"><strong aria-hidden="true">6.15.</strong> Uninstall</a></li><li class="chapter-item expanded "><a href="../faq/faq-eol.html"><strong aria-hidden="true">6.16.</strong> ClamAV EOL Policy</a></li></ol></li><li class="chapter-item expanded "><li class="spacer"></li><li class="chapter-item expanded "><a href="../community_resources/CommunityResources.html"><strong aria-hidden="true">7.</strong> Community Resources</a></li><li class="chapter-item expanded affix "><li class="spacer"></li><li class="chapter-item expanded "><a href="../appendix/Appendix.html"><strong aria-hidden="true">8.</strong> Appendix</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../appendix/Terminology.html"><strong aria-hidden="true">8.1.</strong> Terminology</a></li><li class="chapter-item expanded "><a href="../appendix/CvdPrivateMirror.html"><strong aria-hidden="true">8.2.</strong> Hosting a Private Database Mirror</a></li><li class="chapter-item expanded "><a href="../appendix/Authenticode.html"><strong aria-hidden="true">8.3.</strong> Microsoft Authenticode Signature Verification</a></li><li class="chapter-item expanded "><a href="../appendix/FileTypes.html"><strong aria-hidden="true">8.4.</strong> ClamAV File Types and Target Types</a></li><li class="chapter-item expanded "><a href="../appendix/FunctionalityLevels.html"><strong aria-hidden="true">8.5.</strong> ClamAV Versions and Functionality Levels</a></li></ol></li></ol> </div> <div id="sidebar-resize-handle" class="sidebar-resize-handle"></div> </nav> <!-- Track and set sidebar scroll position --> <script> var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox'); sidebarScrollbox.addEventListener('click', function (e) { if (e.target.tagName === 'A') { sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop); } }, { passive: true }); var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll'); sessionStorage.removeItem('sidebar-scroll'); if (sidebarScrollTop) { // preserve sidebar scroll position when navigating via links within sidebar sidebarScrollbox.scrollTop = sidebarScrollTop; } else { // scroll sidebar to current active section when navigating via "next/previous chapter" buttons var activeSection = document.querySelector('#sidebar .active'); if (activeSection) { activeSection.scrollIntoView({ block: 'center' }); } } </script> <div id="page-wrapper" class="page-wrapper"> <div class="page"> <div id="menu-bar-hover-placeholder"></div> <div id="menu-bar" class="menu-bar sticky"> <div class="left-buttons"> <label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar"> <i class="fa fa-bars"></i> </label> <button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list"> <i class="fa fa-paint-brush"></i> </button> <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu"> <li role="none"><button role="menuitem" class="theme" id="clamav">Dark</button></li> <li role="none"><button role="menuitem" class="theme" id="clamav_light">Light</button></li> </ul> <button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar"> <i class="fa fa-search"></i> </button> </div> <h1 class="menu-title">ClamAV Documentation</h1> <div class="right-buttons"> <a href="../print.html" title="Print this book" aria-label="Print this book"> <i id="print-button" class="fa fa-print"></i> </a> </div> </div> <div id="search-wrapper" class="hidden"> <form id="searchbar-outer" class="searchbar-outer"> <input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header"> </form> <div id="searchresults-outer" class="searchresults-outer hidden"> <div id="searchresults-header" class="searchresults-header"></div> <ul id="searchresults"> </ul> </div> </div> <!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM --> <script> document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible'); document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible'); Array.from(document.querySelectorAll('#sidebar a')).forEach(function (link) { link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1); }); </script> <div id="content" class="content"> <main> <h1 id="installing-clamav"><a class="header" href="#installing-clamav">Installing ClamAV</a></h1> <ul> <li><a href="#installing-clamav">Installing ClamAV</a> <ul> <li><a href="#installing-with-a-package-manager">Installing with a Package Manager</a></li> <li><a href="#installing-with-an-installer">Installing with an Installer</a> <ul> <li><a href="#linux-deb-rpm">Linux (.deb, .rpm)</a> <ul> <li><a href="#rpm-packages-for-centos-redhat-fedora-suse-etc">RPM packages (for CentOS, Redhat, Fedora, SUSE, etc.)</a></li> <li><a href="#deb-packages-for-debian-ubuntu-mint-etc">DEB packages (for Debian, Ubuntu, Mint, etc.)</a></li> </ul> </li> <li><a href="#macos">macOS</a></li> <li><a href="#windows">Windows</a></li> </ul> </li> <li><a href="#official-clamav-docker-images">Official ClamAV Docker Images</a></li> <li><a href="#installing-from-source">Installing from Source</a></li> <li><a href="#verifying-clamavnet-downloads-with-gpg">Verifying ClamAV.net Downloads with GPG</a></li> <li><a href="#what-now">What now?</a></li> </ul> </li> </ul> <h2 id="installing-with-a-package-manager"><a class="header" href="#installing-with-a-package-manager">Installing with a Package Manager</a></h2> <p>ClamAV is widely available from third party package managers for most operating systems. This is often the quickest way to install ClamAV. It will make also upgrades easier.</p> <p>Check out the <a href="Installing/Packages.html">Packages page</a> to find installation instructions for your system.</p> <h2 id="installing-with-an-installer"><a class="header" href="#installing-with-an-installer">Installing with an Installer</a></h2> <p>Pre-compiled packages provided on <a href="https://www.clamav.net/downloads">the clamav.net downloads page</a> have all external library dependencies statically compiled in.</p> <p>These installers likely differ from packages provided by other packaging tools in that you will need to create and configure the <code>freshclam.conf</code> and <code>clamd.conf</code> files. You may also need to add a <code>clamav</code> service user account and adjust the permissions on the database directory. We hope to round out these sharp corners in the future and to make setup more convenient, but for now be advised that setup from one of these packages is a little bit more work than you may be used to.</p> <p>If you're interested in learning how these packages were built, you can check out <a href="Development/build-installer-packages.html">these development instructions</a>.</p> <blockquote> <p><em>Note</em>: In the event that a vulnerability is found in one of the dependencies that may impact ClamAV, we will publish new packages with updated dependencies as soon as we're able.</p> </blockquote> <h3 id="linux-deb-rpm"><a class="header" href="#linux-deb-rpm">Linux (.deb, .rpm)</a></h3> <p>Beginning with ClamAV 0.104, we offer Debian and RPM packages for x86_64 (64bit) and i686 (32bit) architectures. This will make it easier to get the latest version in the event that a package for your distribution is not readily available and you would prefer not to build ClamAV from source.</p> <blockquote> <p><em>Note</em>: These packages do not presently include <code>clamav-milter</code>. You can help help us add <code>clamav-milter</code> to the packages by developing a Mussels recipe for building the libmilter.a static library and contributing it to our <a href="https://github.com/Cisco-Talos/clamav-mussels-cookbook/">Mussels cookbook</a>.</p> </blockquote> <h4 id="rpm-packages-for-centos-redhat-fedora-suse-etc"><a class="header" href="#rpm-packages-for-centos-redhat-fedora-suse-etc">RPM packages (for CentOS, Redhat, Fedora, SUSE, etc.)</a></h4> <p>These are compiled on Alma Linux 8. They should be compatible with all RPM-based linux distributions running <code>glibc</code> version <code>2.28</code> or newer.</p> <p>To install, download the package for your system use <code>yum</code> or <code>dnf</code> to install the package. For example:</p> <pre><code class="language-bash">sudo dnf install ~/Downloads/clamav-1.4.0.linux.x86_64.rpm </code></pre> <p>You can verify that the package was installed using:</p> <pre><code class="language-bash">dnf info clamav </code></pre> <p>This package installs to <code>/usr/local</code>.</p> <p>Unlike packages provided by Debian or other distributions, this package does not presently include a preconfigured <code>freshclam.conf</code>, <code>clamd.conf</code>, database directory, or <code>clamav</code> user accounts for FreshClam and ClamD. You can follow <a href="Usage/Configuration.html">these instructions</a> to configure FreshClam and ClamD. You can follow <a href="Installing/Add-clamav-user.html">these instructions</a> to create the <code>clamav</code> user account for running FreshClam and ClamD services.</p> <p>And uninstall the package with:</p> <pre><code class="language-bash">sudo dnf remove ~/Downloads/clamav-1.4.0.linux.x86_64.rpm </code></pre> <h4 id="deb-packages-for-debian-ubuntu-mint-etc"><a class="header" href="#deb-packages-for-debian-ubuntu-mint-etc">DEB packages (for Debian, Ubuntu, Mint, etc.)</a></h4> <p>These are compiled on Ubuntu 18.04, and have all external library dependencies statically compiled in. They should be compatible with all Debian-based linux distributions running <code>glibc</code> version <code>2.27</code> or newer.</p> <pre><code class="language-bash">sudo apt install ~/Downloads/clamav-1.4.0.libnux.x86_64.deb </code></pre> <p>You can verify that the package was installed using:</p> <pre><code class="language-bash">apt info clamav </code></pre> <p>This package installs to <code>/usr/local</code>.</p> <p>Unlike packages provided by Debian or other distributions, this package does not presently include a preconfigured <code>freshclam.conf</code>, <code>clamd.conf</code>, database directory, or <code>clamav</code> user accounts for FreshClam and ClamD. You can follow <a href="Usage/Configuration.html">these instructions</a> to configure FreshClam and ClamD. You can follow <a href="Installing/Add-clamav-user.html">these instructions</a> to create the <code>clamav</code> user account for running FreshClam and ClamD services.</p> <p>And uninstall the package with:</p> <pre><code class="language-bash">sudo apt remove clamav </code></pre> <h3 id="macos"><a class="header" href="#macos">macOS</a></h3> <p>Beginning with ClamAV 0.104, we offer a PKG installer for macOS. These are universal binaries built for Intel x86_64 and Apple M1 arm64 processors.</p> <p>To install, download the macOS <code>.pkg</code> installer. Double-click the installer and follow the directions.</p> <p>This package installs to <code>/usr/local/clamav</code>. This is <strong>not</strong> in the default system <code>PATH</code> environment variable. You may wish to add <code>/usr/local/clamav/bin</code> and <code>/usr/local/clamav/sbin</code> to your <code>PATH</code> so you can run the ClamAV programs without entering the full path. To do this add this line to <code>~/.zshrc</code>:</p> <pre><code class="language-bash">export PATH=/usr/local/clamav/bin:/usr/local/clamav/sbin:$PATH </code></pre> <p>Then run <code>source ~/.zshrc</code> or open a new terminal.</p> <p>Unlike packages provided by Homebrew, this package does not presently include a preconfigured <code>freshclam.conf</code>, <code>clamd.conf</code>, or database directory. You can follow <a href="Usage/Configuration.html">these instructions</a> to configure FreshClam and ClamD.</p> <p>macOS package installers do not provide a mechanism for automatically uninstalling the package. In the future, we hope to add a script to aid with uninstallation. But for now, to make it easier to remove, our macOS installer installs to <code>/usr/local/clamav</code>. To uninstall, all you need to do is run:</p> <pre><code class="language-bash">sudo rm -rf /usr/local/clamav </code></pre> <h3 id="windows"><a class="header" href="#windows">Windows</a></h3> <p>The ClamAV team provides official ClamAV builds for Windows <a href="https://www.clamav.net/downloads#otherversions">on the ClamAV downloads page</a>. You can choose between a traditional executable installer or a portable install ZIP package.</p> <p>To use the executable installer, double-click the installer and follow the instructions.</p> <p>To install from a ZIP package, unzip the portable install package to any directory.</p> <h2 id="official-clamav-docker-images"><a class="header" href="#official-clamav-docker-images">Official ClamAV Docker Images</a></h2> <p>There are now official ClamAV images on Docker Hub. You can find the images on <a href="https://hub.docker.com/r/clamav/clamav">Docker Hub under <code>clamav</code></a>.</p> <p>ClamAV versions 0.104 and newer are available using a Docker image tag with the specific version number, or using "stable" to get the latest stable release.</p> <p>We also offer images with builds of the latest development version. We call this "unstable".</p> <p>Check out the <a href="Installing/Docker.html">Docker page</a> to learn how to install and use ClamAV with Docker.</p> <h2 id="installing-from-source"><a class="header" href="#installing-from-source">Installing from Source</a></h2> <p>If you need, you can also compile and install ClamAV from source:</p> <ul> <li><a href="Installing/Installing-from-source-Unix.html">Unix/Linux/Mac Instructions</a></li> <li><a href="Installing/Installing-from-source-Windows.html">Windows Instructions</a></li> </ul> <h2 id="verifying-clamavnet-downloads-with-gpg"><a class="header" href="#verifying-clamavnet-downloads-with-gpg">Verifying ClamAV.net Downloads with GPG</a></h2> <p>You can verify the authenticity of ClamAV release packages provided <a href="https://www.clamav.net/downloads">on the ClamAV downloads page</a> using <a href="http://www.gnupg.org/">GnuPG</a>.</p> <ol> <li>Install GnuPG.</li> <li>Download the <a href="https://raw.githubusercontent.com/Cisco-Talos/clamav-documentation/main/src/manual/cisco-talos.gpg">Cisco Talos GPG public key</a>.</li> <li>Import the key into your local public keyring: <pre><code class="language-bash">gpg --import cisco-talos.gpg </code></pre> </li> <li>Download the ClamAV package AND the corresponding <code>.sig</code> file to the same directory.</li> <li>Verify that the stable release download is signed with the [Cisco Talos GPG public key]: <pre><code class="language-bash">gpg --verify clamav-X.XX.tar.gz.sig </code></pre> </li> </ol> <p>The resulting output should look something like this. The specific details will differ, as we rotate the GPG key every couple of years:</p> <pre><code class="language-bash"> gpg: Signature made Wed Jan 24 19:31:26 2018 EST gpg: using RSA key F13F9E16BCA5BFAD gpg: Good signature from "Talos (Talos, Cisco Systems Inc.) [email address]" [unknown] </code></pre> <h2 id="what-now"><a class="header" href="#what-now">What now?</a></h2> <p>Now that ClamAV is installed, you will want to customize your configuration and perhaps set up some scanning automation and alerting mechanisms.</p> <p><a href="Usage/Configuration.html">Continue on to "Configuration"...</a></p> </main> <nav class="nav-wrapper" aria-label="Page navigation"> <!-- Mobile navigation buttons --> <a rel="prev" href="../Introduction.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left"> <i class="fa fa-angle-left"></i> </a> <a rel="next prefetch" href="../manual/Installing/Packages.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right"> <i class="fa fa-angle-right"></i> </a> <div style="clear: both"></div> </nav> </div> </div> <nav class="nav-wide-wrapper" aria-label="Page navigation"> <a rel="prev" href="../Introduction.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left"> <i class="fa fa-angle-left"></i> </a> <a rel="next prefetch" href="../manual/Installing/Packages.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right"> <i class="fa fa-angle-right"></i> </a> </nav> </div> <script> window.playground_line_numbers = true; </script> <script> window.playground_copyable = true; </script> <script src="../ace.js"></script> <script src="../editor.js"></script> <script src="../mode-rust.js"></script> <script src="../theme-dawn.js"></script> <script src="../theme-tomorrow_night.js"></script> <script src="../elasticlunr.min.js"></script> <script src="../mark.min.js"></script> <script src="../searcher.js"></script> <script src="../clipboard.min.js"></script> <script src="../highlight.js"></script> <script src="../book.js"></script> <!-- Custom JS scripts --> </div> </body> </html>
Simpan