Thursday, September 23, 2010

Installing log2timeline on Ubuntu

Here is a script to ease installation of Kristinn Gudjonsson's Log2Timeline tool on Ubuntu hosts. Tested on Ubuntu Lucid 10.04.

############################################
# log2timeline_ubuntu_deps.sh
############################################
#!/bin/sh
sudo apt-get install libdigest-crc-perl libnetpacket-perl libparse-win32registry-perl libarchive-zip-perl libtimedate-perl libcarp-assert-perl libclass-dbi-perl libdatetime-perl libhtml-scrubber-perl libnet-pcap-perl libparams-validate-perl libimage-exiftool-perl libdbd-sqlite3-perl libdate-manip-perl libdatetime-format-strptime-perl
sudo perl -MCPAN -e 'install File::Mork'
sudo perl -MCPAN -e 'install Data::Hexify'

2 comments:

Unknown said...

or you could use the Debian repository that I set up.

Could use the initial script:

#!/bin/bash

# add source line in apt-sources
echo "deb http://log2timeline.net/pub/ lucid main" >> /etc/apt/sources.list

# get the GPG key and start trusting it
cd /tmp
wget http://log2timeline.net/gpg.asc
apt-key add gpg.asc




And then all you should need to do is:
apt-get update
apt-get install log2timeline-perl

This would install log2timeline, the latest released version, alongside all of its dependencies. And the tool would get updated with the normal OS upgrade (apt-get update/apt-get upgrade)

pinowudi said...

Great stuff! I looked for a repo, but didn't find it. It greatly simplifies things. Thanks!