Erase apk app after installing the app

hi everybody

to limit the distribution of an application I would like to know if we can delete the downloaded apk afer installation and how to do that ?

see here