How To Upgrade An Installed Source Package?


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
#make check
#make install


Step2 : Now check what is the version if its updated to new version for example


If you install squid then execute below command


#squid -v



  • Like the post? Please Subscribe to free RSS feed to get updates
  • Related Posts by Categories



    0 comments:

    Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here