Fabiuz99 Fabiuz99 - 5 months ago 18
Linux Question

How to update programs built from source

can you tell me how to update programs installed with "sudo make install".
I'm asking if i have to uninstall the program and then redo "./autogen.sh" "make" "sudo make install".Someone say that I need to remove the program and then build it again after git pull, others say that i can simply reinstall it using the updated source.

Answer

That depends. If it simply minor update, just go for recompilation and make install.

If any changes in supplied libs and/or header files were done (e.g. they were renamed), you better uninstall software first to get rid of unneeded files on your filesystem.

Comments