[embed_url: https://raw.githubusercontent.com/panticz/scripts/master/compile.smartmontools.sh]
check smartctl version
smartctl -VOld vesion
# Install required software
apt-get update
apt-get install -y subversion build-essential automake
# Get smartmontools from repository
svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools
# Compile
cd smartmontools
./autogen.sh
./configure
make
make install
Links
http://sourceforge.net/apps/trac/smartmontools/wiki/Download
http://sourceforge.net/projects/smartmontools/files/smartmontools/
http://sourceforge.net/apps/trac/smartmontools/wiki/Download#Installprecompiledpackage