It is far easier if you can install the package from your repo. Installing from source might be difficult now because partimage has not been actively developed for a while. The architecture you're using may have changed significantly since the last partimage version.