How to install Postgresql on Ubuntu from PPA with data-checksums enabled?
If you do not want to install and drop the cluster on Debian and related, you could:


Install postgresql-common;
Edit the /etc/postgresql-common/createcluster.conf file to allow the use of the --data-checksums option;
Install postgresql-9.6.