在 Ubuntu 8.10 上安装 Libboost 1.38
有没有办法在 Ubuntu 8.10 上安装 Libboost 1.38? 我的存储库中的最高版本是 1.35。 有人建议我可以添加一些存储库来完成此任务,但我的搜索没有产生任何结果。
我必须求助于源代码吗? 如果是这样,实现这一目标的最佳方法是什么?
谢谢
Is there a way to Install Libboost 1.38 on Ubuntu 8.10? The highest version in my repositories is 1.35. It has been suggested that there may be some repositories I could add to accomplish this, but my searches haven't yielded anything.
Do I have to resort to source code? If so, what is the best way to accomplish this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以
You can either
在 Ubuntu 上,从源代码安装非常简单。 获取源代码、解压并运行这些命令:
或者,您可能希望获取 SVN HEAD,或者等待即将推出的 1.40。 然后,您可以删除除
install
之外的所有上述选项。 您可能需要查看 http://beta.boost.org 上的发行说明,看看即将进行的更改是否是“对于你的情况来说有风险”。On Ubuntu, installing from source is straightforward. Get source, unpack, and run these commands:
Alternatively, you may wish to grab SVN HEAD, or wait for upcoming 1.40. Then, you can drop all of the above options except for
install
. You may want to review release notes at http://beta.boost.org to see if upcoming changes are "risky" for your case.libboost1.37-dev
位于 Jaunty 存储库中。如果您必须拥有Boost 1.38,则必须自己从源代码编译它。
libboost1.37-dev
is in the Jaunty repository.If you must have Boost 1.38, you'll have to compile it from sources yourself.