How to upgrade a package in linux that was built from source?

北城以北 提交于 2019-12-11 03:14:41

问题


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.



来源:https://stackoverflow.com/questions/4394718/how-to-upgrade-a-package-in-linux-that-was-built-from-source

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!