How to upgrade a package in linux that was built f

2019-07-15 15:43发布

问题:

I downloaded Boost v1.42 source and then installed it in my laptop. I want to upgrade them to v1.45 (the current release). I would like to know how I can do this via command line. This question applies to any package built from source and installed in a Linux machine.

Any help is greatly appreciated.

Cheers...

EDIT-1: The distro I am using is CentOS 5 on my laptop and Debian Lenny on my PC.

回答1:

if you are building from source, then there is no concept of "upgrading" as there is no database where the version of the software is being registered (one of the features of a package manager). just build the new code exactly as you did the previous code.