Downgrade 3.2.1 to 3.1.2

Hi .

how can i downgrade 3.2.1 to 3.1.2 ?

apt-get install phalcon=3.1.2 ?