View Full Version : [ubuntu] [SOLVED] How to upgrade app from downloaded tar.gz

September 5th, 2008, 08:33 PM

How do I upgrade to a new version of an application downloaded as a tar archive and installed manually using configure / make / install etc?

I installed xmlcopyeditor- this way and now I need to replace it with xmlcopyeditor- I'm a bit lost -- while the app icon shows in my Applications menu I can't find it using Applications > Add/remove, neither is it in Synaptic (nor Aptitude so far as I can see), and if I try apt-get remove xmlcopyeditor-, it doesn't find the application.

Do I need to remove it in the first place or can I upgrade it in one step after downloading the new versions tar archive (only available as .tar.gz). How do I go about it?


father time
September 5th, 2008, 08:58 PM
Message Deleted.

September 5th, 2008, 10:03 PM
Thanks Father Time. Unfortunately that post only deals with retaining preferences, which I'm not concerned about. I know the developer would be helpful because he has been with other things, but I came to the Ubuntu forum because this was a general Linux question I hoped could be answered here.

I've found that to remove the app I could just use make uninstall as I still had the original installation directory. So I'll just do a fresh install of the new version -- just wondered whether there was a better way...

September 5th, 2008, 11:16 PM
Instead of make install, try using sudo checkinstall (it is installed via Synaptic) it will create a debian package file and it shows up in synaptic. I use it all the time. Only bad thing is depending how it's versioned, Ubuntu will notify you that it needs upgrading.

father time
September 5th, 2008, 11:17 PM
Message Deleted.