- Install and configure Postgres [https://library.linode.com/databases/postgresql/ubuntu-12.04-precise-pangolin]
- Download latest stable version of plv8 [https://code.google.com/p/plv8js/wiki/PLV8]
- Extract plv8.zip and cd into it.
- sudo apt-get install subversion
- sudo make static
- Copy plv8.so to /usr/lib/postgres/9.1/lib
- Copy plv8--(version).sql and plv8.control to /usr/share/postgres/9.1/extension
- psql -d dbName
- CREATE EXTENSION plv8;
- Repeat 6-8 for plls (livescript) and plcoffee (coffeescript) if required
Created
June 1, 2013 15:56
-
-
Save asleepysamurai/5690830 to your computer and use it in GitHub Desktop.
Install plv8 on Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for postgres 16
sudo apt install libtinfo5 build-essential pkg-config libstdc++-12-dev cmake git postgresql-server-dev-16 git clone https://github.com/plv8/plv8 cd plv8 git checkout tags/v3.2.2 make sudo make install
@thanderoy I know this is kinda too late for you, I shared it for others since this gist is pretty high ranking on google search.