I am answering this question under my knowledge .
you have to install build-essential to compile any package manually .
sudo apt-get install build-essential
Then you can configure your package with ./configure
Then make and sudo make install
But one more thing you have to remember is that package dependencies . If you are installing a package means those will obtained automatically ,if not
sudo apt-get install -f will do the job .
In the case of No internet connection , you have to collect all of them and thats a risky job , my opinion .
So if you want to install a package manually then you have to take care of the compilation tools nothing but build essential and dependencies of that package .
The above explanation applicable for any source packages .
But if you got builded packages directly i mean .DEB files then simply you can install them with
sudo dpkg -i filename.deb
and here also if dependencies issue may raise and you can take care of them with sudo apt-get install -f
If you got that package as a script(.sh) or binary file (.bin ) , the you can install with
chmod +x filenmae.sh
./filename.sh
for binary
chmod +x filename.bin
./filename.bin
dpkg? – Glutanimate Sep 19 '12 at 14:29