Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get Vim JS lint plugin working under Ubuntu 12.04. The plugin requires the d8 command, which is an executable version of Google's v8 JavaScript Engine.

I do see a libv8 package, but that doesn't seem to either install d8 or at least, not put it on my path. The package is described as

libv8- - v8 JavaScript engine - runtime library

Is there any package that will install an executable version of the v8 engine, or do I just have to build it manually?

share|improve this question
Not exactly what you asked, but have a look at…. – lazy1 May 23 '12 at 17:22
@lazy1, I had seen that. I think d8 is the newer version of v8-shell. It gives an interactive shell that lets you run javascript commands. – James McMahon May 23 '12 at 17:27
If you follow the instructions at And run "make native", you'll have a d8 executable at out/native which you can copy to someplace in path. – lazy1 May 23 '12 at 17:38
@lazy1, Yeah I compiled it and got it up and running shortly after creating the question. I prefer to do things through APT if possible. – James McMahon May 23 '12 at 17:44
up vote 8 down vote accepted

I am going to take the lack of answers as a no.

It is not difficult to make and install v8 from Google's SVN repo.

All you need to do is check it out and make it.

svn checkout ./v8
cd v8
make builddeps
make native

Then inside the out/native directory there will be d8 binary, I just symlinked this to my /usr/local/bin.

share|improve this answer
if you change make dependencies to make builddeps, you won't need to have gclient built and installed. – Iain Ballard Aug 16 '14 at 11:00

Check out node-webkit, it works with major operating systems (Linux, Windows, Mac) - it's an app engine made from chromium and node.js.

share|improve this answer

This might help (it works on Debian):

12:38 ~ $ apt-cache search libv8;
libv8- - v8 JavaScript engine - runtime library
libv8-dbg - v8 JavaScript engine - debugging symbols
libv8-dev - v8 JavaScript engine - development files
libv8-i18n-dev - Native internationalization extension for libv8 - development files
libv8-i18n0.0.0 - Native internationalization extension for libv8 - runtime library
libv8-i18n0.0.0-dbg - Native internationalization extension for libv8 - debugging symbols

and choose one such as

12:39 ~ $ apt-get install libv8-
share|improve this answer
How to include it to a cpp script? – m93a Nov 17 '13 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.