May 262009
 

download the source code, unzip it and then compile it.

wget filelocation
tar -xzvf filename
cd newfolder
./configure
make
make install

wget http://voxel.dl.sourceforge.net/sourceforge/clamav/clamav-0.95.1.tar.gz
tar xzf clamav-0.95.1.tar.gz
cd clamav-0.95.1
./configure && make && make install

The ‘&&’ runs commands in a sequence one right after the other

So, technically you could install the software like this:

wget http://voxel.dl.sourceforge.net/sourceforge/clamav/clamav-0.95.1.tar.gz && tar xzf clamav-0.95.1.tar.gz && cd clamav-0.95.1 && ./configure && make && make install

If you install this all the time you could just convert it to a script like this:

touch claminstall.sh

vim claminstall.sh

(paste the following into the new file)

#!/bin/bash
wget http://voxel.dl.sourceforge.net/sourceforge/clamav/clamav-0.95.1.tar.gz && tar xzf clamav-0.95.1.tar.gz && chown -R root.root clamav-0.95.1 && cd clamav-0.95.1 && ./configure && make && make install

:wq to save

chmod +x claminstall.sh
then run
#./claminstall.sh

 Posted by at 8:52 am

 Leave a Reply