How to install APMplanner2 under Debian 8.2?

I want to use apmplanner under debian8.2 .But I can’t install it using the apm_planner2_latest_debian64.deb package.The install message is like this:
(Reading database … 173885 files and directories currently installed.)
Preparing to unpack apm_planner2_latest_debian64.deb …
Unpacking apmplanner2 (2.0.14) …
dpkg-deb (subprocess): cannot copy archive member from ‘apm_planner2_latest_debian64.deb’ to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive apm_planner2_latest_debian64.deb (–install):
cannot copy extracted data for ‘./usr/share/APMPlanner2/files/images/patterns/frog.bmp’ to ‘/usr/share/APMPlanner2/files/images/patterns/frog.bmp.dpkg-new’: unexpected end of file or stream
Processing triggers for desktop-file-utils (0.22-1) …
Processing triggers for gnome-menus (3.13.3-6) …
Processing triggers for mime-support (3.58) …
Errors were encountered while processing:

I cant find the way to solve it .Please give me a hand.

You need to rebuild the code from source. The instructions are at

I try to do it but I can’t install qtdeclarative5-qtquick2-plugin.When I apt-get install ,there isn’t the name like that.Is there any source I should add or other reasons?

sudo apt-get install qt5-default should work. What does qmake -v in the terminal return

I find the way to solve it. Install qml-module-qtquick2 then it’s OK.Maybe they change the way to install qtquick2.
Thank you for your help.