How do I install certain applications on a server I have an Ubuntu server that uses netatalk by which I am able save files and backup to it. I want a way where the installation of an application in mac happens in the server and my mac is able to read the respective data from it. Till now I have not been able to do such a thing. Any idea?
It is likely that the file system in use on your Ubuntu server does not support all of the things that HFS+ does meaning that somethings just can't live on a different file system, applications and other types of package files spring to mind.

However a disk image file is designed to be a self contained archive that can transit all sorts of file systems. You could put a (read/write) .DMG file on your Linux server and then mount it across the network to your Mac and run your applications from there. Just remember that some (many?) apps are not designed to run in such a container and that many will want to write their preference files and the like to your local home directory.