如何在 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
当前 returns 如下:
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
!
在 ubuntu 14.04 上安装 libuv。
sudo add-apt-repository ppa:acooks/libwebsockets6
sudo apt-get update
sudo apt-get install libuv1.dev
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
当前 returns 如下:
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
!
在 ubuntu 14.04 上安装 libuv。
sudo add-apt-repository ppa:acooks/libwebsockets6
sudo apt-get update
sudo apt-get install libuv1.dev