How to install and use the Mac Ports Package.


Snow Leopard UPDATE

I have good news and bad news.
WireShark And Snow, yeaaa !

PRE-FLIGHT:

IN-FLIGHT:

POST-FLIGHT:
  1. I have made two scripts (clamAV-scripts.zip) that will help you learn how to use and update it.
    It is located in my FREE TOOLS area.
  2. OK now that you just installed clamav, to check its version number do, port installed | grep clamav

  3. Wanna see what Apple Mac Viruses it can detect ?


  4. To see ALL the ports you have already installed, type:
    port installed

  5. To update your entire ports collection, just do:
    sudo port -d selfupdate

  6. And to upGRADE just one package you have already installed, like clamav, all you have to do is:
    sudo port upgrade clamav
    Cool Eh ?

  7. And if you are REAL BRAVE and have some extra CPU cycles to spare,
    why not upgrade EVERYTHING THAT IS OLD via,
    sudo port upgrade outdated

  8. Or maybe you want to UNinstall a port, first see if you have more then one copy via,
    port installed |grep clamav
    You might get a few:
    clamav @0.88.1_0
    clamav @0.88.2_0

    Then issue
    sudo port uninstall clamav @0.88.1_0
    , and then
    sudo port uninstall clamav @0.88.2_0

    Now that was not so bad, was it ?

  9. Do not think it is bad having more then one copy of a package ?
    Sometimes the new one does not WORK!!!
    All you need to do is uninstall the bad one and activate the older one that worked !
    sudo port activate clamav @0.88.2_0
    You can DEactivate one too,
    sudo port deactivate clamav @0.88.2_0

  10. If you get a funny error message when you use freshclam for the FIRST time like this:
    ERROR: getfile: Can't create new file /opt/local/share/clamav/clamav-962bdeec86fc85c67281856722282487 in /opt/local/share/clamav
    - Do not worry, just do this:
    sudo chown -R clamav /opt/local/share/clamav
    sudo chgrp -R clamav /opt/local/share/clamav
    sudo chmod -R 755 /opt/local/share/clamav


NOTES:

And for all you GUI people,


back

© Gary Sullivan Maintainer of this page.
The URL of this page is:
http://www.hackerskitchen.com/mac-old/cvs-how-to.html
Constructive Comments and Suggestions are welcome.

Hello

Go Home