Skip to content

Instantly share code, notes, and snippets.

@asleepysamurai
Created June 1, 2013 15:56
Show Gist options
  • Save asleepysamurai/5690830 to your computer and use it in GitHub Desktop.
Save asleepysamurai/5690830 to your computer and use it in GitHub Desktop.
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
@thanderoy
Copy link

@ArjixWasTaken Too late but thanks. For posterity now. 😄 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment