Sindbad~EG File Manager
<!DOCTYPE HTML>
<html lang="en" class="clamav sidebar-visible" 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" id="highlight-css" href="../highlight.css">
<link rel="stylesheet" id="tomorrow-night-css" href="../tomorrow-night.css">
<link rel="stylesheet" id="ayu-highlight-css" 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>
<!-- Provide site root and default themes to javascript -->
<script>
const path_to_root = "../";
const default_light_theme = "clamav";
const default_dark_theme = "clamav";
</script>
<!-- Start loading toc.js asap -->
<script src="../toc.js"></script>
</head>
<body>
<div id="body-container">
<!-- Work around some values being stored in localStorage wrapped in quotes -->
<script>
try {
let theme = localStorage.getItem('mdbook-theme');
let 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>
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
let theme;
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
if (theme === null || theme === undefined) { theme = default_theme; }
const html = document.documentElement;
html.classList.remove('clamav')
html.classList.add(theme);
html.classList.add("js");
</script>
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
<!-- Hide / unhide sidebar before it is displayed -->
<script>
let sidebar = null;
const 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';
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
</script>
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<!-- populated by js -->
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
<noscript>
<iframe class="sidebar-iframe-outer" src="../toc.html"></iframe>
</noscript>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
</div>
</nav>
<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-almalinux-fedora-opensuse-etc">RPM packages (for AlmaLinux, Fedora, openSUSE, etc.)</a></li>
<li><a href="#deb-packages-for-debian-ubuntu-etc">DEB packages (for Debian, Ubuntu, 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-almalinux-fedora-opensuse-etc"><a class="header" href="#rpm-packages-for-almalinux-fedora-opensuse-etc">RPM packages (for AlmaLinux, Fedora, openSUSE, etc.)</a></h4>
<p>These are compiled on AlmaLinux 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-etc"><a class="header" href="#deb-packages-for-debian-ubuntu-etc">DEB packages (for Debian, Ubuntu, 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>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists