I'd recommend to try to install as root. I'm not sure what goes wrong as normally you should be able to install as user.

For Lazarus, there exists a Debian package, use it.