« Return to Thread: Updating programs was installed from source

Re: Updating programs was installed from source

by Anirudh Ramachandran :: Rate this Message:

Reply to Author | View in Thread

2009/7/8 Satish Vellanki <satish.vell@...>:

>
>
> On Tue, Jul 7, 2009 at 12:09 PM, Anirudh Ramachandran <pitbull.159@...
>> wrote:
>
>> Wireshark 1.2.0 stable released on June 15th. I currently have
>> 1.2.0pre1 which I compiled, built and installed from the source code.
>> I want to upgrade to the latest version after removing the version I
>> have currently. How do I do this?
>>
>> I use Ubuntu Jaunty.
>>
>> Anirudh R
>>
>>
>> ------------------------------------
>>
>> http://twincling.org/
>> http://twitter.com/twincling
>> ----------------------------------------
>> Yahoo! Groups Links
>>
>>
>>
>> Anirudh,
> See if your source code installation has an uninstall target in its Makefile
> You can run "make uninstall" from its source code directory
> Or if you know the list of files it copied, you can simply delete them
> Worse case, you can figure out the libraries and executable files its using
> when you run it and remove them
> Usually upgrades overwrite older versions, but it is good to remove old
> version to avoid any issues
>
> Hope this helps,
> Satish Vellanki

I used "make uninstall" and it worked. But I also found out that it is
better to use "checkinstall" than "make install", since checkinstall
creates package files and then installs them, so that the program is
in the registries.

Thanks, Satish. :)

>
> [Non-text portions of this message have been removed]
>
>



--
Anirudh R
(tarantinofan.wordpress.com)

"There nearly always is method in madness. It's what drives men mad,
being methodical."

 « Return to Thread: Updating programs was installed from source