Installazione Clamav in Debian: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
mNo edit summary
Line 19: Line 19:


== Installazione ==
== Installazione ==
  sudo apt-get update && sudo apt-get upgrade && sudo apt-get install clamav clamav-daemon
  sudo aptitude update && \
sudo aptitude dist-upgrade && \
sudo aptitude install clamav-daemon


== Installazione decompressori ==
== Installazione decompressori ==
  sudo apt-get install unrar-free arj unzip unace
  sudo apt-get install unrar-free arj unzip unace

Revision as of 09:57, 21 October 2010

Aggiunta fonte Apt

  • Aggiungere la fonte, se non già presente:
if (grep -q volatile /etc/apt/sources.list)
then 
  echo "Volatile source is already present. Check it:"
  cat /etc/apt/sources.list | grep volatile
else
   sudo cat | sudo tee -a /etc/apt/sources.list > /dev/null  <<EOFile
deb http://volatile.debian.org/debian-volatile  lenny/volatile   main contrib non-free
EOFile

  echo "Volatile source added. Check it:"
  cat /etc/apt/sources.list | grep volatile
fi


Installazione

sudo aptitude update && \
sudo aptitude dist-upgrade && \
sudo aptitude install clamav-daemon

Installazione decompressori

sudo apt-get install unrar-free arj unzip unace