请使用sudo apt-get命令安装libuv库。
$ sudo apt-get install libuv
[sudo] username ...
It fails to find package and install.
libuv是否包含在其他软件包中?
请使用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
命令以确保您的软件包缓存是最新的!
sudo add-apt-repository ppa:acooks/libwebsockets6
sudo apt-get update
sudo apt-get install libuv1.dev