Main Menu

search

You are here

Linux: Anti-virus

[last updated: 2025-04-06]
...
-----


      On This Page:
  • ClamAV:
    Installation
    My History
    Scan your system
  • ...
  • ...


-----

  • Clamav:
    • Installation:

      -------------------------------------------

    • My History:
      • first attempts (not completely documented/recorded), unsuccessful, abandoned...
        $ sudo apt install clamav clamav-daemon
        $ sudo systemctl stop clamav-freshclam
        $ sudo freshclam
        $ sudo systemctl start clamav-freshclam
      • 2025-04-05:
        downloaded:
          clamav-1.4.2.linux.x86_64.deb
          clamav-1.4.2.linux.x86_64.deb.new_key.sig
          clamav-1.4.2.linux.x86_64.deb.sig


        installed:

          $ sudo apt install ~/Downloads/clamav-1.4.0.libnux.x86_64.deb
            Note this instruction is cut and pasted from (... link above), but has a typo,
            and should be ... 1.4.2.linux.x86 ...


          verify installation:

              $ apt info clamav

            However this command did not work. The 'info' parameter perhaps is not supported in my version.
            But this did work:

              $ sudo dpkg -s clamav

            and showed successful install.

        -------------------------------------------

      • Scan your system with ClamAV::
        • $ sudo clamscan -r –bell -i /
          -r: Recursive scan.
          –bell: Beep when a virus is found.
          -i: Only show infected files.
          Infected files will be listed in the terminal output.
        • or:
          $ clamscan --recursive /
          This executed, though gave error:
            "No such file or directory: /usr/local/share/clamav"

        -------------------------------------------

      • Links:
        https://fossies.org/linux/clamav/docs/html/manual/Usage/Scanning.html

      -------------------------------------------

    • other software...
      -------------------------------------------


    eof