Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install plv8 on Ubuntu
  1. Install and configure Postgres [https://library.linode.com/databases/postgresql/ubuntu-12.04-precise-pangolin]
  2. Download latest stable version of plv8 [https://code.google.com/p/plv8js/wiki/PLV8]
  3. Extract plv8.zip and cd into it.
  4. sudo apt-get install subversion
  5. sudo make static
  6. Copy plv8.so to /usr/lib/postgres/9.1/lib
  7. Copy plv8--(version).sql and plv8.control to /usr/share/postgres/9.1/extension
  8. psql -d dbName
  9. CREATE EXTENSION plv8;
  10. Repeat 6-8 for plls (livescript) and plcoffee (coffeescript) if required
@benjie

This comment has been minimized.

Copy link

benjie commented Apr 9, 2016

On modern ubuntu: sudo apt-get install postgresql-9.5-plv8

@benjie

This comment has been minimized.

Copy link

benjie commented Sep 17, 2016

If you're on CircleCI; use Ubuntu 14.04 and this config: https://gist.github.com/benjie/588376004859b3699a6a181379e87f77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.