ติดตั้ง Clamav บน Ubuntu

Add the repositories

Open your /etc/apt/sources.list file:

sudo gedit /etc/apt/sources.list 

and add the following lines to the end of the file:

# Ubuntu Muslim Edition deb http://www.ubuntume.com/repository feisty main

(replace ‘feisty’ with ‘edgy’ or ‘dapper’ depending on your ubuntu version)
You have to enable the ‘universe’ repository. Uncomment these lines:

deb http://archive.ubuntu.com/ubuntu/ feisty universe deb-src http://archive.ubuntu.com/ubuntu/ feisty universe

(replace ‘feisty’ with ‘edgy’ or ‘dapper’ depending on your ubuntu version)
You also have to enable the ‘backports’ repository to install java 1.6 ; uncomment these lines (or add them if they don’t exist):

deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

(replace ‘feisty-backports’ with ‘edgy-backports’ or ‘dapper-backports’ depending on your ubuntu version)

Save the file. Update your package cache:

sudo apt-get update

Check that you can see the new packages:

apt-cache search ubuntume

Install the package

:!: The ubuntuME package has only been tested on a fresh ubuntu installation. Install it at your own risks!

Execute the following command:

sudo apt-get install clamav