Install postgresql. Why is initdb unavailable?
Posted
by
Starkers
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Starkers
Published on 2013-11-05T21:20:28Z
Indexed on
2013/11/05
22:12 UTC
Read the original article
Hit count: 283
postgresql
|database
I'm following these instructions, however I can only get to step 17.2.
Despite installing postgresql successfully via the
sudo apt-get install postgresql
command, upon running
initdb -D /usr/local/pgsql/data
Ubuntu tells me that it 'initdb' isn't installed. The instructions tell me this command is installed by
sudo apt-get install postgresql
so what's going on? I can make initdb available by installing postgres-xc, but I think postgres-xc is just some weird third party rubbish, and it's not detailed in the instructions. Any ideas?
© Ask Ubuntu or respective owner