Search code examples
linuxubuntuinstallationapt-getlibuv

How to install libuv on ubuntu?


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?


Solution

  • 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!