How to install libuv on ubuntu?

Hind Forsum picture Hind Forsum · Feb 11, 2017 · Viewed 17k times · Source

sudo apt-get install libuv

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

Is libuv included in some other packages?

Answer

csm picture csm · Feb 11, 2017

You can use apt-cache search to find packages. For example, on Ubuntu Yakkety the command apt-cache search libuv currently returns the following:

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

Make sure your package cache is up to date by first running apt-get update!