I have installed a package from source, now I want to upgrade the older version to new version which is available.

How can I upgrade already installed source package on my system?

Ans : This question arises to all the admins who do installation from source package. To upgrade a source package follow the same steps to you have did at the time of first installation through source. Package as shown below..

Step1: unpack the new source code in tmp directory.

#cd /tmp
#tar xvfz packagname.tar.gz
#cd packagename
#./configure –prefix=/path/to/old/installation
#make check
#make install

Step2 : Now check what is the version if it’s updated to new version for example

If you install squid then execute below command

#squid -v