How to enable sysstat from shell script in Ubuntu?

view story

http://serverfault.com – In Ubuntu, I can install sysstat using apt, e.g. apt-get install sysstat And then enable it via interactive prompt dpkg-reconfigure sysstat But I want automate the process using fully automated shell script, what command I can use? (HowTos)