How to install software in server without sudo

Last time I want to install the latest emacs on our linux server, cause Emacs can do a lot of things, write code, run R Ess, sending email, and tutorial It is easy to use sudo to handle the problem sudo apt-get install build-essential sudo apt-get build-dep emacs24 Unfortunately, it is always not that easy to install something on a public server, so that you need to build the package from source code.