# for software built using make system
# get binary files use wget/curl/apt-get/etc.
wget <source>
apt-get source <pkg_name>
# unzip it using command unzip/tar/etc.
./configure --prefix=<path to install software>
make && make install
make clean
# set symbolic link for the software
ln -s <path to installed software> <path included in system paths>