繁体   English   中英

如何在Ubuntu上安装libuv?

[英]How to install libuv on ubuntu?

sudo apt-get安装libuv

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

libuv是否包含在其他软件包中?

您可以使用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来确保软件包缓存是apt-get update

在ubuntu 14.04上安装libuv。

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

暂无
暂无

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

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