Software is always installed as root user with apt or aptitude, otherwise the software packages are not able to create all nescessary config files and are not able to create the system users that they use at runtime.