...
build-essential
curl
cpanminus
git
pyzor
razor
subversion
libdb-dev
libdbi-dev
libidn11-dev
libidn2-dev
libmaxminddb-dev
libssl-dev
zlib1g-dev
poppler-utils
tesseract-ocr
libarchive-zip-perl
libberkeleydb-perl
libbsd-resource-perl
libdbi-perl
libdigest-sha-perl
libencode-detect-perl
libgeo-ip-perl
libgeoip2-perl
libio-compress-perl
libio-socket-inet6-perl
libio-socket-ssl-perl
libio-string-perl
libmail-dkim-perl
libmail-spf-perl
libnet-patricia-perl
libnet-dns-perl
libnetaddr-ip-perl
libfile-sharedir-install-perl
libtest-exception-perl
libregexp-common-perl
libxml-libxml-perl
libsocket6-perl
libsys-hostname-long-perl
libtest-pod-coverage-perl
libtest-pod-perl
libdbd-sqlite2-perl
libdbd-sqlite3-perl
libdevel-cycle-perl
libemail-address-xs-perl
libgeography-countries-perl
libtest-perl-critic-perl
libconfig-tiny-perl
libdbix-simple-perl
libemail-mime-perl
libemail-sender-perl
libemail-simple-perl
libnet-idn-encode-perl
libtest-file-sharedir-perl
libtest-output-perl
libnet-imap-simple-perl
libnet-smtps-perl
libtext-diff-perl
Install the following packages from CPAN which do not have equivalent apt packages on Ubuntu already.
The -S option causes the installation step to be run as root using sudo.
cpanm -S Digest::SHA1 IP::Country::DB_File IP::Country Mail::DMARC::PurePerl Net::LibIDN2 Razor2::Client::Agent \
Perl::Critic::Policy::Bangs::ProhibitBitwiseOperators Perl::Critic::Policy::Perlsecret \
Perl::Critic::Policy::Compatibility::ProhibitThreeArgumentOpen \
Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire \
Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection \
Perl::Critic::Policy::ControlStructures::ProhibitReturnInDoBlock
Install dcc from source: Get the source from the link at https://www.dcc-servers.net/dcc/ and
...
Initialize the razor installation by running once (not as root) after razor is installed
razor-admin --createcreate
razor-admin --register
Now that everything is installed, verify that you have a working build and test environment by downloading
the trunk svn working directory, build it, and run tests.
...
git clone https://github.com/tokuhirom/plenv.git ~/.plenv
git clone https://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/
echo 'export PATH="$HOME/.plenv/bin:$PATH"' >> ~/.profile
echo 'eval "$(plenv init -)"' >> ~/.profile
export PATH="$HOME/.plenv/bin:$PATH"
eval "$(plenv init -)"
plenv install 5.16.3
plenv rehash
plenv global 5.16.3
perl -v
plenv install-cpanm
cpanm HTML::Parser Net::DNS NetAddr::IP Archive::Zip BSD::Resource BerkeleyDB Compress::Zlib DBI DB_File Devel::Cycle \
Digest::SHA Digest::SHA1 DigestEmail::Address::SHA DB_File Mail::SPFXS Encode::Detect Encode::Detect::Detector \
Geo::IP GeoIP2 GeoIP2::Database::Reader Geography::Countries GeoHTML::IPParser IPHTTP::CountryCookies \
HTTP::DB_FileDaemon NetHTTP::CIDRDate HTTP::LiteNegotiate \
IO::Socket::INET6 IO::Socket::SSL Mail::DKIM DBIIO::String \
IP::Country IP::Country::DB_File LWP::Protocol::https LWP::UserAgent HTTPMail::DateDKIM \
EncodeMail::DMARC::DetectPurePerl Math::Detector NetInt128 MaxMind::DB::Reader::PatriciaXS Net::DNSCIDR::NameserverLite BSDNet::ResourceDNS \
ArchiveNet::DNS::ZipNameserver CompressNet::ZlibLibIDN IONet::String BerkeleyDB BSD::Resource DBI Encode::Detect \
Mail::DKIMLibIDN2 Net::Patricia Net::Works::Network NetAddr::IP \
Params::Validate Razor2::Client::Agent Sys::Hostname::Long Test::PodPerl::CoverageCritic Test::Pod HTTP\
Test::Daemon HTTPPod::CookiesCoverage \
WWW::RobotRules HTTPText::NegotiateDiff LWP\
Perl::UserAgent LWPCritic::ProtocolPolicy::https ParamsBangs::Validate GeoIP2 \
DevelProhibitBitwiseOperators Perl::SawAmpersand MailCritic::DMARCPolicy::PurePerl Devel::Cycle Email::Address::XSPerlsecret \
Perl::Critic::Policy::Compatibility::ProhibitThreeArgumentOpen \
GeographyPerl::Countries IPCritic::Country MathPolicy::Int128 NetLax::WorksProhibitStringyEval::NetworkExceptForRequire Net::LibIDN2 \
Razor2Perl::ClientCritic::Agent NetPolicy::LibIDN MaxMindValuesAndExpressions::DBPreventSQLInjection \
Perl::ReaderCritic::XS TestPolicy::PerlControlStructures::CriticProhibitReturnInDoBlock
cpanm Mail::SPF -n --install-args="--install_path sbin=$HOME/bin"
...