Compile smartmontools

wget https://raw.githubusercontent.com/panticz/scripts/master/compile.smartmontools.sh -O - | bash -

#!/bin/bash

sudo apt-get update
sudo apt-get -y install build-essential

# download
wget http://heanet.dl.sourceforge.net/project/smartmontools/smartmontools/6.2/smartmontools-6.2.tar.gz -P /tmp/

# extract
tar xzf /tmp/smartmontools-*.tar.gz -C /tmp/
cd /tmp/smartmontools-*

# compile
./configure
make

# install
sudo make install

check smartctl version
smartctl -V

Links
http://sourceforge.net/projects/smartmontools/files/smartmontools/ - sorce code download
http://sourceforge.net/apps/trac/smartmontools/wiki/Download#Installprecompiledpackage