BDonTJ

Installing ClamAV on iMac

Apr 10th, 2024
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.92 KB | None | 0 0
  1. Last login: Wed Apr 10 20:52:57 on ttys000
  2. davidbrooks@Davids-iMac ~ % brew install clamav
  3. ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:02180ca8b8295422ae84921bcf034b7ee8ce5575488bd5e6a37a192e53cd5d34
  4. ######################################################################### 100.0%
  5. ==> Pouring portable-ruby-3.1.4.el_capitan.bottle.tar.gz
  6. ==> Auto-updating Homebrew...
  7. Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
  8. HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
  9. fatal: cannot force update the branch 'master' checked out at '/usr/local/Homebrew'
  10. ==> Homebrew collects anonymous analytics.
  11. Read the analytics documentation (and how to opt-out) here:
  12. https://docs.brew.sh/Analytics
  13. No analytics have been recorded yet (nor will be during this `brew` run).
  14.  
  15. ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  16. https://github.com/Homebrew/brew#donations
  17.  
  18. ==> Auto-updated Homebrew!
  19. Updated 2 taps (homebrew/core and homebrew/cask).
  20. ==> New Formulae
  21. ffmpeg@6 liblc3 rustcat
  22. ==> New Casks
  23. boltai ente-auth hhkb-studio outfox toneprint
  24.  
  25. ==> Downloading https://ghcr.io/v2/homebrew/core/clamav/manifests/1.3.0
  26. ######################################################################### 100.0%
  27. ==> Fetching dependencies for clamav: json-c, ca-certificates, openssl@3, pcre2, jansson, libmagic, abseil, jsoncpp, protobuf, protobuf-c and yara
  28. ==> Downloading https://ghcr.io/v2/homebrew/core/json-c/manifests/0.17
  29. ######################################################################### 100.0%
  30. ==> Fetching json-c
  31. ==> Downloading https://ghcr.io/v2/homebrew/core/json-c/blobs/sha256:6964da23ee0
  32. ######################################################################### 100.0%
  33. ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2024-
  34. ######################################################################### 100.0%
  35. ==> Fetching ca-certificates
  36. ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:ca
  37. ######################################################################### 100.0%
  38. ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.2.1-2
  39. ######################################################################### 100.0%
  40. ==> Fetching openssl@3
  41. ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:6bf725d8
  42. ######################################################################### 100.0%
  43. ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.43
  44. ######################################################################### 100.0%
  45. ==> Fetching pcre2
  46. ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:1eb4d125dca3
  47. ######################################################################### 100.0%
  48. ==> Downloading https://ghcr.io/v2/homebrew/core/jansson/manifests/2.14
  49. ######################################################################### 100.0%
  50. ==> Fetching jansson
  51. ==> Downloading https://ghcr.io/v2/homebrew/core/jansson/blobs/sha256:b797c629e5
  52. ######################################################################### 100.0%
  53. ==> Downloading https://ghcr.io/v2/homebrew/core/libmagic/manifests/5.45
  54. ######################################################################### 100.0%
  55. ==> Fetching libmagic
  56. ==> Downloading https://ghcr.io/v2/homebrew/core/libmagic/blobs/sha256:81ae0df79
  57. ######################################################################### 100.0%
  58. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/manifests/20240116.2
  59. ######################################################################### 100.0%
  60. ==> Fetching abseil
  61. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/blobs/sha256:98ccb8fc65d
  62. ######################################################################### 100.0%
  63. ==> Downloading https://ghcr.io/v2/homebrew/core/jsoncpp/manifests/1.9.5
  64. ######################################################################### 100.0%
  65. ==> Fetching jsoncpp
  66. ==> Downloading https://ghcr.io/v2/homebrew/core/jsoncpp/blobs/sha256:68fe5f2b8a
  67. ######################################################################### 100.0%
  68. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/manifests/26.1
  69. ######################################################################### 100.0%
  70. ==> Fetching protobuf
  71. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/blobs/sha256:a9dd7c946
  72. ######################################################################### 100.0%
  73. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf-c/manifests/1.5.0_4
  74. ######################################################################### 100.0%
  75. ==> Fetching protobuf-c
  76. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf-c/blobs/sha256:b36607c
  77. ######################################################################### 100.0%
  78. ==> Downloading https://ghcr.io/v2/homebrew/core/yara/manifests/4.5.0
  79. ######################################################################### 100.0%
  80. ==> Fetching yara
  81. ==> Downloading https://ghcr.io/v2/homebrew/core/yara/blobs/sha256:4309b879b81ae
  82. ######################################################################### 100.0%
  83. ==> Fetching clamav
  84. ==> Downloading https://ghcr.io/v2/homebrew/core/clamav/blobs/sha256:78e0a282d0c
  85. ######################################################################### 100.0%
  86. ==> Installing dependencies for clamav: json-c, ca-certificates, openssl@3, pcre2, jansson, libmagic, abseil, jsoncpp, protobuf, protobuf-c and yara
  87. ==> Installing clamav dependency: json-c
  88. ==> Downloading https://ghcr.io/v2/homebrew/core/json-c/manifests/0.17
  89. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/c0d90f03b4c2407a1e5617d31b9961f7c679c8561138594812627e3d36432148--json-c-0.17.bottle_manifest.json
  90. ==> Pouring json-c--0.17.ventura.bottle.tar.gz
  91. 🍺 /usr/local/Cellar/json-c/0.17: 33 files, 335.6KB
  92. ==> Installing clamav dependency: ca-certificates
  93. ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2024-
  94. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/c431e0186df2ccc2ea942b34a3c26c2cebebec8e07ad6abdae48447a52c5f506--ca-certificates-2024-03-11.bottle_manifest.json
  95. ==> Pouring ca-certificates--2024-03-11.all.bottle.tar.gz
  96. ==> Regenerating CA certificate bundle from keychain, this may take a while...
  97. 🍺 /usr/local/Cellar/ca-certificates/2024-03-11: 3 files, 229.6KB
  98. ==> Installing clamav dependency: openssl@3
  99. ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.2.1-2
  100. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/3ca6581909013d049a9057efc21209ed0908605e22bf75147bfc1b836ec3e239--openssl@3-3.2.1-2.bottle_manifest.json
  101. ==> Pouring [email protected]
  102. 🍺 /usr/local/Cellar/openssl@3/3.2.1: 6,874 files, 32.5MB
  103. ==> Installing clamav dependency: pcre2
  104. ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.43
  105. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/4c12870adcfbf27eeeae4f44a420311ca3449f06a2fd8f6fcfe3d13db18087b4--pcre2-10.43.bottle_manifest.json
  106. ==> Pouring pcre2--10.43.ventura.bottle.tar.gz
  107. 🍺 /usr/local/Cellar/pcre2/10.43: 234 files, 6.6MB
  108. ==> Installing clamav dependency: jansson
  109. ==> Downloading https://ghcr.io/v2/homebrew/core/jansson/manifests/2.14
  110. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/dcf5fb966d90746cd91204b1e9c96d935d2541ea00ccc8209f6017f684e838cd--jansson-2.14.bottle_manifest.json
  111. ==> Pouring jansson--2.14.ventura.bottle.tar.gz
  112. 🍺 /usr/local/Cellar/jansson/2.14: 11 files, 209.7KB
  113. ==> Installing clamav dependency: libmagic
  114. ==> Downloading https://ghcr.io/v2/homebrew/core/libmagic/manifests/5.45
  115. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/7009258ae720f4578934a2b2ec9ba7c36fb181470926eb7db67f0f49121becfb--libmagic-5.45.bottle_manifest.json
  116. ==> Pouring libmagic--5.45.ventura.bottle.tar.gz
  117. 🍺 /usr/local/Cellar/libmagic/5.45: 356 files, 10.2MB
  118. ==> Installing clamav dependency: abseil
  119. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/manifests/20240116.2
  120. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/47218ab8136b8ced1e6572c4a2b00e1fb13ae7163bf59d48f27460f6dd5dc87c--abseil-20240116.2.bottle_manifest.json
  121. ==> Pouring abseil--20240116.2.ventura.bottle.tar.gz
  122. 🍺 /usr/local/Cellar/abseil/20240116.2: 747 files, 9.2MB
  123. ==> Installing clamav dependency: jsoncpp
  124. ==> Downloading https://ghcr.io/v2/homebrew/core/jsoncpp/manifests/1.9.5
  125. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/61fb7cb7b03533b1884f5de81b3b44a2e6edc058e8a87de7be462305888460c0--jsoncpp-1.9.5.bottle_manifest.json
  126. ==> Pouring jsoncpp--1.9.5.ventura.bottle.tar.gz
  127. 🍺 /usr/local/Cellar/jsoncpp/1.9.5: 18 files, 282.2KB
  128. ==> Installing clamav dependency: protobuf
  129. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/manifests/26.1
  130. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/2ac29f4e7b4b6362b7c7a609310d58f64ea08b1fc8972cd0e485de66aad28b7f--protobuf-26.1.bottle_manifest.json
  131. ==> Pouring protobuf--26.1.ventura.bottle.tar.gz
  132. 🍺 /usr/local/Cellar/protobuf/26.1: 297 files, 11.7MB
  133. ==> Installing clamav dependency: protobuf-c
  134. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf-c/manifests/1.5.0_4
  135. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/c4dcf4a90e9574ac58a5c56dab67f1ea3d3382190f22e93b68c6bcc4979c9424--protobuf-c-1.5.0_4.bottle_manifest.json
  136. ==> Pouring protobuf-c--1.5.0_4.ventura.bottle.tar.gz
  137. 🍺 /usr/local/Cellar/protobuf-c/1.5.0_4: 14 files, 465.8KB
  138. ==> Installing clamav dependency: yara
  139. ==> Downloading https://ghcr.io/v2/homebrew/core/yara/manifests/4.5.0
  140. Already downloaded: /Users/davidbrooks/Library/Caches/Homebrew/downloads/a7062b921d1e50a65d341354324676b0d01b319443a1e3253e0e8f956a73eccd--yara-4.5.0.bottle_manifest.json
  141. ==> Pouring yara--4.5.0.ventura.bottle.tar.gz
  142. 🍺 /usr/local/Cellar/yara/4.5.0: 48 files, 1.7MB
  143. ==> Installing clamav
  144. ==> Pouring clamav--1.3.0.ventura.bottle.tar.gz
  145. ==> Caveats
  146. To finish installation & run clamav you will need to edit
  147. the example conf files at /usr/local/etc/clamav/
  148.  
  149. To start clamav now and restart at startup:
  150. sudo brew services start clamav
  151. Or, if you don't want/need a background service you can just run:
  152. /usr/local/opt/clamav/sbin/clamd --foreground
  153. ==> Summary
  154. 🍺 /usr/local/Cellar/clamav/1.3.0: 186 files, 42.4MB
  155. ==> Running `brew cleanup clamav`...
  156. Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
  157. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
  158. ==> Caveats
  159. ==> clamav
  160. To finish installation & run clamav you will need to edit
  161. the example conf files at /usr/local/etc/clamav/
  162.  
  163. To start clamav now and restart at startup:
  164. sudo brew services start clamav
  165. Or, if you don't want/need a background service you can just run:
  166. /usr/local/opt/clamav/sbin/clamd --foreground
  167. davidbrooks@Davids-iMac ~ % sudo brew services start clamav
  168. Password:
  169. ==> Tapping homebrew/services
  170. Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'...
  171. remote: Enumerating objects: 2793, done.
  172. remote: Counting objects: 100% (486/486), done.
  173. remote: Compressing objects: 100% (197/197), done.
  174. remote: Total 2793 (delta 312), reused 398 (delta 282), pack-reused 2307
  175. Receiving objects: 100% (2793/2793), 753.99 KiB | 11.09 MiB/s, done.
  176. Resolving deltas: 100% (1349/1349), done.
  177. Tapped 1 command (48 files, 933.6KB).
  178. Warning: Taking root:admin ownership of some clamav paths:
  179. /usr/local/Cellar/clamav/1.3.0/sbin
  180. /usr/local/Cellar/clamav/1.3.0/sbin/clamd
  181. /usr/local/opt/clamav
  182. /usr/local/opt/clamav/bin
  183. /usr/local/opt/clamav/sbin
  184. /usr/local/var/homebrew/linked/clamav
  185. This will require manual removal of these paths using `sudo rm` on
  186. brew upgrade/reinstall/uninstall.
  187. ==> Successfully started `clamav` (label: homebrew.mxcl.clamav)
  188. davidbrooks@Davids-iMac ~ %
  189.  
Advertisement
Add Comment
Please, Sign In to add comment