This is WiP! This howto should once become a getting started for Debian based systems - tested on Debian 5.0 lenny.
This is work in progress doco for people who would like to install ASSP v2 on Debian based systems - this should also work for Ubuntu (LTS).
As of writing this has been done with:
This guide has been made with the former Howto for ASSP v1 on Debian/Ubuntu -> [Debian]
Additionally install: libemail-mime-perl libio-socket-inet6-perl (were mentioned in older howto)
aptitude install libthreads-perl libthreads-shared-perl libthread-queue-perl libio-socket-ssl-perl libio-compress-zlib-perl \ libdigest-md5-perl libemail-valid-perl libemail-mime-modifier-perl libfile-readbackwards-perl libwww-perl \ libnet-dns-perl libnet-smtp-server-perl libnet-smtp-ssl-perl libnet-smtpauth-perl libnet-ldap-perl libsys-syslog-perl \ libtie-dbi-perl libtime-hires-perl
aptitude install libschedule-cron-perl libemail-send-perl libfile-scan-perl libmime-types-perl libconvert-tnef-perl libmail-dkim-perl \ libnetaddr-ip-perl libmail-spf-query-perl libmail-spf-perl libmail-srs-perl libnet-cidr-lite-perl
For the packages missing in lenny you can download and manually install Packages from Debian unstable (squeeze) or use CPAN.
For Ubuntu you can use:
aptitude install libtext-glob-perl libnumber-compare-perl libcompress-zlib-perl libconvert-tnef-perl libdigest-md5-perl libdigest-sha1-perl libemail-mime-modifier-perl \ libemail-send-perl libemail-valid-perl libfile-readbackwards-perl libfile-scan-perl libwww-perl libmime-types-perl libmail-dkim-perl libmail-spf-query-perl libmail-spf-perl \ libmail-srs-perl libnet-cidr-lite-perl libnet-dns-perl libnet-ldap-perl libnet-smtp-server-perl libnet-smtp-ssl-perl libnet-smtpauth-perl libthreads-perl \ libthreads-shared-perl libtie-dbi-perl libtime-hires-perl libschedule-cron-perl libio-socket-ssl-perl libcrypt-cbc-perl libdbd-mysql-perl libyaml-perl libfile-find-rule-perl \ libfile-slurp-perl libfile-which-perl libfile-chmod-perl liblinux-usermod-perl libtext-pdf-perl libsmart-comments-perl libpdf-api2-perl libimage-magick-perl
For those really missing:
Before configure CPAN you should have installed the build-essential package.
aptitude install build-essential
... start cpan console and install the missing ones...
install cpan reload cpan
(optional, if you want to add Antivirus scanning to your ASSP) Anti-Virus's are very volatile, which is exactly the reason that the volatile Debian repository was built. See <http://www.debian.org/volatile/>. For this reason, we will want to turn on volatile so we can have a much more recent version of clamav. Check if you haven't already enabled volatile enabled in /etc/apt/sources.list, for e.g Debian lenny you need:
deb http://volatile.debian.org/debian-volatile lenny/volatile main
When done:
aptitude update aptitude install clamav clamav-daemon clamav-docs clamav-testfiles aptitude install arj unzoo unzip zip gzip bzip2 # Due to licensing not available for ClamAV archiv scans: unrar lha - both are non-free
clamav-daemon can die because the new virus database has not been issued. do a
tail -f /var/log/clamav/freshclam.log
until you see the virus databaes update, then start the daemon with
/etc/init.d/clamav-daemon start
test your install (unrar is non-free and at moment Debian Package clamav won't scan rar files):
clamscan /usr/share/clamav-testfiles/
chown -R nobody:nogroup /usr/share/assp
Wiki: Debian
Wiki: Perl_requirements_ASSP_version_2.x
Wiki: Specific_OS_QuickStarts