如何在 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屋!
查看全文