简体   繁体   English

Ubuntu:C ++ :: Boost库升级

[英]Ubuntu:C++::Boost library upgrade

After installing Boost library using Synaptic Package Manager, the version installed is 1.42 . 使用Synaptic Package Manager安装Boost库后,安装的版本为1.42

If I check on boost official website, the current version is: 1.45 . 如果我查看升级官方网站,目前的版本是: 1.45

How can I upgrade to 1.45 from Synaptic package manager? 如何从Synaptic包管理器升级到1.45?

Thanks in advance. 提前致谢。

You probably can not as the distribution usually lags behind. 你可能不会因为发行量通常落后。 The best option I usually follow is to just download and compile and install it myself as described here 我通常遵循的最好的办法是只需下载并编译和安装它自己的描述在这里

It has to be packaged first (by Ubuntu). 它必须首先打包(由Ubuntu)。

If you want to manually install the new version I would recommend that you install it into some local directory, since installing it into the system might break a lot of applications. 如果您想手动安装新版本,我建议您将其安装到某个本地目录中,因为将其安装到系统中可能会破坏许多应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM