Compile extundelete

DIST=$(lsb_release -cs)
echo "deb http://archive.ubuntu.com/ubuntu/${DIST} restricted main multiverse universe" > /etc/apt/sources.list.d/${DIST}.list
apt-get update
sudo apt-get install -y extundelete

#
# old
#
# install apps
sudo apt-get -y install build-essential e2fslibs-dev

# download
wget http://kent.dl.sourceforge.net/project/extundelete/extundelete/0.2.0/extundelete-0.2.0.tar.bz2 -P /tmp

# extract
tar xjf /tmp/extundelete-0.2.0.tar.bz2 -C /tmp

# compile
cd /tmp/extundelete-0.2.0
./configure
make
# make install

# restore files
/tmp/extundelete-0.2.0/src/extundelete /dev/sdc1 --restore-all