【问题标题】:How to install libuv on ubuntu?如何在 ubuntu 上安装 libuv?
【发布时间】:2017-06-29 18:15:21
【问题描述】:

sudo apt-get install libuv

$ sudo apt-get install libuv
[sudo] username ...
It fails to find package and install.

libuv 是否包含在其他一些包中?

【问题讨论】:

标签: linux ubuntu installation apt-get libuv


【解决方案1】:

您可以使用apt-cache search 来查找包。例如,在 Ubuntu Yakkety 上,命令 apt-cache search libuv 当前返回以下内容:

libuv0.10 - asynchronous event notification library - runtime library
libuv0.10-dbg - asynchronous event notification library - debugging symbols
libuv0.10-dev - asynchronous event notification library - development files
libuv1 - asynchronous event notification library - runtime library
libuv1-dbg - asynchronous event notification library - debugging symbols
libuv1-dev - asynchronous event notification library - development files
lua-luv - libuv bindings for lua
lua-luv-dev - libuv bindings for lua

首先运行apt-get update,确保你的包缓存是最新的!

【讨论】:

    【解决方案2】:

    在 ubuntu 14.04 上安装 libuv。

    sudo add-apt-repository ppa:acooks/libwebsockets6
    sudo apt-get update
    sudo apt-get install libuv1.dev
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-19
      • 2017-11-07
      • 2017-07-12
      • 2011-09-24
      • 2011-11-06
      • 2020-01-27
      • 2014-01-07
      相关资源
      最近更新 更多