如何在Ubuntu上安装Boost [英] How to install Boost on Ubuntu
本文介绍了如何在Ubuntu上安装Boost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Ubuntu上,我想安装Boost.我尝试过
I'm on Ubuntu, and I want to install Boost. I tried with
sudo apt-get install boost
但是没有这样的软件包.在Ubuntu上安装Boost的最佳方法是什么?
But there was no such package. What is the best way to install Boost on Ubuntu?
推荐答案
您可以使用apt-get
命令(需要sudo
)
You can use apt-get
command (requires sudo
)
sudo apt-get install libboost-all-dev
或者您可以致电
aptitude search boost
找到所需的软件包,并使用apt-get
命令安装它们.
find packages you need and install them using the apt-get
command.
这篇关于如何在Ubuntu上安装Boost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文