如何升级在linux下一个包,从源代码构建? [英] How to upgrade a package in linux that was built from source?

查看:254
本文介绍了如何升级在linux下一个包,从源代码构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载的加速V1.42源,然后在我的笔记本电脑安装了它。我想升级他们V1.45(当前版本)。我想知道我可以通过命令行执行此操作。这个问题适用于从源代码编译和安装在Linux机器的任何软件包。

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.

任何帮助是极大AP preciated。

Any help is greatly appreciated.

干杯...

修改-1:我使用的是发行我的笔记本电脑的CentOS 5和Debian Lenny的我的电脑上

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

推荐答案

如果你是从源代码构建,那么就没有升级,因为没有地方软件的版本正在注册数据库的概念(一的软件包管理器的功能)。刚刚建立新的code完全按照你做了previous code。

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.

这篇关于如何升级在linux下一个包,从源代码构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆