ubuntu 使用apt-get install安装特定版本 (boost)

比如 安装libboost-atomic1.58,可以使用aptitude search boost |grep 1.58 查询

然后执行sudo apt-get install  libboost-atomic1.58-dev, 就可以进行安装了。

这样就完成了指定版本的安装。

注意:这个过程可能会报错

执行sudo apt install aptitude,就可以了。

猜你喜欢

转载自blog.csdn.net/guoguangwu/article/details/89245243