Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 639
Hind Forsum Avatar asked Feb 11 '17 12:02

Hind Forsum


2 Answers

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!

like image 62
csm Avatar answered Oct 16 '22 10:10

csm


Install libuv on ubuntu 14.04 .

sudo add-apt-repository ppa:acooks/libwebsockets6
sudo apt-get update
sudo apt-get install libuv1.dev
like image 5
manish Avatar answered Oct 16 '22 10:10

manish